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?
- Log on to SAC tenant.
- Try to create a story.
- 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.
- For a story filter, select
- Select the dimension you want to filter from the Add Story Filter/Prompt list.
- 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.
- Chose the Multiple Selection option or the Multiple Selection Hierarchy option to enable user toggle on and off each filter value.
- 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
Note: Design Time = Set Filters Dialog & View Time = Generated FilterDesign Time Selection View time Selection dynamicLov
possibleValues
allLovSelected answers All Members All true [] true [] All Members Filtered members true [] [<Filtered members in View time>] Selected members
All [<Selected members in Design Time>] true [<Selected members in Design Time>] Selected members Filtered members [<Selected members in Design Time>] [<Filtered members in View time>] - Optimized Design Experience
Design Time Selection View time Selection lovInfo
isAllSelected
selectedValues
All Members All true [] All Members Filtered members false [<Filtered members in View time>] Selected members
All [<Selected members in Design Time>] true [] Selected members Filtered 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 Selection | View time Selection | Title before changing |
Changes in model:
|
For user only having access to specific member(s) |
| All Members | All | All |
|
|
| All Members | Filtered members | [<Filtered members in View time>] |
|
|
|
Selected members | All | All |
|
|
| Selected members | Filtered members | [<Filtered members in View time>] |
|
|
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
SAP Knowledge Base Article - Public