Sub topic 13
Troubleshoot slicers and know their limits
This chapter assumes you have a flat source table, at least one pivot table and chart on a dashboard tab, a slicer, and KPI cells that use SUBTOTAL. When something looks wrong, the cause is almost always one of a small set of mismatches. This chapter gives you a way to find which one.
How a slicer works, in one paragraph
A slicer is tied to one data range and one column. It hides rows in that range that do not match its filter. Charts and pivot tables listed under the slicer's controls are redrawn from the remaining rows. Anything else on the sheet, including ordinary formulas, ignores the slicer unless it reads rows the filter has hidden. Every problem below comes from a break in one of these links: the range, the column, the controlled objects, or the formula.
A diagnostic order
Check the links in order, from the source to the display. Do not start by rebuilding the slicer.
Problem 1: the slicer does not change a chart
This is the most common symptom. The causes, from most to least likely:
- The chart is not connected. A slicer controls only the charts and pivot tables you selected for it. A new chart is not added automatically. Open the slicer, choose the three-dot menu, then the slicer settings, and check the Apply to charts or Connect to charts list (the exact label can differ by version). Tick the chart.
- The chart reads a different range than the slicer. A slicer filters the range it was built on. If the chart reads a pivot table that was built on a different range, or on a copy of the data, the slicer has nothing to filter there. Compare the slicer's data range with the pivot table's source range. They must be the same range or overlap on the rows and column you filter.
- The chart reads a formula result. A chart built on a QUERY output or a helper block is not built on the slicer's range. The slicer cannot filter it directly. Point the chart at a pivot table that the slicer controls, or filter inside the QUERY.
- The slicer's column is not in the summary. A slicer on
Regionfilters the rows. If the pivot table already shows only one region through its own filter, the slicer adds nothing visible.
A quick test: set the slicer to a single value, then look at the source rows. If rows are hidden in the source range but the chart does not move, the chart is not connected. If no rows are hidden, the slicer itself is misconfigured.
Problem 2: the slicer works on the pivot table but not on the KPI cell
Slicers hide rows. They do not change what SUM or COUNTA returns, because those functions count hidden rows too. Use SUBTOTAL with the 100-series codes, which skip hidden rows:
Total revenue (visible rows):
=SUBTOTAL(109, Data!F2:F1000)
Order count (visible rows):
=SUBTOTAL(103, Data!A2:A1000)Check three things when a KPI still does not follow the slicer:
- The code. Code 9 (SUM) ignores rows hidden by a filter but still counts rows you hid by hand in some cases. The 100-series codes (109, 103) skip all hidden rows. Use the 100-series.
- The range.
Data!F2:F1000must be the same rows the slicer covers. If your data grows past row 1000, the KPI silently misses new rows. - The sheet. The KPI reads the source sheet, and the slicer must filter that same sheet range. A slicer built on a pivot table's range, or on a copy of the data, hides nothing in
Data.
A KPI can also show a wrong value because a column holds text. SUBTOTAL(109, ...) ignores text, so a revenue column with "450.00" stored as text sums to less than expected. Fix the source, not the formula.
When the slicers leave no rows, a division gives #DIV/0!. Wrap it:
=IFERROR(SUBTOTAL(109, Data!F2:F1000) / SUBTOTAL(103, Data!A2:A1000), 0)The 0 can hide a real error. If you need to tell "no rows" from "broken formula", test the count first, for example =IF(SUBTOTAL(103, Data!A2:A1000)=0, "No data", ...).
Problem 3: slicer choices look wrong
The value list in a slicer comes from the column's contents. It repeats every distinct value exactly as stored.
| Symptom | Likely cause | Fix |
|---|---|---|
| `East` and `east ` both appear | Different case or a trailing space | Clean the source with `TRIM`, then paste values back |
| A blank option appears | Empty cells inside the range | Remove blank rows, or end the range at the last data row |
| Dates are listed as text strings | Dates stored as text | Convert to real dates, then use a condition filter |
| Numbers sort as text | Column mixes numbers and text | Make the column one type |
| A new region is missing from the list | The range stops before the new rows | Extend the slicer's data range |
The flat table rules from earlier chapters matter here. One header row, one record per row, one value type per column, no merged cells, no blank rows. Most slicer trouble is a violation of one of those rules.
Problem 4: the slicer range no longer matches the data
A slicer is fixed to a range when you create it. If you wrote Data!A1:F100 and the table now has 400 rows, rows 101 to 400 are not filtered and not controlled. There are two reasons this stays hidden: the slicer still looks normal, and the chart still draws.
Fix it in the slicer's settings by editing the data range. To avoid repeating this, use an open-ended range such as Data!A1:F when you create the slicer and the pivot table. Open-ended ranges grow with the sheet.
Keep one exception in mind. SUBTOTAL formulas need a closed range such as F2:F1000, or an open-ended one like F2:F, which also works and costs a little more to calculate. Choose one style and use it in the pivot table, slicer, and formulas.
Problem 5: several slicers conflict
Slicers combine with AND. If one slicer sets Region = West and another sets Category = Software, the dashboard shows only West software rows. Three things follow from this:
- A slicer list does not shrink to show only the values still possible. A user can pick a combination with no rows and see empty charts.
- A slicer with a condition filter such as "Date is after 2026-01-01" and a values filter on the same column apply together. Reset both when a chart looks empty.
- Slicers on different data ranges do not combine with each other. Each one filters its own range.
Add a "No data" check to KPI cells, as shown above, so an empty combination is clear to the viewer.
Known limits
Slicers are a light filter control, not a full dashboard engine. Plan around these limits:
- One range, one column per slicer. A slicer cannot filter two different columns. Add a second slicer.
- Ordinary formulas are not filtered. Only
SUBTOTAL,AGGREGATE-style hidden-row logic, and the controlled charts and pivot tables respond.SUM,COUNTIF, andQUERYover the source ignore the slicer. - QUERY outputs are not controlled. A QUERY table that feeds a chart will not follow the slicer. Use it for fixed summaries, and use pivot tables for filtered summaries.
- Hidden rows depend on the filter.
SUBTOTALfollows rows hidden by a filter. Do not mix a slicer with manual row hiding in the same range, because the results become hard to explain. - Slicers do not filter other slicers' lists. Lists are not dependent on each other.
- Mobile. The Sheets mobile app can show a dashboard, but slicer use is more limited than on the desktop web version. Test on the devices your viewers use.
- Performance. Large ranges, many pivot tables, and many open-ended
SUBTOTALformulas slow recalculation. If a dashboard feels slow, reduce the number of controlled objects per slicer and narrow ranges to the data you need.
Sharing problems
If a viewer cannot use the slicers, check access before you check the slicer.
- View-only access lets a person see the dashboard. Whether they can change a slicer depends on the version and the sharing mode. If they cannot, share with edit access on a copy, or share the dashboard tab through a separate file.
- Protected ranges can stop slicer changes from being saved. Protect the
Datatab, not the dashboard tab. - Hidden source tab. Hiding
Datais fine. Deleting it, or renaming it, breaks formulas and slicers that point to it. Renaming usually updates references, but check after you do it.
A worked example
A dashboard shows revenue by region. The West slicer is set, the pivot table updates, the bar chart updates, but the KPI cell still shows the full total.
- The pivot table and chart respond, so the slicer's range and column are fine.
- The KPI is the only object that does not respond. Look at its formula:
=SUM(Data!F2:F1000). SUMcounts hidden rows. Replace it with=SUBTOTAL(109, Data!F2:F1000).- Set the slicer to West. The KPI now matches the West total in the pivot table.
Next, a new row 1001 is added and the KPI stops matching the pivot table by one order. The pivot table range is open-ended, but the KPI range ends at row 1000. Change the KPI range to Data!F2:F and the two agree again.
Exercise
A slicer on Region is connected to a pivot table and a bar chart. The bar chart updates, but a scorecard cell with =SUM(Data!F2:F1000) does not. A second chart built on a QUERY formula also does not update. Explain both failures and say how to fix each.
Show answer
The scorecard uses SUM, which counts rows hidden by the slicer. Replace it with =SUBTOTAL(109, Data!F2:F1000). The second chart reads a QUERY result, which is a formula output and not part of the slicer's data range, so the slicer cannot filter it. Build the chart on a pivot table that the slicer controls, or rebuild the summary as a pivot table and connect the chart to it.
Exercise
Your table has grown from 400 to 900 rows. The slicer list is missing a new region, and the order count KPI is 10 lower than the pivot table total. The slicer was created on Data!A1:F400. What do you change, and in what order?
Show answer
First edit the slicer's data range to Data!A1:F (or at least A1:F900) so the new region appears in its list. Then check the KPI range. If it ends at an earlier row than the data, extend it, for example to Data!A2:A, so SUBTOTAL(103, ...) counts every row. Finally compare the KPI with the pivot table total and with a plain COUNTA while no slicer is active. All three should match.