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.
I was asked to do a review of the book Microsoft Power BI Performance Best…
This is a quick blog post, mainly so I have the code available if I…
Praise whatever deity you believe in, because it's finally here, a tenant switcher for Microsoft…
This book was making its rounds on social media, and the concept seems interesting enough…
I'm hosting a free webinar at MSSQLTips.com at the 19th of December 2024, 6PM UTC.…
The slides and scripts for my session "Tackling the Gaps & Islands Problem with T-SQL…