Sub topic 13
Troubleshooting unexpected filter results
This chapter gives you a working method for diagnosing filters and slicers that return the wrong numbers, or no numbers at all. It assumes you can build a report page with several visuals, add slicers, use the Filter pane, and tell a column from a measure in the data model. It also assumes you have read the chapters on filter scopes, Edit interactions, and synchronized slicers.
Start with the layers
A visual's result comes from several filter layers combined. When a number looks wrong, one layer is almost always responsible. The layers are:
- Visual-level filters in the Filter pane, for that visual only.
- Page-level filters, for every visual on the page.
- Report-level filters, for every visual on every page.
- Slicers on the page, limited by Edit interactions.
- Cross-filtering and cross-highlighting from other visuals.
- Relationships in the data model, which carry a filter from one table to another.
- The DAX in the measure, which can add, change, or remove filters.
Filters from different layers combine with AND logic. A row must pass every layer to be counted. Two filters on the same column also combine with AND, so a page filter of Category is "Bikes" and a slicer of Category is "Clothing" gives an empty visual.
Step 1: Find every active filter
Before changing anything, list what is filtering the visual.
- Select the visual and open the Filter pane. Look at the visual, page, and report sections. A filter may be hidden because the pane is collapsed, or because the author has hidden or locked it.
- Look for filters with a value set but easy to overlook, such as "is not blank" or a Top N rule.
- In Power BI Desktop, use Performance analyzer (View tab) to see which visuals refresh when you click a slicer. If a visual does not refresh, a slicer is not reaching it.
- Use Edit interactions (Format tab) with the slicer selected. Each visual shows icons for Filter, Highlight, or None. A visual set to None ignores the slicer.
A reliable technique is to remove layers one at a time. Clear slicers first, then clear page filters, then clear report filters. When the number changes to what you expected, you have found the layer.
Common problem 1: The slicer does nothing
Symptoms: you pick a value in a slicer and a visual does not change.
| Likely cause | How to check | Fix |
|---|---|---|
| Interaction set to None | Edit interactions shows a "no" icon on the visual | Set the interaction to Filter |
| No relationship between the slicer's table and the visual's table | Model view shows no line between the tables | Create a relationship, or use a field from a related table |
| Slicer field is from a disconnected table | The table has no relationships by design | Write a measure that reads the selection with SELECTEDVALUE |
| Visual is a measure that ignores filters | The measure uses ALL or REMOVEFILTERS on that table | Change the measure, or accept the intended behavior |
| Slicer is on a different page and not synced | The Sync slicers pane shows no sync for the target page | Turn on sync for that page |
The relationship case is the most frequent. A slicer on Product[Category] can filter Sales only if a relationship connects Product to Sales, and the filter direction must run from the slicer's table toward the table being measured. With the usual one-to-many relationship, a filter on the "one" side (Product) flows to the "many" side (Sales). A filter on the many side does not flow back to the one side unless cross-filter direction is set to Both.
Common problem 2: The visual is empty
An empty visual means no rows pass all the layers. Check these in order.
- Contradicting filters. Two filters on the same field that cannot both be true, such as a slicer for 2024 and a page filter for "last 30 days" when today is in 2026.
- Relative date filters. A relative date filter is based on the date the report is viewed. A report that worked last year may be empty now if the data stops at a past date. Check the filter against the latest date in your data, not today's date.
- Advanced filter logic. "Is greater than 100 and is less than 50" matches nothing. The "And/Or" choice in the advanced filter controls how conditions combine.
- Top N on a field the visual does not show. A Top N filter ranks by the field you choose, then keeps only those items. If you also filter those items with a slicer, the slicer can remove all of them. Top N is applied before the visual shows data, so a slicer selection that excludes the top items leaves the visual empty.
- Data type mismatch. A slicer on a text column that holds numbers, or a date stored as text, can produce a list that looks right and matches nothing in a relationship.
Common problem 3: Totals do not match
Users often report that the total in a table or card differs from the sum of the visible rows, or that two visuals disagree. The usual causes are below.
- Different filters on each visual. One visual has a visual-level filter and the other does not. Compare the Filter pane for both.
- Cross-highlighting instead of filtering. In a column chart, highlight mode dims the unselected part but keeps the full bar, so values look inconsistent with a filter-mode visual. Change the interaction to Filter if you want the numbers to change.
- Hidden blanks. Rows with a blank key do not match a related table. They show up under a "(Blank)" category, which a slicer may hide or include. Check for an unexpected "(Blank)" item in the slicer.
- Measure behavior. A measure like the one below intentionally ignores filters on
Product, so it will not respond to a Product slicer.
Total Sales All Products =
CALCULATE ( [Total Sales], REMOVEFILTERS ( Product ) )If a card using this measure stays fixed while other visuals change, the measure is behaving as written. If you see this when you did not expect it, read the measure definition before you touch the slicer.
Percent-of-total that does not add to 100%
The measure Sales % of Selected Categories divides by ALLSELECTED ( Product[Category] ). It sums to 100% across the categories the user has allowed. If the user expects 100% across all categories, they will see a different number when a slicer is active. Pick the function by what the denominator should be:
| Denominator should be | Function | Responds to slicers |
|---|---|---|
| Everything, ignoring all filters on the table | REMOVEFILTERS or ALL | No |
| Everything the user has allowed | ALLSELECTED | Yes |
| The current row only | No function; use the base measure | Yes |
Common problem 4: Synchronized slicers behave strangely
Sync has two separate settings per page: whether the slicer is synced to the page, and whether it is visible there. They are independent.
- A slicer can be synced to a page without being visible. It still filters that page, which surprises readers who cannot see why numbers are limited. Check the Sync slicers pane (View tab) for every page.
- A slicer visible on a page but not synced is a separate slicer that happens to look the same. Its selection does not carry over.
- Slicers sync by field. Two slicers using the same field on different tables, such as
Sales[Date]andCalendar[Date], do not sync with each other. - Sync groups are set by group name. Two slicers with the same field but different group names do not stay in step.
Common problem 5: Reader changes disappear or do not apply
- Persistent filters. In the Power BI service, a reader's changes to filters and slicers are saved for that report by default and restored the next time they open it. A reader may see old selections and think the report is wrong. Use Reset to default in the top bar to return to the author's saved state.
- Locked or hidden filters. If the author locked a filter, the reader cannot change it. A hidden filter still applies but does not appear in the pane.
- Bookmarks. A bookmark can capture filter and slicer state. Applying one changes the selections. If you do not want a bookmark to alter data, turn off the Data option on that bookmark.
- Single select and Select all. A slicer in single-select mode requires a value, and a slicer with Select all shows the option only when it is turned on in format settings. Check these under the slicer's Selection controls.
Using a measure to show what the slicer sees
When you cannot tell what a slicer selection does inside a measure, build a small diagnostic. This measure returns the selected category, or a message if zero or many are chosen:
Selected Category =
SELECTEDVALUE ( Product[Category], "All categories" )Place it in a card next to the visual you are debugging. If the card says "All categories" when you chose one, the slicer is not reaching that table. If it shows one category but your numbers are off, the issue is in the measure or the relationship.
You can add a second diagnostic to count how many rows are visible:
Visible Rows = COUNTROWS ( Sales )Place it in a card. If the count is zero, the filters leave no rows. If the count stays at the full row count when you change a slicer, the slicer is not filtering Sales.
A repeatable checklist
- Reproduce the problem in a single visual. Clear all slicers, then add them back one by one.
- Read the Filter pane at the visual, page, and report levels.
- Check Edit interactions for the source and the target.
- Open Model view. Confirm a relationship path exists and its direction.
- Read the measure for CALCULATE, ALL, ALLSELECTED, or REMOVEFILTERS.
- Check the Sync slicers pane for every page.
- In the service, use Reset to default, and check bookmarks.
- Confirm the data: data types, blanks, and the latest date in the data.
Exercise
A page has a slicer on Product[Category] and a card that shows [Total Sales All Products], defined as CALCULATE ( [Total Sales], REMOVEFILTERS ( Product ) ). A reader selects "Bikes" and reports that the card "ignores the slicer". Is this a bug? What would you tell the reader, and how would you show the filtered value beside it?
Show answer
It is not a bug. REMOVEFILTERS ( Product ) removes the filter that the slicer places on the Product table, so the card shows the total for all products by design. Tell the reader the card is a fixed benchmark. To show the filtered value, add a card with the base measure [Total Sales], which responds to the slicer. Placing both cards together lets the reader compare the selection against the benchmark.
Exercise
A slicer on a text column Region does not change a column chart that shows Sales by Month. Edit interactions shows Filter on the chart. List the next three things you check.
Show answer
First, open Model view and confirm a relationship connects the table that holds Region to the table that holds the Sales values, and that the filter direction flows toward Sales. Second, read the measure used in the chart for ALL or REMOVEFILTERS on the Region table. Third, check whether the slicer's field comes from a disconnected table, in which case the measure needs to read the selection with SELECTEDVALUE or similar logic.