Power Pivot & DAX course · Lesson 1 of 16
What is Power Pivot? Versions, enabling the add-in and a first look
What Power Pivot and the Data Model are, which Excel versions include them (Windows only), how to enable the add-in and a tour of the window.
Most people meet Excel's PivotTable long before they meet Power Pivot. A PivotTable summarises one table, and as long as everything you need sits in that one table, it works beautifully. The trouble starts when the numbers live in one table, the product details in another and the customer details in a third. The usual workaround is to bolt lookup columns onto the sales table until it becomes a wide, fragile monster. Power Pivot is Microsoft's answer to that problem, and this course teaches it from the first click to a finished DAX-driven dashboard.
If you have already read the short introduction Power Pivot and the Data Model: relationships and DAX measures in the Excel course, you have seen the main ideas in one page. Here we slow down, go much deeper and practise every step with small data sets whose results you can check by hand.
What Power Pivot actually is
Power Pivot is three things bundled together:
- The Data Model: a database that lives inside your workbook. Tables you add to it are stored in a compressed, column-by-column format by an in-memory engine (the same engine, called VertiPaq, that powers Power BI and SQL Server Analysis Services Tabular). It is not visible on any worksheet.
- The Power Pivot window: a separate window, opened with Power Pivot › Data Model › Manage, where you see the model's tables, draw relationships between them and add calculations.
- DAX (Data Analysis Expressions): the formula language of the model. DAX looks a little like Excel formulas (
SUM,IF,YEARexist in both) but it works on whole tables and columns, never on cell addresses such asB2.
Strictly speaking, the Data Model exists even without the Power Pivot add-in: when you tick Add this data to the Data Model in the Insert PivotTable dialog, Excel builds a model in the background. The add-in is what gives you full control over that model: the diagram, the measures, the KPIs, the hierarchies, the date table settings.
Why bother?
- Several tables, one report. Relationships let a PivotTable use Region from a Customers table and Category from a Products table at the same time, with no lookup columns.
- Big data. A worksheet stops at 1,048,576 rows. The model has no such row limit; it is limited by memory and file size. Tens of millions of rows are common, because repeating values compress extremely well.
- Reusable measures. A DAX measure such as
Margin %is written once and then works correctly in every PivotTable, at every level, whatever you put on rows or columns. - Calculations PivotTables cannot do. Distinct counts, year-to-date, same period last year, ranking, percent of a parent: all straightforward in DAX.
- Skills that transfer. Power BI uses the same engine and the same DAX language. Everything in this course works there too, usually unchanged.
Which versions of Excel have Power Pivot?
This is the first thing to check, because Power Pivot is not available everywhere. The rule of thumb is simple: you need desktop Excel for Windows.
| Excel version | Power Pivot |
|---|---|
| Microsoft 365 (Windows) | Included. Enable the add-in once (see below). |
| Excel 2019, 2021, 2024 (Windows) | Included in the Windows editions. |
| Excel 2016 (Windows) | Built in, but at launch only some editions had it (for example Professional Plus and standalone Excel). Check the COM add-in list. |
| Excel 2013 (Windows) | Built in only in some editions, such as Professional Plus. |
| Excel 2010 (Windows) | A separate free add-in that had to be downloaded and installed. Its DAX is much older than what this course uses. |
| Excel for Mac | Not available at all. |
| Excel for the web, iPad, iPhone, Android | Not available. These versions can show and use a PivotTable that already sits on a model, but cannot build or edit the model or write measures. |
Enabling the Power Pivot add-in
Even where Power Pivot is included, the Power Pivot tab is often hidden until you switch it on. You only do this once per computer:
- Click File › Options (on a fresh install you may need File › More › Options).
- Choose Add-ins in the left pane.
- At the bottom, open the Manage drop-down, choose COM Add-ins and click Go….
- Tick Microsoft Power Pivot for Excel. You can also tick Microsoft Power Map for Excel later if you want 3D Maps, but it is not needed here.
- Click OK. A new Power Pivot tab appears on the ribbon, usually after the Help tab.
The Power Pivot tab has five groups. Data Model › Manage opens the Power Pivot window. Calculations › Measures and Calculations › KPIs create and manage measures and KPIs. Tables › Add to Data Model sends the current Excel table into the model. Relationships › Detect guesses relationships for you, and Settings controls language and memory options.
A quick tour of the Power Pivot window
Click Power Pivot › Manage. A second window opens with its own ribbon and three main areas:
- Data View (Home › View › Data View): each model table appears as a sheet tab at the bottom, showing its rows. You cannot type into these cells. The data comes from the source and is replaced at each refresh.
- The Calculation Area: the grid of empty cells below the data in Data View. Measures can be typed and stored here. Show or hide it with Home › View › Calculation Area.
- Diagram View (Home › View › Diagram View): every table is drawn as a box listing its columns, with lines for the relationships. This is the best place to understand and build a model.
The window's ribbon has a Home tab (getting data, refresh, sorting, formatting, views), a Design tab (adding columns, relationships, marking a date table) and an Advanced tab (perspectives, default field sets). If you do not see the Advanced tab, choose File › Switch to Advanced Mode inside the Power Pivot window.
A first taste: two tables, one PivotTable
Here is a tiny sales table. Notice that it has a CustomerID but no Region. Region lives in a separate Customers table, exactly the way a real company's systems store it.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | OrderID | Date | CustomerID | ProductID | Qty | Amount |
| 2 | 1001 | 2026-01-05 | C1 | P1 | 2 | 1900 |
| 3 | 1002 | 2026-01-12 | C2 | P2 | 10 | 120 |
| 4 | 1003 | 2026-01-20 | C3 | P3 | 3 | 567 |
| 5 | 1004 | 2026-02-02 | C1 | P4 | 5 | 175 |
| 6 | 1005 | 2026-02-09 | C4 | P5 | 4 | 1680 |
| 7 | 1006 | 2026-02-17 | C2 | P1 | 1 | 950 |
| 8 | 1007 | 2026-03-03 | C3 | P2 | 20 | 240 |
| 9 | 1008 | 2026-03-10 | C4 | P3 | 2 | 378 |
| 10 | 1009 | 2026-03-18 | C1 | P5 | 1 | 420 |
| 11 | 1010 | 2026-03-25 | C2 | P4 | 6 | 210 |
Sales: one row per order line. Format it as an Excel table (Ctrl+T) named Sales.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | CustomerID | Customer | Region | Segment |
| 2 | C1 | Anna Weber | North | Consumer |
| 3 | C2 | Brook Dental | South | Business |
| 4 | C3 | Carter & Co | East | Business |
| 5 | C4 | Delta Schools | West | Business |
Customers: one row per customer. Excel table named Customers.
Without the Data Model you would add an XLOOKUP column to Sales to bring in Region. With it, you load both tables into the model, tell Excel that Sales[CustomerID] points to Customers[CustomerID], and build a PivotTable with Customers › Region in Rows and Sales › Amount in Values. The result comes straight from the relationship:
| A | B | |
|---|---|---|
| 1 | Region | Sum of Amount |
| 2 | East | 807 |
| 3 | North | 2495 |
| 4 | South | 1280 |
| 5 | West | 2058 |
| 6 | Grand Total | 6640 |
PivotTable from the Data Model: Region from Customers, Sum of Amount from Sales. No lookup column exists anywhere.
Check one number yourself: Anna Weber (C1) is the only North customer, and her orders 1001, 1004 and 1009 total 2,495. The next lesson, The Data Model and relationships: star schema and filter direction, explains exactly how the relationship makes this work, and Importing data into the Data Model: tables, Power Query and databases shows every way to get tables into the model.
Key words used in this course
| Term | Meaning |
|---|---|
| Data Model | The in-workbook database that stores tables and relationships. |
| Power Pivot | The add-in and window used to manage the model. |
| Relationship | A link between a key column in one table and a matching column in another. |
| Measure | A named DAX formula that is calculated for each PivotTable cell, such as Revenue or Margin %. |
| Calculated column | A DAX formula evaluated once per row and stored in a table, like a formula column. |
| DAX | The formula language of the model, Power BI and Analysis Services. |
| Filter context | The set of filters (from rows, columns, slicers) that a measure sees in a particular PivotTable cell. |
How this course is organised
Lessons 1 to 5 build the foundations: the model, relationships, importing, the difference between columns and measures, and your first measures. Lessons 6 to 11 cover the ideas that make DAX click: filter and row context, CALCULATE, removing filters, iterators, RELATED and a proper calendar table. Lessons 12 to 16 are advanced: time intelligence, variables, KPIs and hierarchies, cube formulas and a complete project. Every lesson uses the same small, realistic data so that you can recompute each result with a calculator and see that the DAX is right.
Check yourself
1. Which of these can create DAX measures?
Power Pivot exists only in desktop Excel for Windows.
2. Where do you switch the Power Pivot add-in on?
Power Pivot is a COM add-in, so it is enabled in the COM Add-ins dialog.
3. What is the Data Model?
The model stores tables in a compressed, columnar, in-memory format inside the file.
4. Why is 64-bit Excel recommended for Power Pivot?
Large models need memory; 64-bit removes the 2 GB ceiling.
5. Which view shows tables as boxes with relationship lines?
Diagram View is where relationships are drawn and inspected.