Small multiples in Power BI: one chart per category

How small multiples in Power BI split one chart into a grid of small charts, one per value of a field, with a shared axis, the grid and title settings, when they beat a legend, the DAX that makes them fair, and the features they do not support yet.

Short answer: small multiples split one visual into a grid of small copies, one per value of the field in the Small multiples well: one line chart per region, one column chart per product line. All copies share the same axes by default, so they can be compared at a glance. Use them instead of a legend when there are more than four or five series, or when the series overlap and hide each other. They work on bar, column, line, area and combo charts.

The chart, part by part: What are small multiples? draws its parts and shows how to read one, its kinds and the mistakes to avoid.

Six regions as six lines in one chart cross and tangle. Six small line charts in a 3 by 2 grid, all on the same scale, show at once which region grew, which fell and which is flat.

What do small multiples look like?

Northrising all year, 120 to 171
Southflat, around 90
Eastdip in summer, ends at 98
Westrising from May
Onlinedoubling, 45 to 110
Exportfalling since March
Monthly revenue as small multiples by region (shared Y-axis)

In Power BI each card above is a small line chart with the same months on the X-axis and the same Y range, with the region's name as its title.

How do you build them?

  1. Build the visual as usual: Date[Month] on the X-axis, [Revenue] on the Y-axis.
  2. Drag the splitting field, for example Region[Region], to Small multiples.
  3. Format visual, Small multiples: Layout sets rows and columns of the grid (the rest scrolls), plus padding.
  4. Small multiple title: position, font, alignment.
  5. Y-axis, Range: by default all multiples share a scale; you can let each scale independently, which shows each shape better but breaks size comparisons.

Shared or independent axis?

AxisShowsUse when
shared (default)sizes and shapes comparable across all chartscomparing regions with each other
independent per multipleeach chart's own shape, using its full heightcomparing trends of very different sizes (a big and a tiny region)

With independent axes, put the axis values on, or readers will compare heights that mean different amounts.

What DAX makes them fair?

Small multiples are a filter per chart, so measures work as everywhere. To compare shapes of different-sized regions on a shared axis, index each to its own start:

Revenue Index =
VAR FirstMonthRevenue =
    CALCULATE ( [Revenue], FIRSTNONBLANK ( ALLSELECTED ( 'Date'[Month] ), [Revenue] ) )
RETURN
    DIVIDE ( [Revenue], FirstMonthRevenue ) * 100

Every region starts at 100; a region at 140 grew 40%. On a shared axis, growth is now comparable regardless of size. Another option is the share of the total per month, which shows which region gains weight:

Share of Month =
DIVIDE ( [Revenue], CALCULATE ( [Revenue], REMOVEFILTERS ( Region[Region] ) ) )

What do they not support yet?

Microsoft's list of current limitations includes: trend lines, forecasting, zoom sliders, total labels for stacked charts, concatenated labels, high-density sampling for line charts, axis zoom, rectangular multi-select, and the Analyze and Summarize context menu items. Show items with no data exists but may not behave as expected. With a live connection to Analysis Services, small multiples need a version that supports the second generation of DAX queries.

What goes wrong?

  • Too many multiples. Fifty tiny charts are unreadable; filter to the top regions or group the rest.
  • Independent axes without labels. Readers assume a shared scale; label the axes.
  • A legend and small multiples together. Possible, but each small chart then has several series: keep it to two at most.
  • Order by name. Sort the multiples by size or importance (sort the splitting field by a column), not alphabetically.

Where can you check this?

Where do you start?

Whenever a legend has more than four series, try the same chart with the field in Small multiples instead, on a shared axis. Line charts cover the series options it replaces.

Keep reading

More from the blog.

Every post

Next

Building this? Say hello.

A question about this post, a pattern you would build differently, or the next thing you want written out: Behnia reads every message.