Apply Advanced Filters

In SAP Analytics Cloud, Advanced Filtering lets you create story and page filters based on multiple dimensions by defining a set of logical conditions.

The dimensions used in Advanced Filtering can be filtered by using AND or OR conditions. These conditions can be set to Include or Exclude the data that satisfies the filter conditions.

You can apply advanced filters by creating dimension tuples. A dimension tuple consists of a condition which contains a number of dimension filters. If the dimension members are different the result will create an asymmetrical filter.

Currently, advanced filtering can be used with story and page filters.

The following operators can be used in advanced filtering:
Operator Description

AND

When all conditions are satisfied, the results will be filtered.

OR

When any condition is satisfied, results from every successful condition will be filtered.

Exclude AND

When all conditions are satisfied, the results will be excluded.

Exclude OR

When any condition is satisfied, the results from every condition will be excluded.

Creating Advanced Filters

Procedure

  1. In your story, apply a story or page filter.
    • For a story filter, select (Filters) on the top navigation panel. In the navigation panel, select (Add New Filter), and then select Advanced Filtering...

    • For a page filter, select Start of the navigation path (Input Control) Next navigation step Advanced Filtering...End of the navigation path on the top navigation panel.

  2. In the Set Conditions for Advanced Filter dialog, enter a name for your advanced filter.
  3. Under Conditions, start with an OR operator.
  4. Add AND operators directly under the top operator.

    Adding additional operators will determine the number of dimension tuples desired for the filter.

  5. Add the required dimensions beneath each AND condition, and define different members for each dimension.
  6. Determine which operators the viewer should have control to turn off and make sure Allow viewers to disable filter has a checkmark next to it.
    Each operator condition has a setting to allow users to disable the condition. When the story is opened in View Mode and the advanced filter token is selected, each operator has a checkbox and the viewer can choose to enable or disable the conditions within View Mode.
  7. Select OK to save the filter.

Examples

Example

Suppose you want to create a filter which will always exclude the historical plans or forecasts, but will also include the plans and forecasts of the selected or current period.
Chart before applying Advanced Filtering
  1. Set the outer operator to an OR.

  2. Create 2 inner AND operators.

  3. Add your Time & Version dimension to the AND operator.

  4. Define the member tuples for each operator, so that one tuple has Historical data + Actuals & the other one is Current period + Plan.

Chart after applying Advanced Filtering

Example

Suppose you have a chart showing multi-dimensional data (for example, all products in the major regional areas) and you want to filter different sets of products for each regional area.
Chart before Applying advanced Filtering
  1. Set the outer operator to Exclude OR – this will exclude data for each successful condition.

  2. Create 2 or more inner AND operators.

  3. Add your Region & Product dimension to each AND operator.

  4. In each adjacent operator define a different region + product tuple.

In this example, the first tuple will exclude Alcohol from California, the second tuple is going to exclude Juices from Nevada, and the third tuple is going to exclude Juices & Others from Oregon. Our chart will now show the specific product members of each region.

Chart after applying Advanced Filtering