sc_format_num - This macro its used to format numerical values.

sc_get_groupby_rule -

This macro provides the name of the Group By rule running at the time.