Creating Filters to Control Optional Measures

Before starting on this work flow, complete the steps in Creating Visuals with Optional Measures.
  1. In the dashboard, click the Filters tab.
  2. Click Create Custom Filter to create a second dashboard 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, under the Values tab, enter the following:
    • Under Title, enter Display Measures.
    • Under Output Parameter, enter mes.

      Note that this is the parameter from Creating Visuals with Optional Measures.

    • Under Specified values, enter the following two rows:

      • Value: life_expectancy, Label: Life Expectancy
      • Value: gdp_per_capita, Label: GDP per Capita
  4. In the Settings modal window, switch to Display Settings.
  5. Select Allow only one item to be selected at a time
  6. Select Include an option for 'All'.
  7. Click Apply.
  8. Name and save the dashboard.
  9. Switch to application View mode, and select World Regional Populations.
  10. [Optional] In the Display Country Details filter, select Country.
  11. In the Display Measures filter, select Life Expectancy.

    Note that the table now has a new column, life_expectancy.

  12. To change the measure that appears in the visual, in the Display Measures filter, select GDP per Capita.

    Note that the additional column is now titled gdp_per_capita, not life_expectancy.

    To check the parameters of the dashboard, hover the pointer over the Filter icon at the top right corner. They are:

    • dim: country
    • dim.alias: Country
    • mes: gdp_per_capita

    You can scroll down to see

    • mes.alias: GDP per Capita parameter
  13. [Optional] You can easily navigate between the permutations of filter outputs you create by using filter navigation controls at the top right corner.