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.

Beginner 15 min read

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, YEAR exist in both) but it works on whole tables and columns, never on cell addresses such as B2.

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 versionPower 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 MacNot available at all.
Excel for the web, iPad, iPhone, AndroidNot 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.
Watch out. Excel for Mac has no Power Pivot. Mac users who need this course can run Excel for Windows in a virtual machine (for example Parallels) or use Power BI Desktop, which is free but also Windows only. A workbook built on a Windows PC opens on a Mac, and its PivotTables can usually be refreshed or filtered, but the measures cannot be edited there.
Note. Prefer 64-bit Excel. The model lives in memory, and 32-bit Excel can use only about 2 GB of it, which a few million rows can exhaust. Check your version in File › Account › About Excel: the first line ends with 32-bit or 64-bit.

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:

  1. Click File › Options (on a fresh install you may need File › More › Options).
  2. Choose Add-ins in the left pane.
  3. At the bottom, open the Manage drop-down, choose COM Add-ins and click Go….
  4. 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.
  5. 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.

Tip. If Microsoft Power Pivot for Excel is not in the COM Add-ins list, your edition does not include it. If it is ticked but the tab still does not appear, go back to the Manage drop-down, choose Disabled Items, click Go…, and enable it there. Excel disables add-ins that crashed during start-up.

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.

ABCDEF
1OrderIDDateCustomerIDProductIDQtyAmount
210012026-01-05C1P121900
310022026-01-12C2P210120
410032026-01-20C3P33567
510042026-02-02C1P45175
610052026-02-09C4P541680
710062026-02-17C2P11950
810072026-03-03C3P220240
910082026-03-10C4P32378
1010092026-03-18C1P51420
1110102026-03-25C2P46210

Sales: one row per order line. Format it as an Excel table (Ctrl+T) named Sales.

ABCD
1CustomerIDCustomerRegionSegment
2C1Anna WeberNorthConsumer
3C2Brook DentalSouthBusiness
4C3Carter & CoEastBusiness
5C4Delta SchoolsWestBusiness

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:

AB
1RegionSum of Amount
2East807
3North2495
4South1280
5West2058
6Grand Total6640

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

TermMeaning
Data ModelThe in-workbook database that stores tables and relationships.
Power PivotThe add-in and window used to manage the model.
RelationshipA link between a key column in one table and a matching column in another.
MeasureA named DAX formula that is calculated for each PivotTable cell, such as Revenue or Margin %.
Calculated columnA DAX formula evaluated once per row and stored in a table, like a formula column.
DAXThe formula language of the model, Power BI and Analysis Services.
Filter contextThe 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.

Tip. Follow along in a blank workbook: type the Sales, Products and Customers tables from the lessons, format each as a table with Ctrl+T (Cmd+T does not help here, since Power Pivot is Windows only) and give each a name in Table Design › Table Name. Naming tables before they enter the model saves a lot of renaming later.

Check yourself

1. Which of these can create DAX measures?

2. Where do you switch the Power Pivot add-in on?

3. What is the Data Model?

4. Why is 64-bit Excel recommended for Power Pivot?

5. Which view shows tables as boxes with relationship lines?