Read our blogs, tips and tutorials
Try our exercises or test your skills
Watch our tutorial videos or shorts
Take a self-paced course
Read our recent newsletters
License our courseware
Book expert consultancy
Buy our publications
Get help in using our site
468 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owl trainers only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
Search our website
We also send out useful tips in a monthly email newsletter ...
Toggle Small Multiples in Power BI visuals |
---|
One sneaky way to use Field Parameters is to toggle different settings like Small Multiples, Legend and more. |
In this blog
In Power BI you can use small multiples to divide a single chart into lots of smaller ones based on a field in your data model. Here's an example of a standard column chart showing Sales by Centre type:
This chart shows the data by one dimension, CentreTypeName, in the X-axis.
Here's the same chart with the RegionName field added to the Small multiples bucket of the field well:
This chart now shows the data by two dimension by adding RegionName into Small multiples.
What if you'd like your users to be able to switch between the two versions of the chart shown above?
Here the user can use a slicer to toggle the Small multiples option.
We can use a field parameter to allow the user to toggle small multiples. You can learn about the basics of field parameters in this blog and this video.
To create a field parameter, choose Modeling | New parameter | Fields from the ribbon.
You could also use a Numeric range as a toggle with 1 and 0 but that is less fun.
In the dialog box which appears, give the parameter a sensible name and add each of the fields you want to use in the chart's Small multiples. For this example we'll add only the RegionName field. Make sure to leave the Add slicer to this page box checked.
Here I am keeping it simple and only adding one field.
Power BI will generate a new table and add a slicer listing the name of the field you selected:
The selected field appears in the new slicer.
We'd like our users to see the words On and Off in the slicer, rather than just the name of the single field we selected.
To do this, select the Toggle Small Multiples parameter table in the Data pane and edit the code in the formula bar. Start by changing the field name in speech marks to the word On:
Use the field names when using multiple columns.
Now add a second option to the table using the word Off and which returns the value TRUE().
You could say None instead of Off when using multiple columns.
The slicer should now look like this:
There is a risk your user chooses nothing.
You may like to format the slicer to use tiles and to allow only a single value to be selected.
A simple set of buttons.
To make the slicer control the chart, add the Toggle Small Multiples column to the Small multiples section of the chart.
Column chart field well options.
You can now use the slicer to toggle the Small multiples between On and Off.
The final result provides the user with more control over the chart.
This works with other settings including Legend, Play Axis, Small Multiples, Scatter Chart Values, Category and more. Let us know what you make optional!
Some other pages relevant to the above blog include:
Kingsmoor House
Railway Street
GLOSSOP
SK13 2AA
Landmark Offices
99 Bishopsgate
LONDON
EC2M 3XD
Holiday Inn
25 Aytoun Street
MANCHESTER
M1 3AE
© Wise Owl Business Solutions Ltd 2025. All Rights Reserved.