Trellis on measures

Some visual types (bars, lines, areas, and grouped bars) may be trellised on measures, simply by adding more fields to the measurement shelf.

Here, we can change the chart developed in Bars (Country vs. Life Expectancy) into a visual trellised on three measures: Life Expectancy, Population, and GDP per Capita. We accomplish this by placing all three measurements on the Y Axis shelf.

  1. Click the Y Axis shelf. Life Expectancy is already on the shelf.
  2. With the shelf active, click the population field in the Data menu.
  3. Click the gdp_per_capita field in the Data menu.
  4. Click Refresh Visual.

    This setup produces a measurement-trellised bar chart visual.

    To compare this approach with plotting two measures onto the same line chart, see Creating line visuals with dual axes.