Pivot Table Issues

How to Keep a Top 5 Filter After Clearing a PivotTable Slicer

Olivia MillerOlivia Miller Nov 10, 2026 869 views

Question details

The user wants to prevent a PivotTable or PivotChart from resetting its Top 5 value filter when a connected slicer is cleared.

How to Keep a Top 5 Filter After Clearing a PivotTable Slicer
Product
Spreadsheets
Device & OS
not provided
Scenario
Filtering data using a slicer on a dashboard that includes a Top 5 PivotChart.
Observed behavior
Clearing the slicer removes the Top 5 value filter, causing the PivotTable and PivotChart to display all items instead of maintaining the Top 5 view.
Before you start

Check your PivotTable setup to identify which specific fields have the Top 5 value filter applied, and locate the slicers connected to your report.

Solution 1Recommended

Use a Separate PivotTable and Disconnect the Slicer

The most reliable way to prevent slicers from clearing your Top N filter is to use an independent PivotTable dedicated exclusively to the Top 5 chart.

Because slicers and value filters often interact dynamically, clearing a slicer can reset the visibility of all items in the PivotTable. By creating a separate PivotTable for your Top 5 chart and disconnecting the slicer from it, you isolate the chart from the slicer's reset behavior.

1
Duplicate the PivotTable

Select your existing PivotTable, copy it, and paste it into a new area or worksheet.

2
Apply the Top 5 Filter

In the new PivotTable, right-click the row field, select 'Filter', then 'Top 10'. Change the value to 5 and click OK.

3
Create the PivotChart

Select the new PivotTable, navigate to the Insert tab, and insert your desired PivotChart for the Top 5 view.

4
Disconnect the Slicer

Right-click the slicer, choose 'Report Connections' (or 'PivotTable Connections'), and uncheck the box for the newly created Top 5 PivotTable. Click OK.

Use a Separate PivotTable and Disconnect the Slicer
Pro Tip: You can continue to use the slicer for the original detailed report while your Top 5 chart remains perfectly intact and unaffected.
Advanced PivotTable Management

Create and Manage PivotTables with WPS Spreadsheet

WPS Spreadsheet offers robust PivotTable features, allowing you to easily manage value filters, insert slicers, and create dynamic dashboards without losing your report structures. It handles complex data analysis tasks effortlessly.

  1. 1. Insert a PivotTable: Open your workbook in WPS Spreadsheet, select your data range, go to the Insert tab, and click 'PivotTable'.
  2. 2. Apply a Top 10 Filter: Click the row label drop-down arrow in your PivotTable, select 'Value Filters', choose 'Top 10', and adjust the number to 5.
  3. 3. Add a Slicer: Navigate back to the Insert tab and click 'Slicer' to add visual filtering to your report.
  4. 4. Manage Slicer Connections: Right-click the inserted Slicer, select 'Report Connections', and check or uncheck the PivotTables you want to link.
Fully compatible with Microsoft Excel (.xlsx) PivotTables and slicer configurations.Intuitive interface for managing Report Connections and value filters.Lightweight software that handles large datasets and dashboards smoothly.Free to use with comprehensive chart and visualization tools.
microsoft office alternative - wps office

Frequently Asked Questions

Why does clearing a slicer remove my value filters in a PivotTable?

Slicers and value filters interact on the same data cache. When a slicer is cleared, it sends a command to refresh the filter state across the data source, which can sometimes override or reset specific value filters (like a Top 5 filter) applied to the same fields.

Can I apply a slicer to a PivotChart without affecting the PivotTable?

No. In spreadsheet software, slicers directly control the underlying PivotTable, and the PivotChart simply reflects that PivotTable's data. To separate their behaviors, you must create a dedicated PivotTable specifically for the chart.

Is the 'Top 10' PivotTable filter customizable?

Yes. Despite the default name 'Top 10', you can adjust the numerical parameter to any number (such as 3, 5, or 20) and choose whether to filter by the top or bottom items in the menu settings.