Best Practice: Filter Table and Chart through Cascaded Filtering
Learn how to filter on dimensions and then according to hierarchies (such as Flat Presentation, ABC, Category…) to choose how to display the data.
Prerequisites
-
You've already added a table and a chart widget to your canvas and placed them on top of each other.
-
To follow all functions of this sample use case, you've completed the exercise Best Practice: Switch between Chart and Table and can now enhance your analytic application.
Context
You add two dropdown lists, one for filtering dimension and the other for filtering hierarchies and depending on what dimension you choose to filter on, the Dropdown List for the hierarchies filters will change. There is always one consistent filter for hierarchies which is Flat Presentation and according to your chosen dimension, you might either only have that one or have more options. The different filters can be chosen by simply selecting them from the dropdown lists you added.
Procedure
Results
When you run the application, it looks like this:
If you keep the dimension on Location but change the hierarchy to States, the table would change to display the location according to the states you have.
If you change the dimension to Product and set the hierarchy to Category, you will see the different categories of products displayed.