Filter data in a PivotTable - Microsoft Support
support.microsoft.com › en-us › officeYou can insert one or more slicers for a quick and effective way to filter your data. Slicers have buttons you can click to filter the data, and they stay visible with your data, so you always know what fields are shown or hidden in the filtered PivotTable. Select any cell within the PivotTable, then go to Pivot Table Analyze > Insert Slicer.