Creating visuals with variable dimensions

  1. Open a new dashboard.
  2. In the dashboard, click New Visual.
  3. Under the Data menu, select the US County Population dataset.
  4. Under the Visuals menu choose the Bar Chart visual type.
  5. 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.
  6. Click Refresh Visual to see the basic set up of the bar chart.
  7. On the X Axis shelf, click Stname field.
  8. In the Field Properties menu, select [ ] Enter/Edit Expression.
  9. In the Enter/Edit Expression modal window, change the text to the following expression: <<dim:[Stname]>>.
  10. Click Validate & Save.
  11. Change the name of the visual to Population by <<dim>>.

    To have an informative title for the visual, you may add the parameter placeholders to it. The filter configured in Creating filters to control variable dimensions supplies the required value.

  12. Click Save.