Creating Filters to Control Variable Dimensions

Before starting on this work flow, complete the steps in viz-create-visual-variable-dimension.html#dashboard-fp-var-dimension-vis.
  1. In the dashboard, click the Filters tab.
  2. 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.

  3. 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:

      • Value: stname, Label: State
      • Value: ctyname, Label: County
  4. Switch to Display Settings tab, and select the options Permit only one item to be selected.
  5. Click Apply.
  6. Name and save the dashboard. We used the name Population by Different Aggregation Levels.
  7. 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 dim: Stname and dim.alias: State.

  8. In the Dimension Level filter, select County.

    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 dim: Ctyname and dim.alias: County.