Introduction to Pivot Table in Excel - Advanced
In the previous blog post, we learned the Basics of Pivot Table in Excel. In this blog post, we will explore some of the advanced features of pivot tables, such as slicers, timelines, calculated fields, pivot charts, managing relationships, etc. These features can help you change your existing pivot table and create different views of your data every time.
Slicers
Slicers are used to filter your data by selecting specific values from a field. For example in this data table, we have a column named Product (Crayons, Geometry Box, Paper, Pen, Stapler, Sticky Notes) you can use a slicer to show only the data for a particular product or products.
Steps to add a Slicer: Select your pivot table ➡️ PivotTable Analyze ➡️ Click on "Insert Slicer" ➡️Choose the field for the slicer.
A slicer window will appear, where you can select a field and a slicer will be inserted. You can select one option or multiselect by holding down the CTRL key while making your selections.
You can also clear the filters or format, change the slicer settings, as per your requirement by selecting your PivotTable and then click on Slicer tab to get more formatting options
Timelines
Timelines are similar to slicers, but they are used to filter your data for a specific time period or periods.. A timeline can only be inserted when the data has a date column in it.
Steps to add Timeline: Select your pivot table ➡️ PivotTable Analyze ➡️ Click on "Insert Slicer" ➡️Choose the date field for timeline.
A timeline window will appear, where you can select a time range or ranges from the date field. The pivot table will be updated to show only the data for the selected time range. The timeline also allows you to group the dates by months, quarters, or years.
Note: You can insert both slicers and timelines by right-clicking on desired field in the pivot table and then choosing the "Add as Slicer" or "Add as Timeline" option.
Pivot Charts
Pivot Charts are your go-to tool for translating data into visual insights. They dynamically sync with your pivot table, allowing you to instantly visualize data.
Steps to add Pivot Charts: Select your pivot table ➡️ PivotTable Analyze tab ➡️ Click on "PivotChart."➡️ Choose the chart type ➡️
You can also customize the layout, format, and design as needed.
Calculated Fields
Calculated fields are used to create new fields based on the existing fields in the pivot table. They can help you perform calculations and analysis on the data. For example, in this data set that shows the cost and revenue of different products, you can use a calculated field to create a new field that shows the profit margin of each product.
![]() |
Insert the correct formula for calculated field. |
![]() |
This calculated field can be used in pivot table as well. |
Managing relationships
Relationships are used to connect two or more tables that have common fields. They can help you create pivot tables from multiple data sources. For example, if you have two tables that show the sales and customer details of different products, you can use a relationship to create a pivot table that shows the sales and customer information for each product.
How to Manage Relationships:
Click on "Manage Data Model" to open the Power Pivot window ⬇️
Explore, create, edit, or delete relationships using the buttons on the Home tab ⬇️
Create a pivot table from multiple tables by going to the Insert tab, selecting "PivotTable," and choosing the "Use this workbook’s Data Model" option.
In conclusion, these advanced features of Pivot Tables help you to elevate your data analysis skills to new heights. Thank you for reading!
Comments
Post a Comment