Sub topic 13
Troubleshoot Slicers and Know Their Limits
Assume you know how to create a slicer, pivot table, chart, and basic formula in Google Sheets. This chapter focuses on tracing a filter from the slicer to the objects it controls.
A slicer is a visual filter for a data range. It filters pivot tables and charts that use the slicer's range. It does not automatically filter every formula or every object on the sheet.
Follow the filter path
When a slicer appears to do nothing, check the entire path:
The slicer must use the same source range as the pivot table or chart. A chart based on a pivot table can update when the pivot table updates. A chart based on a different range will not.
Check the source range
Open the slicer's menu and choose its settings. Confirm the data range includes the header row and all records. For example, a range such as Data!A1:F1000 includes the headers and leaves room for new rows.
Then compare that range with the pivot table's source range. These ranges must describe the same dataset. A common error is using Data!A1:F500 for the slicer while the pivot table uses Data!A1:F1000.
Also check the column selected in the slicer. The column must contain the values you expect to filter, such as Region, Category, or Order Date.
Check the connected objects
A slicer can control selected pivot tables and charts, not every chart in the file. Select the slicer, open its more-options menu, and inspect the option for applying the filter to pivot tables or charts. Add the objects that should respond.
A chart may still fail to change if its source is a manually typed summary table or a formula-generated table. Rebuild the chart from a connected pivot table when the dashboard needs slicer-controlled charting.
Formula limits
An ordinary formula does not automatically know that a slicer has hidden rows. For example, this formula can continue to total all source rows:
=SUM(Data!F2:F1000)Use SUBTOTAL for a KPI that should follow rows hidden by filtering. Function code 109 means sum visible values. Function code 103 counts visible nonblank cells.
=SUBTOTAL(109, Data!F2:F1000)=SUBTOTAL(103, Data!A2:A1000)You can calculate average order value while avoiding a divide-by-zero error:
=IFERROR(SUBTOTAL(109, Data!F2:F1000) / SUBTOTAL(103, Data!A2:A1000), 0)QUERY, FILTER, and ordinary SUM formulas are useful for summaries, but do not assume that a slicer controls them. If a formula must respond to a slicer, test it with a filter and compare its result with the visible rows.
> callout note > A slicer is not a universal dashboard variable. It controls compatible charts and pivot tables, while formulas need their own filtered-row logic.
Common failure patterns
| Symptom | Likely cause | Fix |
|---|---|---|
| Pivot table does not change | Different source range or missing connection | Match the ranges and add the pivot table to the slicer's scope |
| Chart does not change | Chart uses an unrelated range | Build the chart from a connected pivot table |
| KPI stays constant | Formula counts hidden and visible rows alike | Replace `SUM` or `COUNTA` with an appropriate `SUBTOTAL` |
| Date filter shows unexpected values | Dates are text or mixed with timestamps | Convert the column to real dates and use one consistent format |
| New records are missing | Source range ends before the new rows | Extend the range or use a sufficiently large bounded range |
Know the practical limits
Keep one clean source table per dashboard. Avoid blank rows, merged cells, and mixed value types in a column. A slicer cannot repair inconsistent source data.
Slicers also do not replace access control. A viewer who can access the spreadsheet may be able to inspect the underlying data, even if the dashboard currently hides some rows. Share only the data that each audience is allowed to see.
Exercise
A slicer changes the pivot table but not the revenue KPI. The KPI formula is =SUM(Data!F2:F1000). What should you try first?
Show answer
Replace it with =SUBTOTAL(109, Data!F2:F1000), then test the result with two different slicer selections.