sc_get_groupby_rule()

This macro is used to retrieve the name of the Group By rule that is being used at this moment. The return value is a String containing the name of the rule.

 

Ex:

if (sc_get_groupby_rule() == "rule1")

{

[title] = "Sales X Region";

}