Power Query – Power Pivot Overview
Module 5: Power Pivot Overview
Objective
In this module, you’ll get an introduction to Power Pivot and learn how to build a basic data model from Power Query output.
Files Used
What is Power Pivot?
Power Pivot is an Excel add-in that allows you to build relationships between tables and perform advanced data analysis using the Data Model.
It works seamlessly with Power Query by allowing you to load cleaned and transformed data directly into the Data Model.
Enabling Power Pivot
Steps:
- In Excel, go to the File tab → Options
- Select Add-ins
- At the bottom, next to Manage, choose COM Add-ins and click Go
- Check Microsoft Power Pivot for Excel → Click OK
- You will now see a Power Pivot tab in the Excel ribbon
Loading Data to Power Pivot
Steps:
- Import the file PowerPivot_SalesData.xlsx via Power Query
- In the Power Query Editor, click Close & Load To...
- In the import dialog, select:
- Only Create Connection
- Check Add this data to the Data Model
- Click OK
Opening the Power Pivot Window
Steps:
- Go to the Power Pivot tab in Excel
- Click Manage
- This opens a separate Power Pivot window showing the data model
Creating Relationships
Steps:
- If you have multiple tables in the model, go to the Diagram View
- Drag fields from one table to another to create relationships (e.g. Customer ID → Customer ID)
- You can also go to the Design tab → Create Relationship
Adding Measures (DAX)
You can create calculated fields (measures) using DAX (Data Analysis Expressions).
Steps:
- In the Power Pivot window, click into the bottom row of the table
- Type a formula, e.g.:
Total Revenue := SUM([Revenue])
- Press Enter — the measure will appear in the model and can be used in PivotTables
Using Power Pivot in PivotTables
Steps:
- Go to Excel → Insert → PivotTable
- In the dialog, select Use this workbook’s Data Model
- Choose fields from your Power Pivot tables to build a PivotTable with relationships
→ Continue to Module 6: Summary and Final Exercises
Return to Main Page