SAP Knowledge Base Article - Public

3324996 - About All Members and All for Story/Page filters in SAP Analytics Cloud

Symptom

This article is used to explain the behavior about All Members and All for Story/Page filters in SAP Analytics Cloud, including:

  • When and where the two options could be used?
  • What will be stored with story metadata by selecting or unselecting them?
  • Will the change done in model be reflected in story based on the selection on them?

Environment

  • SAP Analytics Cloud, Enterprise Edition

Resolution

When and where the two options could be used?

  1. Log on to SAC tenant.
  2. Try to create a story.
  3. Apply a filter in one of these ways
    • For a story filter, select  (Story Filter/Prompt) on the top navigation panel. In the filter bar, select  (Add Story Filter/Prompt).
    • For a page filter, select  (Input Control) on the top navigation panel.
  4. Select the dimension you want to filter from the Add Story Filter/Prompt list.
  5. In the Set Filters dialog, you can select All Members from the Available Members area to automatically select all members in the dimension.
    • If selecting All Members option, a dynamic filter will be created to fetch the latest update  from model.
    • If selecting individual dimension members, a static filter is created to remember the member list from the time when the filter was created.
    • See more detail about Static vs. Dynamic Filters from help guide Story and Page Filters.
  6. Chose the Multiple Selection option or the Multiple Selection Hierarchy option to enable user toggle on and off each filter value.
  7. Select OK to create the filter.
    => By default, in the generated filter, you can find All option form its dropdown menu.
    => You can choose to hide the All option by disabling Show/Hide > Select All Option from menu options for the filter.
    => If you choose Single Selection option in step 5, All option won't be shown here because the filter in this case is used to select single value only.

What will be stored with story metadata by selecting or unselecting them?

Different properties will be stored into story metadata between Classic Design Experience (CDE) and Optimized Design Experience (ODE):

  • Classic Design Experience
    Design Time SelectionView time Selection

    dynamicLov

    possibleValues

    allLovSelectedanswers
    All MembersAlltrue[]true[]
    All MembersFiltered memberstrue[] [<Filtered members in View time>]

    Selected members

    All [<Selected members in Design Time>]true[<Selected members in Design Time>]
    Selected membersFiltered members [<Selected members in Design Time>] [<Filtered members in View time>]
    Note:  Design Time = Set Filters Dialog & View Time =  Generated Filter
  • Optimized Design Experience
    Design Time SelectionView time Selection

    lovInfo

    isAllSelected

    selectedValues

    All MembersAll true[]
    All MembersFiltered members false[<Filtered members in View time>]

    Selected members

    All[<Selected members in Design Time>]true[]
    Selected membersFiltered members[<Selected members in Design Time>]false[<Filtered members in View time>]

Conclusion

  • The selection in Design Time (Set Filters Dialog) will determine the scope of LoV (List of Values; possible values), on which user can filter by toggling on and off each value.
    • If selecting All members option, one dynamic LoV will be stored with story metadata, which will trigger one request to model to fetch the latest update.
    • If selecting individual dimension members, one static LoV including all selected members in design time will be stored with story metadata.
  • Within the scope of LoV selected in Design Time, users can choose the value(s) to be filtered in the view time.
    • If all possible values in the LoV (even it may be only one single value) are selected, the All option will be also selected automatically because it is the whole scope the user can filter, and All will be also shown in the filter title.
    • Meanwhile,  allLovSelected will be set to true in CDE mode while isAllSelected will be set to true in ODE mode.

Will the change done in model be reflected in story based on the selection on them?

Based on the selection in either Design Time (Set Filters Dialog) or View Time (Generated Filter), the change done in the model may be or not be reflected in the story.

Design Time SelectionView time SelectionTitle before changing

Changes in model:

  • dimension member descriptions 
  • Add member
  • Remove Member
  • etc.

For user only having access to specific member(s)

All MembersAllAll
  • Title is keeping 'All'
  • Reflected in LoV (dynamic)
  • Title is keeping 'All' because either allLovSelected(in CDE) or isAllSelected(in ODE) is true in story metadata
  • LoV (dynamic) will show the specific member(s) the user has access
All MembersFiltered members[<Filtered members in View time>]
  • Reflected on LoV (dynamic) only
  • Title (Static) still shows those members selected last time for filtering
  • LoV (dynamic) will show the specific member(s) the user has access
  • Title (Static) still shows those members selected last time for filtering

Selected members

AllAll
  • Title is keeping 'All'
  • Not reflected LoV (static)
  • Title is keeping 'All' because either allLovSelected(in CDE) or isAllSelected(in ODE) is true in story metadata
  • Not reflected LoV (static)
  • In CDE mode, one waring message is shown in the filter to indicate that there are some dimension members hidden for the user without authorization
  • In ODE mode, no warning message but those members on which user doesn't have authorization will be hidden.
     
Selected membersFiltered members[<Filtered members in View time>]
  • Not reflected on both Title and Lov (static) 
  • Not reflected on both Title and Lov (static) 
  • In CDE mode, one waring message is shown in the filter to indicate that there are some dimension members hidden for the user without authorization
    • In ODE mode, no warning message but those members on which user doesn't have authorization will be hidden.

Conclusion

  • Dynamic LoV generated by All Members in Design Time will respect all change in model & user authorization due to data access control & cascading effect to determine the scope of members, on which user can filter by toggling on and off each value, while static LoV won't.
  • If all possible values in the LoV (even it may be only one single value) are selected, All will be shown in the filter title regardless how many members exist in the LoV, even it may has one single value.

Keywords

KBA , LOD-ANA-DES , Story Design & Visualizations , How To

Product

SAP Analytics Cloud 1.0