Sorting and Filtering Data in the SAP Analytics Cloud, Add-in for Microsoft Excel

Objective

After completing this lesson, you will be able to sort and filter in the SAP Analytics Cloud, add in for Microsoft Excel.

Sort Dimensions

There are three basic approaches to sorting dimension members:

  1. Default Order: Sorts based on the member order defined in the model
  2. Sort Ascending: Ascending sort by the currently selected dimension’s current member display type
  3. Sort Descending: Descending sort by the currently selected dimension’s current member display type
Sort dimensions dropdown for dimensions with the three options highlighted.

Sort Measures

You can sort measure data by values. If your table has multiple measures and you sort one, all other cells in the table are also affected by the sorting.

Filter

Active Filters in the Builder Panel

The Filter area in the Designer panel provides a quick overview of the filters currently applied to your table. For each dimension, the first 20 filtered members are displayed as a comma-separated list. You can see at a glance which members are active without opening the filter dialog.

Filter by Member

To filter members of a dimension, select the Filter icon in the Builder panel or choose + Add Filter in the Filter area of the Designer panel. This opens the Set Filter dialog.

You can also right-click directly on a cell in the table to access the SAP Analytics Cloud context menu. This menu lets you filter or exclude members for one or more dimensions simultaneously, without opening the Builder panel. Note that the context menu is not available on member property cells or data value cells.

Set Filter Dialog

Set filter dialog from the Filter icon of the member.

In the Set Filter dialog, you can:

  • Select all members or specific members.
  • Exclude a member by choosing the More ... option.Options for excluding a member.
  • Sort the selected members using the Table Sort option, where you can apply one of these sort options to the selected members:
    • Default Order
    • Sort Ascending
    • Sort Descending
    • Custom Order: You can define your own order in the Selected Members area that will be applied to the table. You can move members using the arrow icons or by dragging and dropping.
    Table Sort in the Set Filter dialog

Delete Filters

You can delete the dimension with a filter in the Rows and Columns areas. However, if you select the delete icon there, the dimension is removed from the table, but the filter state remains in the Filter area and is applied as a background filter.

If you want to remove the filter entirely, delete it from the Filter area.

Filter by ID or Description

Display Options

Using the More Options... icon, you can access Display Options to specify whether members are displayed and filtered by ID, Description or both.

Changing the Display to Description changes the ID values to a Description of the item in the cell.

Unbooked Data

Unbooked members are members for whom there is no measure value.

With Unbooked Data, you can show the unbooked members of the dimension to add them to your table. If you have already chosen to show unbooked data for a dimension in the panel, the toggle is switched on when you open the filter dialog, as in the example below.

Unbooked Data toggle is ticked, meaning unbooked data is displayed in the dimension

Search for Members

You can enter strings in the search box in the upper left area of the Set Filter dialog to search for members in the Available Members list. You can then select members from the search results list.

Set Filter dialog with Search bar highlighted.

You can refine your search by selecting one of the search options: Match Case and Whole Word Only.

Match Case and Whole Word Only in the Search field.

To see the complete list of the available members again, delete your search string.

Filter by Measure

The Filter by Measure option is available in the ribbon and provides two capabilities:

Rank

Ranking isolates the top or bottom records based on a measure. Select a data cell belonging to the measure you want to use for ranking, then choose Filter by Measure in the ribbon and select Rank. In the dialog, define whether you want the top or bottom values, the rank value, and the direction (in rows or in columns).

Cell D7 is selected, then Rank is pressed, opening the Create Top N dialog.

Filter by Value

Filtering by value lets you filter table rows or columns based on a specific measure value. You define conditions using an operator (for example, greater than, less than, or equal to) and a minum and maximum values. Multiple conditions are combined with an implicit "or" relationship. This feature is available for SAP Analytics Cloud models and SAP Datasphere data sources, but not in mass data entry mode.

Hierarchy Node Filters

When using dimensional hierarchies, you can filter on hierarchy nodes as well as individual members.

In the Filter dialog, select the specific level or levels you want to filter:

  • A square in the box indicates that not all children of the parent node are selected.
  • A checked box indicates the node is selected.
  • A blank box indicates the node is not selected.
Set Filter dialog with three checkbox options highlighted.

Summary

You should now be able to sort and filter data in the SAP Analytics Cloud, add-in for Microsoft Excel.