Sub topic 9
Controlling interactions between visuals
This chapter assumes you can add visuals to a Power BI report page and know the difference between a column and a measure. You should also have added at least one slicer. Here you will learn how to decide which visuals a slicer or another visual can filter.
How visuals affect each other
By default, every visual on a page can act on every other visual on that page. If you select a bar in a column chart, the other visuals on the page respond. If you pick a value in a slicer, all the other visuals respond. This is called cross-filtering or cross-highlighting, depending on the visual type that receives the selection.
Edit interactions is the Power BI feature that lets you change this behavior one visual pair at a time. The visual you select is the source. Each other visual on the page is a target. For each target, you choose how it reacts to the source.
The three interaction modes
When you select a source visual and turn on Edit interactions, small icons appear at the top right of every other visual. Each icon is one mode.
| Mode | Icon name | What the target does |
|---|---|---|
| Filter | Funnel | Shows only the data that matches the selection. |
| Highlight | Bar chart | Shows all data, and dims the part that does not match. |
| None | Circle with a line | Ignores the source completely. |
Highlight is only available on targets that can show a partial value, such as bar, column, and area charts. A card or a table can only filter or ignore.
Change an interaction
- Open Report view and go to the page you want to change.
- Select the source visual. This can be a slicer or any chart.
- On the Format tab of the ribbon, choose Edit interactions.
- On each target visual, click the icon for the mode you want. The active mode is shown with a filled icon.
- When you finish, choose Edit interactions again to turn the mode off.
Power BI saves the setting with the report. Readers see the result but do not see the icons.
A worked example
Suppose a page has a Category slicer, a line chart of sales by month, a bar chart of sales by region, and a card that shows the annual sales target. The target is a fixed number for the whole company, so a category choice should not change it.
- Select the Category slicer and turn on Edit interactions.
- On the line chart, choose Filter. Monthly totals now show only the selected category.
- On the bar chart, choose Highlight. Every region bar stays visible, and the selected category appears as the darker part of each bar.
- On the card, choose None. The target stays the same whatever the reader picks.
Next, select the bar chart as the source. Its icons are independent of the slicer's icons. You might set the line chart to Filter so that clicking a region narrows the monthly trend, and leave the slicer alone, because slicers are not changed by other visuals' selections.
Interactions and other filters
Edit interactions only controls selections made on the page, such as slicers and clicks on visuals. It does not remove filters from the Filter pane. A page-level or report-level filter still applies to every visual, even when its interaction with a slicer is set to None.
Choosing a sensible setup
- Use None for fixed benchmarks, targets, and titles that must not change.
- Use Highlight when you want to compare a part with the whole, such as one category against all regions.
- Use Filter when the target should show only the selected data.
- Keep the setup consistent across pages. Readers learn how a page behaves and expect the same elsewhere.
Exercise
A page has a Region slicer, a map, and a card that shows total company revenue. You want the slicer to narrow the map but leave the card unchanged. Which interaction modes do you set, and on which visual do you start?
Show answer
Select the Region slicer as the source and turn on Edit interactions. Set the map to Filter and the card to None. The card keeps showing total company revenue whatever region is chosen.
Exercise
A reader says a column chart does not respond to a Category slicer. A page-level filter is not the cause. What is the most likely cause, and how do you check it?
Show answer
The interaction from the slicer to the column chart is probably set to None. Select the slicer, turn on Edit interactions, and look at the icon on the column chart. Choose Filter or Highlight to restore the response.