Sub topic 6
Visual, page, and report-level filters
This chapter assumes you can build a report page with several visuals in Power BI Desktop or the Power BI service. It also assumes you know what a table, a column, and a measure are, and that you have opened the Filter pane. Here you learn what each filter scope covers, how scopes combine, and how to pick the right one.
What a filter scope is
A filter scope is the part of a report that a filter applies to. The Filter pane offers three scopes, and each one is a separate list of filters:
- Filters on this visual apply only to the selected visual.
- Filters on this page apply to every visual on the current page.
- Filters on all pages apply to every visual on every page of the report.
The scope decides how far a filter reaches. The filter type (basic, advanced, Top N, relative date) decides how the filter selects values. The two choices are independent. You can put a Top N filter at the visual scope or at the report scope.
How the scopes combine
A visual does not use just one scope. It receives the filters from all three scopes at once, and the report engine combines them with AND logic. A row of data appears in a visual only if it passes every filter that reaches that visual.
Suppose a report has these filters:
- Report level:
Yearis 2025. - Page level:
Regionis West. - Visual level:
Categoryis Bikes.
A visual with all three shows only rows for Bikes, in the West, in 2025. A different visual on the same page, with no visual-level filter, shows all categories for the West in 2025.
The diagram shows the order as a straight line, but the result does not depend on order. Because the filters are combined with AND, applying them in any sequence gives the same rows.
Scopes only narrow
A filter at a wider scope cannot be undone by a narrower one. If the report-level filter keeps only 2025, a visual-level filter that asks for 2024 returns nothing. It does not override the report-level filter. Both must be satisfied, and no row can be in 2025 and 2024 at once.
This is a common source of blank visuals. When you add a filter at one scope and a visual goes empty, check the other scopes for a filter on the same field.
Working with each scope
Visual-level filters
Select a visual, then look at the Filters on this visual section. It lists the fields already in that visual, so you can filter them right away. You can also drag a field from the Data pane into the Add data fields here area to filter by a column the visual does not display.
Visual-level filters suit these cases:
- One chart needs a different cut of the data than its neighbors, such as a card that shows only the current quarter.
- You want a Top N filter on one chart, for example the top 5 products by sales.
- You want to exclude a value from a single visual, such as a "Test" category.
A visual-level filter can use a field that is not on the visual. A table showing Product and Sales can be filtered to Region is West without Region being a column.
Page-level filters
With nothing selected, or with the page background selected, drag a field into Filters on this page. The filter then applies to every visual on that page, including visuals you add later.
Page-level filters suit these cases:
- A page is dedicated to one segment, such as an "EMEA overview" page.
- You want every visual on a page to share the same scope without repeating the filter on each one.
- You want to hide detail that readers should not see on that page.
Report-level filters
Drag a field into Filters on all pages. The filter applies everywhere in the report. Use it for rules that define the whole report, such as excluding cancelled orders or limiting data to the current fiscal year.
Report-level filters do not appear as a slicer on the canvas, so readers can miss them. Name the report and its pages clearly, and consider a text box that states the rule, such as "Cancelled orders are excluded".
Filter scope and slicers
Slicers are also a kind of filter, and they combine with the Filter pane by AND logic as well. A slicer on a page affects the visuals on that page, depending on its interactions (covered in a later chapter). A page-level filter and a slicer on the same field both apply. If the page filter says Region is West and the slicer selects East, the visuals are blank.
To avoid conflicts, use different fields for fixed rules and for reader choices. Put fixed rules in the Filter pane. Put reader choices in slicers.
Worked example
You build a sales report with two pages: Overview and Bike detail. The requirements are:
- Exclude cancelled orders everywhere.
- The Bike detail page covers only the Bikes category.
- On Bike detail, one bar chart shows only the top 5 products by sales.
Set the filters like this:
| Requirement | Scope | Field and rule |
|---|---|---|
| Exclude cancelled orders | Filters on all pages | `OrderStatus` is not Cancelled |
| Only Bikes on one page | Filters on this page (Bike detail) | `Category` is Bikes |
| Top 5 products in one chart | Filters on this visual | `Product` Top 5 by `Total Sales` |
Steps in Power BI Desktop:
- Open the Overview page and click an empty area of the canvas.
- In the Filter pane, drag
OrderStatusinto Filters on all pages. Choose Advanced filtering, set the condition to is not, enterCancelled, and select Apply filter. - Switch to Bike detail. Drag
Categoryinto Filters on this page. In basic filtering, check Bikes. - Select the bar chart. In Filters on this visual, expand
Product, set Filter type to Top N, set Show items to Top and 5, and dragTotal Salesinto By value. Select Apply filter.
The report-level rule shows in the Filters on all pages section of every page, because it belongs to the whole report. The Bikes filter appears only on Bike detail.
Top N filters reward a closer look. The bar chart's Top 5 is computed after the report-level and page-level filters are applied. So it ranks the top 5 products among non-cancelled Bike orders, not the top 5 across all products. Each filter narrows the data first, and the ranking runs on what is left.
Choosing the right scope
Start from the narrowest scope that does the job, then widen it only when the same rule applies elsewhere. Use these questions:
- Does only this one visual need the rule? Use a visual-level filter.
- Do all visuals on this page need it? Use a page-level filter.
- Is the rule true of the whole report? Use a report-level filter.
Duplicating a visual-level filter on many visuals is a warning sign. If five visuals on a page share the same filter, move it to the page level. If every page repeats the same page-level filter, move it to the report level. One filter in one place is easier to audit and less likely to drift when requirements change.
Edge cases and gotchas
- A field that is not in the visual. A visual-level filter can use any field, but the field must be related to the visual's data through the model. If no relationship exists, the filter has no effect on a measure or column from an unrelated table.
- Filters on measures. You can filter on a measure at any scope, but a measure filter applies after the visual's aggregation. A filter such as
Total Salesgreater than 1000 on a visual keeps only the groups whose total exceeds 1000. - Locked and hidden filters. An author can lock or hide a filter. A locked filter is visible but readers cannot change it. A hidden filter does not appear at all, but it still applies. If a report looks over-filtered and the Filter pane shows nothing, check with the author.
- Saved reader changes. In the Power BI service, reader changes to the Filter pane persist per reader by default, so a reader can open a report and find filters from an earlier session. The Reset to default button on the toolbar clears them.
- Drillthrough filters. A drillthrough page has its own filter area. The values passed from the source page act like page-level filters on the target page.
- Page-level filter and new visuals. Any visual you add to a page picks up that page's filters immediately. If a new visual looks wrong, check the page scope first.
Summary of differences
| Scope | Reaches | Typical use | Visible to readers by default |
|---|---|---|---|
| Visual | One visual | One chart with its own cut, Top N | Yes, when the visual is selected |
| Page | All visuals on one page | A page dedicated to one segment | Yes, on that page |
| Report | All visuals on all pages | Global rules such as excluding cancelled orders | Yes, on every page |
Exercise
A report has a report-level filter Year is 2025. On one page, a bar chart has a visual-level filter Year is 2024. What does the bar chart show, and why?
Show answer
The bar chart is blank. Filters from all scopes combine with AND logic, and a narrower scope cannot override a wider one. No row can satisfy both Year is 2025 and Year is 2024. To show 2024 data, remove or change the report-level filter, or move the 2025 rule to the pages that need it.
Exercise
Four visuals on the same page each carry the filter Region is West. The page has no other filter on Region. Which scope should you use instead, and what is the benefit?
Show answer
Use a page-level filter on Region. The rule is stored once and applies to every visual on the page, including visuals added later. This is easier to audit and avoids one visual being missed or changed by mistake.
Exercise
A page-level filter limits the page to Bikes. A bar chart on that page has a Top N filter for the top 5 products by Total Sales. Are the 5 products the top 5 across all categories?
Show answer
No. The page-level filter narrows the data to Bikes first, and the Top N ranking runs on the remaining rows. The chart shows the top 5 Bike products.