Categories: Power BI

Small Multiples in Power BI

In the December 2020 release of Power BI Desktop, a long-awaited feature was added as a preview: small multiples (also known as trellis chart). A feature request for this chart type has been made since 2015!

Small multiple charts are a set of charts of the same type on a grid, allowing you to easily compare values over the different charts. From Wikipedia:

How can we make such a chart in Power BI? Well, for starters, you need to enable the preview in the options:

Once you’ve restarted Power BI Desktop, you can start to use it. To demonstrate, I’ve imported some data from the AdventureWorks data warehouse. Suppose I want to plot the order quantity of the Clothing subcategories over time:

Whoops, there’s so much data in one graph it has become an illegible mess of spaghetti. Small multiples to the rescue! In the visualizations menu, drag the subcategory name from the legend to the small multiples box:

Et voila:

There’s one problem though: there are 6 subcategories and the chart only shows 4. Which means you have to use the scrollbar to see the last two. This is something you’d want to avoid on a dashboard. Luckily we can adjust this. With the chart selected, go to the format pane and change the grid layout to either 3 rows or 3 columns.

Now everything fits on one page:

I like how Power BI doesn’t unnecessarily repeat axis for every chart, but rather displays them only on the left on the bottom of the trellis chart. Also, all charts have the same scale (0 to 30 in our example), which means it still makes sense to compare the different graphs with each other.

With the introduction of the possibility to transform certain chart types into small multiples, Microsoft has finally closed some gaps between Power BI and other BI tools.


------------------------------------------------
Do you like this blog post? You can thank me by buying me a beer 🙂
Koen Verbeeck

Koen Verbeeck is a Microsoft Business Intelligence consultant at AE, helping clients to get insight in their data. Koen has a comprehensive knowledge of the SQL Server BI stack, with a particular love for Integration Services. He's also a speaker at various conferences.

Recent Posts

Book Review – Microsoft Power BI Performance Best Practices

I was asked to do a review of the book Microsoft Power BI Performance Best…

2 days ago

Create a Numbers Table in Power Query

This is a quick blog post, mainly so I have the code available if I…

7 days ago

Microsoft finally adds Tenant Switcher for Fabric / Power BI

Praise whatever deity you believe in, because it's finally here, a tenant switcher for Microsoft…

1 week ago

Book Review – Humanizing Data Strategy by Tiankai Feng

This book was making its rounds on social media, and the concept seems interesting enough…

1 week ago

Free webinar – Tackling the Gaps and Islands Problem with T-SQL Window Functions

I'm hosting a free webinar at MSSQLTips.com at the 19th of December 2024, 6PM UTC.…

3 weeks ago

dataMinds Connect 2024 – Session Materials

The slides and scripts for my session "Tackling the Gaps & Islands Problem with T-SQL…

1 month ago