Creating Visuals with Variable Measures

You may choose to duplicate the dashboard that you created earlier according to the instructions in Creating Visuals with Variable Dimensions. In this case, open the visual, and skip to Step 7 in this workflow.
  1. In the dashboard, click New Visual.
  2. Under the Data menu, select the US County Population dataset.
  3. Under the Visuals menu choose the Bar Chart visual type.
  4. Populate the shelves of the visual:
    • From Dimension, select and move Stname field onto the X Axis shelf.
    • From Measures, select and move Tot Pop field onto the Y Axis shelf.
    • On the Y Axis shelf, change the aggregation of the Tot Pop field from sum(Tot Pop) to avg(Tot Pop): select Tot Pop field, chose the Aggregates menu, and change the aggregate from Sum to Average.

    • On the Y Axis shelf, click Tot Pop, and under the Field Properties menu select Order, and choose Ascending.
  5. Click Refresh Visual to see the basic set up of the bar chart.
  6. On the Y Axis shelf, click the sum(Tot Pop) field.
  7. In the Field Properties menu, select [ ] Enter/Edit Expression.
  8. In the Enter/Edit Expression modal window,
  9. Change the text to the following expression: <<agg:sum([Tot Pop])>>.
  10. Click Validate & Save.
  11. Change the name of the visual to Population by <<dim>> and <<agg>>. To have an informative title for the visual, you may add the parameter placeholders to it. The filters configured in Creating Filters to Control Variable Dimensions and Creating Filters that Control Variable Measures supply the required values for <<dim>> and <<agg>>.
  12. Click Save.