Sub topic 6
Visual, page, and report-level filters
This chapter assumes you can build a Power BI report with several visuals and pages, and that you know the difference between a column and a measure. It also assumes you have opened the Filter pane. The pane itself is covered in the previous chapter. Here you will learn what each filter scope controls and how to pick one.
What a filter scope is
A filter scope is the part of the report that a filter affects. The Filter pane shows three scopes in separate sections:
- Filters on this visual affect only the selected visual.
- Filters on this page affect every visual on the current page.
- Filters on all pages affect every visual on every page of the report.
Select a visual to see its visual-level section. Select an empty area of the canvas to see the page and report sections.
How scopes combine
Scopes add together. A visual is filtered by its own visual-level filters, plus the page filters for its page, plus the report filters. A row has to pass all of them to appear. Slicers and cross-filtering from other visuals are applied on top of that.
Because the filters combine with "and", a later scope can only narrow the result. A page filter cannot bring back rows that a report filter removed.
A worked example
Suppose a report has two pages, Overview and Regions. You want to exclude test orders everywhere, show only 2025 on the Overview page, and show only the top five products in one bar chart.
- Select an empty area of the Overview page. Under Filters on all pages, drag
Sales[OrderType]and select every value exceptTest. - Under Filters on this page, drag
Calendar[Year]and select2025. - Select the bar chart. Under Filters on this visual, expand
Product[ProductName], set Filter type to Top N, set Show items to Top 5, and drag[Total Sales]into By value. Select Apply filter.
The Regions page now excludes test orders but is not limited to 2025. The other visuals on Overview are limited to 2025 but still show every product. Only the bar chart shows five products.
Choosing a scope
| Scope | Use it when | Example |
|---|---|---|
| Visual | One visual needs its own rule | Top 5 products in one chart |
| Page | Everything on a page shares a context | A page about 2025 only |
| Report | A rule must hold everywhere | Excluding test or cancelled orders |
Choose the narrowest scope that does the job. A report-level filter is easy to forget, because readers do not see it unless you leave the section visible. If the filter is a data-quality rule, consider removing the rows in Power Query instead.
Common errors
- A value is missing and you cannot see why. Check all three sections. A report-level filter may be removing it.
- A filter you set at page level seems ignored. Visual-level filters do not replace page filters. They add to them. If a visual shows too little, a visual-level filter may be stacking on top of the page filter.
- A new page does not show a filter you added. You may have added it under Filters on this page. Move it to Filters on all pages if it should apply everywhere.
- A filter on a field you do not use in the visual. Filters work on any field in the model, not only fields in the visual. A visual-level filter can use a field that is not in the visual's field wells.
Exercise
A report has a report-level filter Region = West, a page-level filter Year = 2025, and a visual-level filter Category = Bikes on one chart. What rows can that chart show? Can a second chart on the same page show 2024 data?
Show answer
The chart shows only rows that are West, 2025, and Bikes, because the scopes combine with "and". The second chart cannot show 2024 data, because the page-level filter applies to every visual on the page. It can show categories other than Bikes, but only West and 2025.
Exercise
You want to exclude cancelled orders from every page, and the rule never changes. Which scope should you use, and what other approach is worth considering?
Show answer
Use a report-level filter (Filters on all pages) on the order status field. Because the rule is permanent, you could also remove cancelled orders in Power Query so that no filter is needed.