In some business scenarios, it is required to create a subtotal on a rank metric at a different level to the report attributes.
For example, in the following report, Revenue and its ranking are retrieved as seen below. The ranking Metric is broken by Category:

The Total for Sales Rank is displayed as a sum of ranks within each Category and this value is meaningless.
To show a subtotal, which has ranking of Category level as seen below, follow the steps in this Technical Note.





