When your table contains dozens or hundreds of dimension members, identifying the most or least significant values takes time. Scrolling through a long list of products, regions, or customers to spot the top performers is not efficient. You need a way to immediately narrow the view to the members who matter most.
The Rank feature in the SAP Analytics Cloud, add-in for Microsoft Excel solves this problem. It filters your table to display only a specified number of the highest or lowest members, based on a measure of your choice. Instead of reviewing all records, you can focus on the top 5 customers by revenue or the bottom 3 products by gross margin - in a single action.

Applying a Rank in a Table
To apply a rank, start by selecting a data cell that belongs to the measure you want to rank by. The measure you select determines the basis for the ranking. For example, if you want to rank by Revenue, select a cell that contains a revenue value.
In the SAP Analytics Cloud tab, choose Filter by Measure, and then choose Rank.

In the Set Rank dialog, configure the following options:
- Rank Type
Select Top to display the highest-ranked members, or Bottom to display the lowest-ranked members.
- Rank Value
Enter the number of members you want to display. For example, enter 5 to show the top or bottom 5 members.
- Direction
Select Rows to rank the members on the row axis, or Columns to rank the members on the column axis.
Choose OK to confirm your settings. The table displays only the members that match your rank definition.
Viewing the Active Rank
After you apply a rank, the add-in displays a ranking chip at the top of the Builder tab in the Designer panel. This chip appears above the Rows and Columns sections and shows a summary of the active ranking - for example, Top 5 Gross Margin. It lets you confirm at a glance that a ranking is active.
This ranking chip is separate from the Filter section below it. The Filter section displays the dimension filters applied to your table. The ranking chip is a distinct element at the top of the Builder tab.
Applying a rank removes any value sorting that was previously applied to the same axis. You cannot combine ranking and value sorting on the same axis at the same time.
Removing a Rank from a Table
To remove a rank, open the Builder tab in the Designer panel. Locate the ranking chip displayed at the top of the tab. Choose the cross icon on the chip. The ranking is removed immediately, and the table returns to displaying all members.
Rank Behavior When You Modify Your Table
Once applied, the rank adapts automatically in some situations and is removed in others. Understanding this behavior helps you avoid unexpected results after you modify your table structure.
The ranking is kept:
- When you change the order of the dimensions in one of the axes.
- When you swap the axes. The direction in the definition is automatically changed in this case.
- When you add a dimension to the same axis (in the example, Rows).
- When you change the hierarchy in the same axis, like switching from a hierarchical view to a flat presentation.
- When you apply a member sorting.
The ranking is automatically deleted:
- When you add or remove a dimension to the other axis (in the example, Columns).
- When you change the hierarchy in the other axis, like switching from a hierarchical view to a flat presentation.
- When you apply value sorting.
Summary
Let's summarize what you've learned:
- Use Rank to display top or bottom members based on a selected measure.
- Configure rank type, value, and direction in the Set Rank dialog.
- Confirm active rankings through the ranking chip in the Builder tab.
- Remove a rank by deleting the ranking chip from the Builder tab.
- Ranking is kept or removed depending on table structure changes and sorting actions.