How to Create a Power PivotTable in Excel?
Last Updated :
03 Jan, 2023
When we have to compare the data (such as name/product/items, etc.) between any of the columns in excel then we can easily do with the help of Pivot table and pivot charts. But it fails when it comes to comparing those data which are in two different datasets, at that time Power Pivot comes into role. So, Basically, Power Pivot is useful for comparisons of those data which are in two or more different datasets. Power pivot is useful to perform strong data analysis and create data models also. The main use of this is to mash up a large volume of data from different insights and perform different types of analysis very quickly.
Example: For more clarification, let’s understand with one example,
Step 1: First, take any data sets in which you want to compare those data which are in different datasets. Let’s say here, we are taking three different datasets Orders, products, and returns. and our aim is to find the total sum of sales in each region.
Dataset 1: Here we are taking the first dataset of name order.
Dataset 2: Here we are taking the second dataset of name Product.
Dataset 3: Here we are taking the third dataset of name Return.
Convert the whole data into table form (First, select the whole data and press ctrl + T). then it looks like the images mentioned above.
Step 2: Our task is to find the total sum of sales in each region, and we can notice that sales and region columns are not in the same datasets, so we need to apply some relationships in power pivot, by which we can include the common things between each dataset, such as if you notice in all these three tables then [Order_id] is common between Order dataset and Return dataset. Similarly, [Product_id] is common between the Order dataset and the Product dataset. So, in this way we connect these three datasets together, which means now we can do visualization and compare anything between these three datasets.
Step 3: For this now click on Power Pivot on the top of the ribbon. Now in the Tables group. Select the Add to Data Model option. Then a new page of Power Pivot will be open.
Here you can see the Power pivot of the Order Table.
Follow the same steps and now you can see the Power Pivot of the Product Table.
Follow the same steps and now you can see the Power Pivot of Return Dataset.
Step 4: Go to the power pivot table slide and select the Design tab on the top of the ribbon. Then from the relationship group select Create Relationship.
Create the first relationship, Choose [Order_id] from the Order dataset and [Order_id] from the Return dataset.
Similarly, create a second relationship and choose [Product_id] from the Order dataset and [Product_id] from the Product dataset.
Then at the end we can check or view our active relationships by going to the option “Manage relationship”, your all-active relationships are shown there.
Step 5: In the power pivot window, go to the ‘Home’ tab on the top of the ribbon and then Click on Pivot Table.
Then it will show you a Create PivotTable dialog box, whether you want it in a new sheet or not. Here we are selecting a new worksheet, and then Click Ok.
Then it will be redirecting you to a new sheet automatically.
Step 6: Now select the “Region” in “Rows” and “Sales” in “Value”.
So, with the help of Power Pivot, we did our task which is, to show the Sum of sales region-wise.
Similar Reads
How To Create A Pictograph In Excel?
The Pictograph is the record consisting of pictorial symbols. Generally, in mathematics, it is represented by the help of graphs with pictures or icons representing certain quantities or numbers of people, books, etc. It is also known as pictogram, pictogramme, pictorial chart, picture graph, or sim
3 min read
How to Create Pivot Table in Excel using Java?
A pivot table is needed to quickly analyze data of a table with very little effort (and no formulas) and sometimes not everyone has time to look at the data in the table and see whatâs going on and use it to build good-looking reports for large data sets in an Excel worksheet. Let's discuss a step-b
5 min read
How to Create Pivot Tables in R?
In this article, we will discuss how to create the pivot table in the R Programming Language. The Pivot table is one of Microsoft Excel's most powerful features that let us extract the significance from a large and detailed data set. A Pivot Table often shows some statistical value about the dataset
2 min read
How to Create Relational Tables in Excel?
Excel directly doesn't provide us ready to use a database, but we can create one using relationships between various tables. This type of relationship helps us identify the interconnections between the table and helps us whenever a large number of datasets are connected in multiple worksheets. We ca
4 min read
How to Add a Calculated Field to a Pivot Table in Excel
A Calculated Field in Pivot Table allows you to perform custom calculations within your Excel Pivot Table, giving you more flexibility and deeper insights into your data. Whether you need to add a custom formula, modify existing calculations, or remove a field, this guide walks you through the essen
5 min read
How to Create a Contingency Table in Excel
A contingency table, also known as a crosstab is used to show the relationship between two categorical variables. In Excel, we can make a contingency table using the pivot table function. They are best for summarizing the relationship between categorical variables. A Contingency table is just like a
4 min read
How to Sort a Pivot Table in Excel : A Complete Guide
Sorting a Pivot Table in Excel is a powerful way to organize and analyze data effectively. Whether you want to sort alphabetically, numerically, or apply a custom sort in Excel, mastering this feature allows you to extract meaningful insights quickly. This guide walks you through various Pivot Table
7 min read
How to Flatten Data in Excel Pivot Table?
Flattening a pivot table in Excel can make data analysis and extraction much easier. In order to make the format more usable, it's possible to "flatten" the pivot table in Excel. To do this, click anyplace on the turn table to actuate the PivotTable Tools menu. Click Design, then Report Layout, and
7 min read
How to Create a Two-Variable Data Table in Excel?
Two-Variable Data Table is a very significant tool for what-if data analysis. With the help of two-variable data tables, we can find all possible trends that can arrive by changing different values. For example, if we know the annual sales of a company, its percentage of expenses and growth. So, by
2 min read
How to Create a Thermometer Chart in Excel?
The Thermometer chart in Excel can be used to depict specific data based on the actual value and the target value. It can be used in a wide range of scenarios such as representing the past performance of horses in horse racing or the global temperature and it's variation throughout decades etc. In t
2 min read