Creating Filters to Control Variable Dimensions
- In the dashboard, click the Filters tab.
Click Create Custom Filter.
This creates a New Filter in the filter area of the application, and opens the Settings window modal for that filter.
In the Settings modal window, switch to
Values tab, and enter the following:
- Under Title, enter Dimension Level.
Under Output Parameter, enter dim.
Note that this is the parameter from Creating Visuals with Variable Dimensions.
Under Specified values, enter the following two rows:
stname, Label: State
ctyname, Label: County
Switch to Display Settings tab, and select the options
Permit only one item to be selected.
- Click Apply.
- Name and save the dashboard. We used the name Population by Different Aggregation Levels.
Switch to application View mode.
Note that the default choice, Stname, displays both on the horizontal axis, and in the title of the visual.
To check the parameters of the dashboard, hover the pointer over the Filter icon at the top right corner. They are
In the Dimension Level filter, select
Note that now the title of the graph and the axis changed to use Ctyname.
You may also notice that your graph does not appear to have any bars. In this particular dataset, there are large differences among populations of various counties; a great majority has populations under one million, and a select few represent urban areas with extremely dense population.
In the application, scroll to the extreme right of the visual to see the graph.
If you want to check the status of parameters on this dashboard, hover the pointer over the Filter icon at the top right corner, and notice that they changed to