Personalize Stories with Filters

When viewing an SAP Analytics Cloud story, you can modify both the story and page filter values, including how these values are displayed. You can also edit a story filter's configuration directly, without deleting and recreating it.

How to Display ID and Description in Filters and Input Controls

The filters in the story (including story, page, input control, or widget filters) usually show the description for dimension and measure values. In some systems, the ID is necessary for data searches, so you can change displayed values to show either the ID alone or a combination of ID and description.

Procedure

  1. In view mode for a story, select a story or page filter.
  2. Do one of the following:
    • If the filter is a story or widget filter, at the bottom of the filter, select Display As and then choose Description, ID, or ID and Description.

    • If the filter is an input control, select Start of the navigation path (More Options) Next navigation step  Display AsEnd of the navigation path and then choose Description, ID, or ID and Description.

How to Edit a Story Filter

You can edit an existing story filter directly, without deleting and recreating it.

This option is available in the following cases:
  • Pre-defined story filters where Allow Delete is enabled.

  • Story filters that you added yourself during your viewing session.

Procedure

  1. Open a story in View mode, select a story filter.
  2. Select Edit Filter.
  3. Change the filter settings as needed.
  4. Select OK.

Results

The story refreshes to reflect the updated filter.

Next Steps

To retain your changes, create a bookmark. For more information see Bookmark and Share Story Views.

How to Search in Filters and Input Controls

When searching in SAP Analytics Cloud story and page filters and in input controls, different search parameters return different results. You can use the wildcard character (*) to control how you search for your IDs or descriptions in story and page filters and in input controls. The placement of the wildcard character determines the search results.

Procedure

  1. In view mode for a story, in the Filters panel, select a story or page filter.
  2. Select Display As and then choose Description or ID.

    You can also choose ID and Description, but this option does not provide the best results for searching.

  3. In the search bar, choose the placement of the wildcard character (*) to control how you search for your IDs or descriptions.
  4. Select members from the list that appears.
  5. Select Replace to replace the existing filter list with the new selection, or Update to add the newly selected members to the existing filter list.
  6. Select Apply Selections to save your changes to the filter list.

How to Paste Values into Page Filters

In an SAP Analytics Cloud story, when you have a page filter that has a large number of values, you can find the specific values to display in your filter. If you have the list of values saved somewhere else, you can paste them in and update your filter.

Procedure

  1. Set up a text file with the values that you want to paste, one value per line. You can include both IDs and descriptions, but not on the same line.

    The values you paste must match the displayed format:

    • If you display ID and Description, paste in either ID or Description (but not both values for any one member).

    • If you display the member IDs, paste in ID values only; when displaying member descriptions, paste in description values only.

  2. Select a story or page filter.
  3. In the filter menu, select Paste Filter Values.
  4. Paste your list of values into the dialog box.
  5. Choose whether to Append the new values (keeping any members that were already selected) or Overwrite the list (which will clear selected members and then select those from the list).

Results

The filter is updated as is the chart or table that uses that filter. Only exact matches will be found, that is, exact spelling (not case-sensitive) or complete IDs. For example, if you are trying to find “AB3D7” and you paste in “AB3,” you will see a message stating that “AB3” could not be found.

How to Change the Orientation of the Filter Bar

When viewing a story, you can choose to use the story filter bar as a horizontal bar or as a vertical panel.

Procedure

  1. To display the filter panel, select the (Filter Panel) in view mode.
  2. Change the orientation of the filter panel:
    • To switch from the vertical panel to the horizontal bar, select (Pin to Top).

    • To switch from the horizontal bar to the vertical panel, select (Pin to Side).

  3. In the vertical orientation, do any of the following:
    1. Close the filter bar.
    2. Select (Add New Filter) to add story filters.
    3. Display your current story filters.
    4. Select to resize the width of the filter panel.
    5. Select (Pin to Top) to switch from the vertical panel to the horizontal bar.
  4. In the horizontal orientation, do any of the following:
    1. Select (Add New Filter) to add story filters.
    2. Display your current story filters.
      To find a filter that isn't currently visible, select See More Filters and then select your filter.
    3. Select (Pin to Side) to switch from the horizontal bar to the vertical panel.
    4. Close the filter bar.
  5. For certain filter types, you can select additional options listed at the bottom of the filter panel, such as Paste Filter Values or Display As.

Results

You can choose to show or hide the filter panel by selecting (Filter Panel). When the filter bar is hidden and you have story filters, the number of filters is displayed on the filter icon. If you would like the default filter bar orientation and visibility to be set differently, your story designer can update the settings. For more information, see Edit Filter Bar Settings.

Learn More...

The placement of the wildcard character determines the search results in filters.

Wildcard Characters in Filters

The following table shows you the search options and the expected search results:

Search parameters

Results

Example

a

Contains “a”.

Search: J

Result:
  • Janet Bury

  • Kiran Raj

a *

Starts with “a”.

Search: J *

Result:
  • Janet Bury

* a

Ends with “a”.

Search: *J

Result:
  • Kiran Raj

* a *

Contains “a”.

Search: *J *

Result:

  • Janet Bury

  • Kiran Raj

a*b

Starts with “a” and ends with “b”.

Search: L*d

Result:
  • Lois Wood

a*b*

Starts with “a” and contains “b”.

Search: J*n*

Result:
  • Janet Bury

  • John Frank

*a*b

Contains “a” and ends with “b”

Search: *n*r

Result:
  • John Minker

*a*b*

Contains “a” and “b”.

Search: *n*r*

Result:
  • Janet Bury

  • John Minker

Space of space

Contains the exact string, including leading and trailing spaces.

Search: space of space

Result:
  • Cost of Goods Sold

  • Other Cost of Goods Sold

  • Cost of Product

*(1..n)

(Multiple wildcard characters)

Contains the full list, as if there was no search.

Search: **

Result:
  • Janet Bury

  • Gary Dumin

  • James Frank

  • Lois Wood