Sort Members in Tables (New Table Build Experience)

In SAP Analytics Cloud stories, you can change how dimension, account, or measure members are sorted. When there are multiple dimensions on a row or column, you can decide if you want to sort within the member groups, or sort the members and break the grouping on the rows or columns. You can also use value sorting to sort your table based on account or measure values.

You have the following options to sort dimension members in a table:
  • Default Order

  • A-Z (or Lowest to Highest)

  • Z-A (or Highest to Lowest)

  • Break Grouping

  • Value Sorting...

How to Sort Members in a Table

Prerequisites

The sort options are only available if you are allowed to change the sort order for a particular dimension.

Procedure

  1. In the table, select the dimension member header.
  2. Right-click the cell, select Sort Options, and then choose a sort order.

Results

After the sort order is applied, information about the sort is added to the table subtitle. The information includes the member that is sorted and one of the following icons to indicate the type of sort that was applied.

Icon

Description

Ascending sort

Descending sort

The Forecast Layout option applies a custom sort on the Version dimension, and displays the icon in the table's subtitle. To change the version sort order, you need to change your forecast layout options.

If you added an input control to the table, the input control selection will not affect the sort result unless you apply a value sort on the table instead. For more information, see How to Sort Tables Based on Account or Measure Values.

Break Grouping

About the Break Grouping Setting

When you have multiple dimensions in the rows or columns of your table and you sort on the innermost dimension, you can decide whether to keep the row or column sort results grouped together.

  • If Break Grouping is enabled, the sort will be applied to the selected column or row first. Dimensions in all other columns or rows will be sorted next, and may not remain in their original groupings.

  • If Break Grouping is not enabled, the sort is performed on the outer column or row first. The sorting takes place within member groups on the same axis.

Prerequisites for Using the Break Grouping Setting

You can change the Break Grouping setting in the following situations:

  • There are multiple dimensions in the rows or columns of your table.

  • You've selected the dimension header of an inner row or column dimension.

  • Ascending or descending sort has been applied.

Break Grouping is unavailable if the axis (that is, the row or column) that you want to sort has one or more of the following situations:
  • The axis has totals enabled.

  • The axis displays a hierarchy.

  • The axis contains a structure/cross calculation.

Example: Break Grouping Enabled or Disabled

You have a table with the dimensions Location and Product and the account Gross Margin. On Product you define the sort A-Z.

Break Grouping Setting Disabled

Break Grouping Setting Enabled

Table showing gross margin data by location and product. The product members are grouped for the different locations.

The Product dimension is sorted in ascending order within the member groups that result from the Location/Product combinations.

Table showing gross margin data by location and product. The product members are repeated for the different locations, but not grouped.

The Product dimension is sorted in ascending order without considering the member groups of the Location/Product combinations.

How to Sort Tables Based on Account or Measure Values

You can sort a table in your SAP Analytics Cloud stories by a measure or account and some specific dimensions to interpret the displayed data more efficiently.

Context

In a table, there can be multiple sorts on dimensions, but only one sort on measures or accounts.

Procedure

  1. Select a dimension value cell in a table.
  2. Right-click and then select Start of the navigation pathSort Options Next navigation step Value Sorting...End of the navigation path.

    The Create Value Sorting dialog appears.

  3. Under Order, choose Lowest to Highest or Highest to Lowest.
  4. Optional: Activate Break Grouping.
    For more information about the Break Grouping setting, see Break Grouping.
  5. Under Based On, select a measure member, account member, or input control from the drop down list.

    The preselected member is derived from the dimension value cell that you used to initiate value sorting.

    If you added an input control to the table, and you want the input control selection to affect the table sort, select the input control from the list.
  6. With dimensions on both axes, you can restrict the value sorting to rows or columns and select the members for each dimension of the chosen axis where sorting should be applied.

    The Restrict Sorting button is activated automatically.

    1. Decide to which axis you want to apply sorting: Keep the default selection on Columns or select Rows.
      The system automatically displays the related dimensions.
    2. Select members for the related dimensions.
    3. Optional: Remove dimensions, or add more dimensions you want to display and sort on the selected axis.
  7. Choose Set.

Results

The column or row is sorted in ascending or descending order. The sort will appear in the table subtitle, and can be removed by selecting (Close).

If you apply multiple sorts on the table, for example by adding sorting on dimension header cells, this information is displayed in the table subtitle. When you select this sorts information, you can remove the individual sorts or edit the value sorting.

Sorts panel showing two sorts applied: Gross Margin and Product, with edit and delete icons.