Creating Visuals with Variable Measures

  1. Open the visual Average population by <<dim>> in edit mode.
  2. On the Y shelf, select avg(tot_pop) field, and chose Enter/Edit Expression.
  3. In the Enter/Edit Expression modal window,

    • Change the text to the following expression: <<agg:avg([tot_pop])>>.
    • Click Validate.
    • After successful validation, click Save.
  4. Change the name of the visual to Average population by <<dim>> and <<agg>>.
  5. Click Refresh Visual.

  6. Click Save.