TOPN
Rank your data based on a category for a particular measure, for example, you can display the top-performing region, based on revenue.
1. SETTOPN
Syntax
Arguments
CATEGORY_NAME - The category group within which to select the top range.
COLUMN_NAME - The measure used to select the top range.
VALUE - The number of top ranks to display.
BOOLEAN_ARG - Set to TRUE to enable ranking. Set to FALSE to disable ranking.
Example
2. SETBOTTOMN
Syntax
Arguments
CATEGORY_NAME - The category group within which to select the bottom range.
COLUMN_NAME - The measure used to select the bottom range.
VALUE - The number of bottom ranks to display.
BOOLEAN_ARG - Set to TRUE to enable ranking. Set to FALSE to disable ranking.
Example
3. SETTOPBOTTOMN
Syntax
Arguments
CATEGORY_NAME - The category group within which to select the top and bottom range.
COLUMN_NAME - The measure used to select the top and bottom range.
VALUE - The number of top and bottom ranks to display.
BOOLEAN_ARG - Set to TRUE to enable ranking. Set to FALSE to disable ranking.
Example
Last updated