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

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.…

5 days ago

dataMinds Connect 2024 – Session Materials

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

4 weeks ago

Connect to Power BI as a Guest User in another Tenant

Sometimes your Microsoft Entra ID account (formerly known as Azure Active Directory) is added as…

2 months ago

How to use a Script Activity in ADF as a Lookup

In Azure Data Factory (ADF, but also Synapse Pipelines and Fabric Pipelines), you have a…

4 months ago

Database Build Error – Incorrect syntax near DISTINCT

I wrote a piece of SQL that had some new T-SQL syntax in it: IS…

4 months ago

Speaking at dataMinds Connect 2024

I'm very excited to announce I've been selected as a speaker for dataMinds Connect 2024,…

5 months ago