Sub topic 5
Meet the Filter pane
This chapter assumes you can open a report in Power BI Desktop or the Power BI service, and that you know the difference between a table, a column, and a measure. You do not need to know DAX for this chapter. Slicers were covered in earlier chapters. Here the focus is the Filter pane, the panel where filters are listed and edited without placing anything on the canvas.
What the Filter pane is
The Filter pane is a side panel that lists every filter applied to the report, the current page, and the selected visual. It shows what is being filtered and by which values. Slicers sit on the canvas and take up space. The Filter pane lives beside the canvas and can be collapsed.
Both tools do the same underlying job. They add conditions to the data model query that each visual runs. A slicer is one way to create such a condition, and the Filter pane is another. The difference is where the control lives and who can see it.
In Power BI Desktop, open the pane from the Filters tab at the right edge of the report canvas. In the Power BI service, the pane appears in the same place when you open a report in reading view or editing view.
The three sections of the pane
The pane groups filters by scope. A scope is the set of visuals a filter applies to.
| Section | Applies to | Where it appears |
|---|---|---|
| Filters on this visual | Only the selected visual | When a visual is selected |
| Filters on this page | Every visual on the current page | Always |
| Filters on all pages | Every visual on every page | Always |
Two details are easy to miss.
- The Filters on this visual section only shows when a visual is selected. If you click a blank part of the canvas, the section disappears and only the page and report sections remain.
- The pane header shows the name of the selected visual. Check it before you change anything, because it tells you which visual you are editing.
The next chapter covers scope in detail. For now, remember that the section a field sits in decides how far its filter reaches.
Adding a field to the pane
To create a filter, drag a field from the Data pane into the Add data fields here area of the section you want. You can also drag a field into the well on the Visualizations pane that is labelled Filters on this visual, Filters on this page, or Filters on all pages, depending on the options shown for your version.
Fields already used in a visual appear automatically in the visual-level section. They are not yet filtering anything. Each card shows the field name and a control that lets you choose values. The filter only takes effect after you pick values.
Fields you add to the pane do not need to be used in any visual. You can filter a page on Product[Category] even if no visual on the page shows a category.
Anatomy of a filter card
Each field in the pane is displayed as a filter card. A card has these parts:
- The field name, as the card title. A visual-level card for a field in the visual also shows its role, such as the aggregation applied to a value field.
- An expand arrow that opens or closes the card.
- A Filter type drop-down inside the card. The options depend on the data type of the field.
- The selection area, which shows checkboxes, condition boxes, or a Top N setting depending on the filter type.
- A Clear filter eraser icon that removes the selection but keeps the card.
- A Lock icon and a Hide (eye) icon. Authors use these to control what readers can change. They are covered in a later chapter.
- A Delete (x) icon, shown when you hover over the card, that removes the card from the pane.
The distinction between clearing and deleting matters. Clearing leaves the card in place with no selection, so the field no longer filters but is still available to the reader. Deleting removes the card, so the reader cannot filter on that field in the pane.
How filters are combined
When several cards are active, Power BI applies all of them together.
- Cards in the same section combine with AND. A page filter on
Region = Westand another onYear = 2025return only rows that match both. - Values chosen inside one card combine with OR. Selecting
WestandEastin the same card returns rows from either region. - Filters from different sections combine with AND as well. The visual sees the intersection of its own filters, the page filters, the report filters, and any slicer selections.
This is why a visual can appear to show too little data. Each filter source narrows the result, and none of them widens it. A filter at a higher scope cannot be overridden by a filter at a lower scope. If the report filter excludes 2023, no visual-level setting brings 2023 back.
The diagram shows the order for reading purposes. Power BI does not filter in strict stages. It combines all conditions into one query, so the order does not change the answer.
Worked example
Suppose a report has a page with a column chart of sales by month and a matrix of sales by category. The data model has a Sales table and a Product table.
- Select a blank area of the canvas so that no visual is selected.
- Drag
Product[Category]into Filters on this page. - In the card, choose Basic filtering and tick
BikesandAccessories.
Both visuals now show only those two categories. Now select only the column chart and look at Filters on this visual:
- Drag
Sales[Channel]into that section. - Tick
Online.
The column chart now shows Bikes and Accessories sold online. The matrix still shows both categories across all channels, because the channel filter belongs to the column chart only.
To check which filters affect a visual, select it and read all three sections of the pane. A filter in a different section above or below may be the reason a number looks different from what you expected.
Basic and advanced filtering in the card
The Filter type drop-down changes what the card offers. The next chapters cover each type in turn. The choices you see depend on the field:
| Field data type | Filter types offered |
|---|---|
| Text | Basic filtering, Advanced filtering, Top N |
| Number | Basic filtering, Advanced filtering, Top N |
| Date | Basic filtering, Advanced filtering, Relative date, Relative time (if the field has a time part) |
| Measure | Basic filtering, Advanced filtering, Top N |
Basic filtering lists the values in the field with checkboxes and a search box. Advanced filtering lets you write conditions such as contains or is greater than. Top N keeps the highest or lowest items by another field.
One edge case is worth knowing now. A card for a measure filters the result of the measure at the level of the visual. A page-level filter on a measure is allowed, but the measure is evaluated for each combination of fields in each visual. The result can differ from what you expect if the visual uses different fields than the filter assumes. Prefer filtering on columns when you can.
Formatting and showing the pane
Authors can change how the pane looks. In the Format settings for the report, open Filter pane. You can adjust:
- Background color and transparency.
- Font and text size of the title and the card text.
- Border and the color of the search box.
- A separate style for the cards in the Applied state, meaning cards with a selection, and the Available state, meaning cards with none.
These settings change appearance only. They do not change which filters exist.
You can also collapse the pane with the arrow at its top. Collapsing it hides it but does not remove any filter, so the filters keep working. Readers can reopen it from the side tab.
Common mistakes
- Editing the wrong scope. A card in Filters on all pages changes every page. Check the section name before you tick a value.
- Assuming a card with no selection filters anything. A card with no values chosen applies no restriction. It is only a placeholder.
- Expecting a visual filter to remove a page filter. Filters combine with AND, so a lower scope can only narrow further.
- Forgetting that readers can change cards. Unless the author locks or hides a card, a reader can edit it in the published report. Saved reader changes are kept for that reader if persistent filters are on.
Summary
The Filter pane lists filters in three scopes: the selected visual, the current page, and all pages. Each field appears as a card with a filter type, a selection, and controls for clearing, locking, hiding, and deleting. All active filters combine with AND, so each additional filter can only narrow the data. Select a blank area to edit page and report filters, and select a visual to edit its own. Read the section name on every card before you change it.
Exercise
A page has a page-level filter Region = West. You select one column chart on that page and add a visual-level filter Region = East to it. What does the chart show, and why?
Show answer
The chart shows no data. The page filter and the visual filter combine with AND, so only rows where Region is both West and East would pass, and no row meets that. A lower-scope filter cannot override a higher-scope one.
Exercise
You want to remove a field from the Filter pane so readers cannot filter on it, but you only click the eraser icon on its card. Is the goal met? What should you do instead?
Show answer
No. The eraser clears the selection but leaves the card in the pane, so readers can still use it. Delete the card with the x icon, or hide it with the eye icon, to keep readers from filtering on that field.
Exercise
You select a visual and the pane shows a "Filters on this visual" section. You click a blank area of the canvas. What happens to that section, and what does this tell you about editing page filters?
Show answer
The "Filters on this visual" section disappears because no visual is selected. Select a blank area before editing page-level or report-level filters so you do not change a visual's filter by accident.