Pivot Table Slicer

Publication Date :

Blog Author :

Edited by :

Download FREE Pivot Table Slicer Excel Template and Follow Along!
Pivot Table Slicer Excel template.xlsx

Table Of Contents

arrow

What Is A Pivot Table Slicer?

A Pivot Table Slicer is a tool in MS Excel that helps us filter the data further, and create a smaller PivotTable from the generated main PivotTable. The data can be presented based on various categories with the help of this slicer, as it offers a way to apply the PivotTable filters that dynamically change the view of the PivotTable data.

For example, we can create a Pivot Table Slicer after generating a Pivot Table using the โ€œInsert โ†’ Slicerโ€ for the required data, as shown below.

Pivot Table Slicer Example 1-4

Key Takeaways

  • Pivot Table Slicers allow us to get a mini-PivotTable of the generated main PivotTable.
  • It helps tofilter the data with a visual selection of the item, like name, region, or any sub-category.
  • In a PivotTable, when we generate a Slicer, by default, it will filter only that particular PivotTable. However, we can link the slicer to multiple PivotTables and display the impact of any changes.
  • Slicer and PivotTables depend on each other when linked using the โ€œReport Connectionsโ€. If we filter one value in the PivotTable, it will also filter the same value in the linked slicer.

How To Create A Pivot Table Slicer In Excel?

Following are the steps to create a PivotTable Slicer in excel: -

  1. Select the data, go to the โ€œInsertโ€ tab, and click the โ€œPivotTableโ€ option.


    Pivot Table Slicer Example 1-1

    The โ€œPivotTable fieldsโ€ dialog displays the fields to be added to the resultant report, which is the dataset for the PivotTable Slicer. In addition, the filter section has a column that acts as a table slicer.
    The columns field denotes the columns to be displayed. The rows section has the table field whose data should be shown for the selected column. Finally, the values field indicates the actual values to display, which the PivotTable is prepared for, e.g., SUM, PRODUCT, AVERAGE, etc.

    Pivot Table Slicer Example 1-2

  2. Now, a PivotTable is created.


    Pivot Table Slicer Example 1-3

  3. Once the PivotTable is ready, go to Insert โ†’ Filters tab โ†’ Slicer.


    Pivot Table Slicer Example 1-4

Examples

We will consider some PivotTable Slicer Examples.

This article must help understand Pivot Table Slicers with its formulas and examples. You can download the template here to use it instantly.

Example #1 -  Display Fruit-wise Sales for Each Country

Pivot Table Slicer Example 1-5

Here, the rows are for each country, and the columns are for each of the fruits, as we need to display the fruit-wise sales figures for each country. Hence, as shown in the figure above, a slicer is created in the category field with two product values: โ€œFruitโ€ and โ€œVegetablesโ€. Since we must display the fruit records, we will select โ€œFruitโ€ from the slicer.

Pivot Table Slicer Example 1-6

On the right side is the โ€œPivotTable Fieldsโ€ window. All those fields that must be considered while preparing the PivotTable are checked. E.g., quantity, product, country, and category. For example, โ€œApple/Banana/Mangoโ€ is the โ€œProductsโ€. Whereas โ€œFruit/Vegetableโ€ is the โ€œCategoryโ€.

The โ€œFiltersโ€ field has the column selected as โ€œCategoryโ€, as we have to choose between fruit or vegetable. The โ€œRowsโ€ section has a โ€œCountryโ€, and the โ€œColumnsโ€ section has โ€œProductโ€. Finally, the โ€œValuesโ€ section has the โ€œSum of Quantityโ€ selected as we have to display the total sales for each fruit across the countries.

The โ€œGrand Totalโ€ column at the end displays the total sales figures for all the fruits for a given country. Likewise, the โ€œGrand Totalโ€ row shows the total sales of a given fruit for all the countries.

Example 1-7

Example #2 โ€“ Monthly Fruit Sales for Each Country

Example 1-8

This extension is explained in Example #1 above. As shown in the above figure, it added the โ€œDateโ€ field to the โ€œFieldsโ€ to add to the report. Likewise, the โ€œRowsโ€ sections add a โ€œDateโ€ field, as the sales figures for each month are displayed.

Example #3 โ€“ Multiple Slicers

Example 2-10

As illustrated in the above figure, multiple slicers are used: the product, country, and category. The โ€œFruitโ€ is selected from the โ€œValuesโ€ category. โ€œMangoโ€ and โ€œAppleโ€ are chosen from the โ€œProductโ€ options. โ€œAustralia,โ€ โ€œCanada,โ€ and โ€œFranceโ€ are selected from โ€œCountryโ€ values.

Consequently, the data displayed in the pivot table on the left contains column data for fruit, โ€œApple,โ€ and โ€œMangoโ€ values. The rows are only for the country options selected.

Important Things To Note

  • It is used to create various views from PivotTable in Excel based on the filters and visualize the dataset in the desired format.
  • For PivotTable data, there may be one or more table slicers. Ideally, more slicers in the PivotTable and more granular data visualization in Excel are possible.
  • A table slicerโ€™s โ€œFieldsโ€ or โ€œValuesโ€ are multi-selectable.
  • Further, we can analyze the data filtered using a slicer.

Frequently Asked Questions (FAQs)

1

What is the purpose of a PivotTable Slicer?

Arrow down filled
2

How to format PivotTable slicers in Excel?

Arrow down filled
3

How to connect two PivotTable Slicers in Excel?

Arrow down filled