Sort Measures and Dimensions in Charts
In SAP Analytics Cloud, you can sort measures and dimensions in charts, or you can use Break Grouping to change how measures and dimensions are sorted in a chart with multiple dimensions on the categories axis.
You can specify the sort order for data in your chart for measures and dimensions: alphabetical ascending or descending, highest to lowest, and so on. You can even sort on multiple dimensions within the chart.
How to Sort Measures and Dimensions in a Chart
-
On a canvas page, select a chart.
-
From the action menu ( ) select Sort.
-
Select the measure or dimension you want to sort and then choose one of the following options:
-
Direction: choose Ascending, Descending, Highest to Lowest, and so on.
-
Add Custom Order: in the dialog box, rearrange the members into the desired order.
-
How to Apply a Custom Sort Order
Sometimes neither ascending or descending (or highest to lowest) sort will give you the results that you want. In those situations, you can create a custom sort order.
-
On a canvas page, select a chart.
-
From the action menu ( ) select Sort, select the dimension that you want to sort, and then select Add Custom Order.
-
In the Create Custom Order dialog box, provide a name for the custom sort.
-
Drag the members to rearrange them.
-
(Optional) Select Preview to see how the members would be rearranged.
-
When you are finished, select Create.
The following options help you find members to use in your custom sort.
-
Search member: The member name will be highlighted in the list.
For multiple members that contain the same word, a number is added to the search results.
For a flat presentation, the search does the following:
-
If the member is further down, the search will scroll to that member and then highlight it.
-
All matching members will be highlighted and the search scrolls to the first matching member.
-
-
All: Shows all the data in the chart for the dimension.
For hierarchical data, it shows the top level of the hierarchy.
-
Visible: Shows what is currently visible in the chart for the dimension.
If you've drilled down in a hierarchy, you can only rearrange the members in the visible drill level.
Manage Custom Sort Orders
You can create multiple custom sort orders for each dimension in your chart, and you can apply one custom order per dimension.
-
Select .
-
Select the dimension and then select the custom order.
-
Select .
-
Select the dimension and then select the edit icon ( ) for the custom order.
-
When you've finished making changes, select Save.
-
Select .
-
Select the dimension and then select the edit icon ( ) for the custom order.
-
Select Delete.
A warning dialog will appear. Select Delete to remove the sort.
How to Use Advanced Sorting
Use advanced sorting when you want to sort on a measure that isn't included in the chart or you want to select a different structure.
-
On a canvas page, select a chart.
-
From the action menu ( ) select .
-
In the Advanced Sorting dialog, select an option for each field, and then select Apply.
How to Use Break Grouping in a Chart
When you have multiple dimensions on the categories axis, use Break Grouping to ignore the grouping order and change how the dimensions and measures are sorted.
The Break Grouping option is available to use on a multi-dimension chart if either a measure or the innermost dimension is sorted.
To enable or disable Break Grouping, from the chart action menu ( ) select .
Sort on Product (A-Z) with the Break Grouping Option Disabled
|
Region |
Product |
Income Statement (millions) |
|---|---|---|
|
New York State |
Basics |
0.63 |
|
New York State |
Juices |
16.97 |
|
New York State |
Soft drinks |
16.14 |
|
Ohio |
Basics |
0.06 |
|
Ohio |
Juices |
2.22 |
|
Ohio |
Soft drinks |
1.69 |
|
Pennsylvania |
Basics |
0.25 |
|
Pennsylvania |
Juices |
5.94 |
|
Pennsylvania |
Soft drinks |
7.24 |
Sort on Product (A-Z) with the Break Grouping Option Enabled
|
Region |
Product |
Income Statement (millions) |
|---|---|---|
|
New York State |
Basics |
0.63 |
|
Ohio |
Basics |
0.06 |
|
Pennsylvania |
Basics |
0.25 |
|
New York State |
Juices |
16.97 |
|
Ohio |
Juices |
2.22 |
|
Pennsylvania |
Juices |
5.94 |
|
New York State |
Soft drinks |
16.14 |
|
Ohio |
Soft drinks |
1.69 |
|
Pennsylvania |
Soft drinks |
7.24 |

