Fix Excel Slicer Excluding Selected Items Instead of Filtering
Question details
The user needs to fix an Excel slicer that is incorrectly excluding selected items from the PivotTable results instead of showing only those items.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Filtering PivotTable data using a slicer.
- Observed behavior
- When an item (such as a specific year) is selected in the slicer, it is removed from the PivotTable results rather than filtering the table to display only that item.
Before deleting any slicers, verify that your PivotTable is connected to the correct data source and ensure no manual row filters are conflicting with the slicer.
Recreate the Excel Slicer
The most reliable way to resolve unexpected inverse filtering behavior is to delete the malfunctioning slicer and insert a new one.
Occasionally, slicer caches can become corrupted or retain conflicting settings that cause inverse filtering behaviors. Deleting and recreating the slicer resets the filter cache and restores the default filtering behavior.
Click on the border of the problematic slicer to select it, then press the Delete key on your keyboard.
Click anywhere inside the connected PivotTable to activate the PivotTable Analyze (or Options) tab on the ribbon.
Navigate to the Insert tab or PivotTable Analyze tab, and click on 'Insert Slicer'.
In the Insert Slicers dialog box, check the box next to the field you want to filter (e.g., Year) and click OK.
Click a button on the new slicer to ensure it now correctly filters the PivotTable to show only the selected item.

Use WPS Spreadsheet for Flawless PivotTable Filtering
WPS Spreadsheet provides robust, reliable PivotTables and slicers that work exactly like you expect. You can quickly visually filter data sets without encountering unexpected exclusion bugs.
- 1. Open your workbook: Launch WPS Spreadsheet and open your .xlsx file containing the PivotTable data.
- 2. Access PivotTable Tools: Click on any cell within your PivotTable to activate the PivotTable Tools tab on the top ribbon.
- 3. Insert a Slicer: Click 'Insert Slicer' from the toolbar, select the desired fields from your dataset, and click OK.
- 4. Filter your data: Click on the generated slicer buttons to instantly and accurately filter your PivotTable data.

Frequently Asked Questions
Why is my Excel slicer not affecting the PivotTable?
This usually happens if the slicer has lost its connection to the PivotTable. To fix this, right-click the slicer, select 'Report Connections', and ensure the checkbox next to your target PivotTable is ticked.
How do I select multiple items in an Excel slicer?
You can hold down the Ctrl key while clicking on different items in the slicer to select multiple values. Alternatively, click the 'Multi-Select' button (the icon with three checkmarks) located at the top of the slicer header, then click the items you want.
How do I clear all filters from a slicer?
To remove all filters and show all data, click the 'Clear Filter' icon (a funnel with a red 'X') at the top right corner of the slicer window, or select the slicer and press Alt + C on your keyboard.




