Symptom
When attempting to remove dimension filters via a custom script, it does not remove the filters when the filter line widget has been set to group filter mode.
Environment
- SAP Analytics Cloud Version 2021.9.0
- Analytics Designer/Analytic Application
Reproducing the Issue
- Create an Analytic Application from the main menu.
- Insert a widget visualization *2 (chart or table)
- Insert a filter line widget and click on the designer builder panel for more options.
- Select the group filter option from the drop down mode.
- Select a data-source from the drop-down options.
- Add a dimension selection.
- Click on the add filters button and select an option.
- Click on All widgets of this data-source radio button from the option apply filters to.
- Insert a button and click on the fx icon to edit scripts.
- Reference both widget visualizations (charts or tables or both) and apply the following script in two lines:
<table_1/chart_1>.getDataSource().removeDimensionFilter("<Dimension>")
<table_2/chart_2>.getDataSource().removeDimensionFilter("<Dimension>") - Run the application and observe that the script events do not remove the filters.
Cause
The remove dimension filter API only works when the mode of the filter widget is set to individual filter line and not group filter.
Resolution
This feature is currently not available but is proposed to be released in a future wave.
Please see the below enhancement request
https://influence.sap.com/sap/ino/#/idea/261353
See Also
- 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- Have a question? Ask it here and let our amazing SAP community help! Or reply and share your knowledge!
- 2487011 - What information do I need to provide when opening an case for SAP Analytics Cloud?
- 2511489 - Troubleshooting performance issues in SAP Analytics Cloud
- Search for SAP Analytics Cloud content using Google or Bing:
- https://www.google.ca/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- https://www.bing.com/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- Note: Add relevant text or warning/error messages to the text search field to filter results.
- SAP Analytics Cloud > Learning > Data Connections
- SAP Analytics Cloud > Learning > Guided Playlists
- SAP Analytics Cloud > Learning > Guided Playlists > Getting Support
- Need More Help? Contact Support or visit the solution finder today!
Your feedback is important to help us improve our knowledge base.
Keywords
SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics,Error, Issue, System, Data, User, Unable, Access, Connection, Sac, Connector, Live, Acquisition, Up, Set, setup, Model, BW, Connect, Story, Tenant, Import, Failed, Using, Working, SAML, SSO, sapanalyticscloud, sap analytical cloud, sap analytical cloud, SAC, sap analyst cloud, connected, failure, stopped, analytic application, analytics designer, widget filter, removeDimensionFilter
- SAP Analytics Cloud Version 2021.9.0
- Analytics Designer/Analytic Application