PivotTable and Grouping For Data Analysis - Reading Material
PivotTable and Grouping For Data Analysis - Reading Material
PivotTable and
Grouping for Data
Analysis
Table of Contents
5. Slicers in PivotTable.......................................................................................................................................... 7
In this module, you will learn the PivotTable and grouping for data analysis in detail.
Learning Objectives
➢ PivotTable is an option that helps analyze the data in interesting ways and adds different
levels.
➢ The PivotTable option is at the insert tab, where you have the option of PivotTable.
➢ The main idea of having the PivotTable is to analyze the data much more quickly and create
an excellent present table.
➢ Calculated fields in the PivotTable are to do calculations and create new fields based on the
existing ones.
➢ The Calculated Field in PivotTable helps to create new fields from the existing field. For
example, to calculate profit-ratio, you need to create a new field called profit-ratio, which will
be the division of two existing fields, that is, profit by the sales.
➢ Similarly, you can create calculations like net profit; it will be the subtraction of two existing
fields: Rrevenue minus Eexpenses.
➢ The option is to create and set the Calculated Ffield from the field items.
➢ On clicking the Calculated Field, you will get a pop-up where you can give the field name and
create your formula again.
Figure 2.2 Calculated Field in PivotTable
➢ Grouping the data leads to creating the bins in the data, specifically in the numerical columns.
➢ Group will lead to the creation of the bins, which gives an understanding of the frequency
distribution.
➢ For example, say, there is a column called sales. If you do a group on the sales column, it will
generate a bill-like structure. For example, let's say youwe have sales varying from $1 to
$1,000. So, thethat sales amount will be further divided into bins. BSo, based on the bins, the
total values will be seen in the data.
➢ The transactions where the sale size was between $1 one andto $10 can be calculated and is
known as frequency distribution.
Figure 2.3 Example- Grouping of sales data
4. GetPivotData Function
In this topic, you will learn the function called Get Pivot Data.
➢ Get Pivot Data fFunction fixes the value for the calculation. There is an option to disable this
also.
➢ GetPivotData function will help to do some calculations and fix one of the cells in the
calculation., the.
➢ However, sometimes it may cause some issues as well. So, it must be disabled by unchecking
the option of Generate GetPivotData.
➢ Slicers are like an easy filter in PivotTable. The option is Insert Slicer in the Excel sheet.
➢ The slices are created to make the analysis quick and simple.
➢ It helps to select the values more quickly so that data can be rapidly analyzed.
6. PivotTable Timeline
➢ PivotTable Ttimelines are like easy filters for the dates in the PivotTable.
➢ Different years, quarters, etc., can be selected from the Ttimeline so that the data can be seen
at that specific timeline.
➢ Formatting the PivotTable option will help the user present the data appropriately so that
the end user will understand the information quickly.
➢ Once the PivotTable is created, there is a chance to design the table in Excel.
➢ The Vvalue Ffield Ssettings will help the end user change the data aggregation based on the
requirement.
➢ The data can be seen at various aggregations like sum, count, average, etc.
➢ The purpose of grouping and ungrouping is to take care of the rows and columns to hide or
unhide.
➢ Group and Ungroup will group the rows and columns as per the requirement.
➢ The primary purpose of grouping and ungrouping is to have a display in a proper format.
➢ The Subtotal will add the values based on the subsections of the data.
➢ Subtotal will make the groups, and the data will be seen.
➢ In the Data tab, you will get Group, Ungroup, and Subtotal options (Figure 2.9).