---
title: "Power Pivot in Excel: enable it, build a model, write DAX"
url: "https://www.datafuji.com/en/power-pivot"
lang: en
translations:
  fr: "https://www.datafuji.com/power-pivot"
  pt-BR: "https://www.datafuji.com/pt-br/power-pivot"
  es: "https://www.datafuji.com/es/power-pivot"
  de: "https://www.datafuji.com/de/power-pivot"
  it: "https://www.datafuji.com/it/power-pivot"
updated: 2026-12-02
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://www.datafuji.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

- [Home](https://www.datafuji.com/en)

- [Blog](https://www.datafuji.com/en/blog)

- Power Pivot

# Power Pivot in Excel: enable it, relate your tables and write your first DAX measures

Published December 2, 2026 · Updated December 2, 2026 · 13 min read

[Dylan Arnaud](https://www.datafuji.com/en/about#dylan-arnaud), founder of Datafuji

Power Pivot is the Excel for Windows add-in that relates several tables in a data model and calculates metrics on them in DAX, beyond the million-row limit of a worksheet.

You enable it once and for all under File › Options › Add-ins. Data reaches it after going through [Power Query](https://www.datafuji.com/en/power-query), which imports and cleans it.

## What is Power Pivot?

Power Pivot is Excel’s data modeling technology: it stores several tables in one model, relates them through shared columns and calculates measures that PivotTables read.

An Excel worksheet holds one long list. To cross sales with a customer file and a product file, you then copy columns across with VLOOKUP, row by row. Power Pivot works differently: each table stays whole, and a relationship states how they match.

It has three parts:

- The data model, stored in the workbook and compressed in memory. This is what goes beyond the 1,048,576 rows of a worksheet.

- Relationships between tables, for example between the Customer column of sales and the customer table.

- Measures, named formulas written in DAX (Data Analysis Expressions), the model’s calculation language.

It sits between two neighboring tools, which the chart puts in order: Power Query upstream, the PivotTable downstream.

![Three-step diagram, left to right. 1, Power Query: import and clean files, exports and databases. 2, in blue, Power Pivot: relate the tables in the data model and calculate measures in DAX. 3, the PivotTable: display the measures by month, customer or product. Under steps 2 and 3, a band notes that Power BI Desktop uses the same engine and the same DAX language.](https://www.datafuji.com/img/en/power-pivot/power-pivot-01.svg)

*Power Query prepares, Power Pivot relates and calculates, the PivotTable displays; Power BI takes over the last two steps.*

Microsoft states that this model uses the same technology as Power BI. A Power Pivot workbook is therefore the best preparation for a [Power BI data model](https://www.datafuji.com/en/power-bi-data-model) : tables, relationships and measures carry over as they are.

## How do I get to Power Pivot in Excel?

Power Pivot is installed with Excel for Windows but turned off by default: you enable it once among the COM add-ins, and the Power Pivot tab then stays on the ribbon.

- Open File › Options › Add-ins.

- At the bottom, in the Manage box, choose COM Add-ins, then click Go.

- Check the Power Pivot add-in (its label varies by version, for example “Microsoft Power Pivot for Excel”), then click OK.

The Power Pivot tab appears. Its Manage button opens the model window, with two views: Data View, which shows each table, and Diagram View, which shows the relationships.

### Which Excel versions include it

As of December 2, 2026, Microsoft’s Power Pivot page applies to Excel for Microsoft 365, Excel 2024, 2021, 2019 and 2016. What you have depends mostly on how Excel was bought:

| Excel | Power Pivot | Note |
| --- | --- | --- |
| Microsoft 365 on Windows (subscription) | Yes | Open to every subscription since 2018, consumer plans included |
| Excel 2019, 2021, 2024 on Windows | Yes | Add-in to enable |
| Excel 2013 and 2016, perpetual license | Depends on the edition | The 2018 expansion was not carried back to these versions |
| Excel for Mac | No | Not available, per Microsoft; only Power Query exists there, with fewer features |

On a Mac, going through Windows remains the only route, as for Power BI Desktop: our guide to [Power BI on Mac](https://www.datafuji.com/en/power-bi-mac) compares the options.

### Why does my Excel not have Power Pivot?

Three causes cover almost every case:

- The add-in is not checked. It never is by default: follow the three steps above.

- Excel disabled it. After a crash with the Power Pivot window open, Excel can set it aside. In File › Options › Add-ins, choose Disabled Items in the Manage box, select Power Pivot and click Enable.

- Your version does not have it. Excel for Mac, or Excel 2013 or 2016 bought in an edition without the add-in.

If the add-in is still missing after being re-enabled, Microsoft describes a fix in the Windows registry, best left to your IT team.

## How do you build a data model with Power Pivot?

A model takes four steps: load each table into the model, add a calendar, relate the tables through their keys, then build the PivotTable on the model.

Take the example SME, a fictional French distribution and services company with €23,500k in annual revenue excluding VAT. Suppose it issues 350,000 invoice lines a year. Three years of history no longer fit on a worksheet:

Rows 2024-2026 = 3 × 350,000 = 1,050,000 Worksheet limit = 1,048,576 Overflow = 1,424 rows

In the data model, the same table takes a fraction of its raw size, and the limit is close to 2 billion rows per table.

### 1. Load the tables into the model

Each source becomes a model table, without going through a worksheet:

- From Power Query, the recommended route: Home › Close & Load To…, choose “Only Create Connection” and check “Add this data to the Data Model”.

- From a table on the sheet: click inside it, then Power Pivot › Add to Data Model.

The company loads three tables this way: Sales (one row per invoice line: date, customer number, product code, amount excluding VAT, margin), Customers (one row per customer) and Products (one row per code, with its product family).

### 2. Add a calendar

Period calculations (months, year-to-date, prior year) need a complete date table: one day per row, with no gaps, from January 1, 2024 to December 31, 2026, that is 366 + 365 + 365 = 1,096 days. Create it in Power Query or on a sheet, load it into the model, then in the Power Pivot window, on the Design tab, click Mark as Date Table.

### 3. Relate the tables

In Home › Diagram View, drag the Sales column onto the matching column of the other table. The chart shows the result: a star schema.

![Star schema of the example SME’s model. In the center, in blue, the Sales table: 1,050,000 invoice lines from 2024 to 2026, with date, customer number, product code, amount excluding VAT and margin. Three tables surround it, each related by a line marked 1 on its side and * on the sales side: Customers (customer number, name, industry), Products (product code, family) and Calendar (1,096 days, from January 1, 2024 to December 31, 2026).](https://www.datafuji.com/img/en/power-pivot/power-pivot-02.svg)

*Each lookup table is related to sales once, from the “1” side to the “*” side: nothing is copied.*

The “1” marks the unique column (a customer appears once in Customers), the asterisk the column that repeats (a customer has thousands of sales lines). Excel rejects a relationship when both columns contain duplicates. The model’s shape and rules are covered in our [star schema](https://www.datafuji.com/en/star-schema) guide.

### 4. Build the PivotTable on the model

Home › PivotTable, in the Power Pivot window. The field list shows all four tables: product family from Products in Rows, months from Calendar in Columns, a measure in Values. Handling the PivotTable itself is explained in our [PivotTable](https://www.datafuji.com/en/pivot-table) guide.

## How do you write DAX measures in Power Pivot?

A measure is written in Power Pivot › Measures › New Measure, or in the calculation area under a table: a named DAX formula, recalculated for every cell of the PivotTable.

The company’s first three measures:

Revenue := SUM ( Sales[Amount] ) Gross Margin := SUM ( Sales[Margin] ) Margin % := DIVIDE ([Gross Margin], [Revenue] )

For September, the PivotTable shows €2,050k of revenue, €790k of gross margin and a rate of 38.5% (790 ÷ 2,050). DIVIDE leaves the cell blank when revenue is zero, instead of an error. In the dialog box, you only type what follows the equals sign.

### Comparing with the prior year

Once the calendar is marked and related, one measure is enough for the prior year:

Revenue PY := CALCULATE ([Revenue], SAMEPERIODLASTYEAR ( Calendar[Date] ) )

SAMEPERIODLASTYEAR takes the dates of the cell (September 2026) and returns the same dates one year earlier; CALCULATE evaluates [Revenue] on those dates. The function reads the calendar column, not the sales date, which has gaps. Other period calculations are explained in our [DAX for Power BI](https://www.datafuji.com/en/dax) guide, which applies unchanged in Excel.

### Measure or calculated column

Power Pivot also offers calculated columns, added to a table and calculated row by row at each refresh. They are for grouping or filtering (an amount band, a label), not for calculating a metric. A rate in a column, then “Average” in the PivotTable, gives every row the same weight, whatever its amount. The same mistake shows with just two product families: the chart averages their rates, on an assumed split of the company’s figures.

![Two calculations of the example SME’s September margin rate. Data: distribution, €1,600k of revenue and €520k of margin, or 32.5%; services, €450k and €270k, or 60.0%. On the left, in orange, wrong: the average of the two rates, (32.5 + 60.0) ÷ 2 = 46.3%. On the right, in green, right: the measure DIVIDE ( \[Gross Margin\], \[Revenue\] ), which divides the totals, 790 ÷ 2,050 = 38.5%. Averaging the rates overstates the margin by 7.7 points.](https://www.datafuji.com/img/en/power-pivot/power-pivot-03.svg)

*The average of the rates gives 46.3%, the measure 38.5%: a rate is recalculated from the totals, not averaged.*

The measure recalculates the rate on each cell’s totals: 38.5% overall, 32.5% and 60.0% by family. The average of the rates ignores that distribution weighs €1,600k and services €450k.

## Which mistakes should you avoid with Power Pivot?

The costliest mistakes come from spreadsheet habits carried into the model: copying instead of relating, and calculating in columns instead of measures.

- Keeping VLOOKUP. A column copied into sales weighs down the model and drifts from its source; the relationship does the same job without a copy.

- Dragging a field into Values. The PivotTable then creates an implicit measure (sum, count, average) that no other measure can reuse. Write an explicit, named measure.

- Putting calculations in columns. Each calculated column takes memory on every row; on 1,050,000 rows, you feel it each time the file opens.

- Forgetting the calendar. Without a complete, marked date table, functions such as SAMEPERIODLASTYEAR return wrong or blank results.

- Importing unused columns. Every column costs memory. Remove technical IDs and long text nobody analyzes in Power Query.

The same model will later serve Power BI: a mistake fixed in Excel will not need fixing a second time.

## What are the limits of Power Pivot?

The model accepts nearly 2 billion rows per table, but the real limit is the computer’s memory in 64-bit Excel, and a few hundred megabytes in 32-bit Excel.

The values published by Microsoft:

| Limit | Published value | What it changes |
| --- | --- | --- |
| Rows in a model table | 1,999,999,997 | Out of reach for an SME; memory gives out long before |
| 32-bit Excel | 2 GB of address space, of which 500 to 700 MB for the model | Switch to 64-bit Excel before the model grows |
| 64-bit Excel | No hard limit: the computer’s memory and resources | Size depends mostly on the number of distinct values in each column |
| Workbook in Excel for the web (Microsoft 365) | 250 MB in total | Beyond that, the workbook no longer opens in the browser |
| Table or column name | 100 characters | No practical effect |

The other limits are not technical. A workbook is shared by sending copies, every reader sees every row, and refreshing requires Excel to be open on a computer. These three points usually decide the [move from Excel to Power BI](https://www.datafuji.com/en/power-bi-vs-excel).

## Power Pivot vs Power Query vs Power BI: what is the difference?

Power Query prepares the data, Power Pivot relates and calculates it inside Excel, and Power BI does both, adding publishing, sharing and refresh without a computer switched on.

| Criterion | Power Query | Power Pivot | Power BI |
| --- | --- | --- | --- |
| Role | Import, clean, combine | Relate tables, calculate | Prepare, model, publish |
| Where | Excel (Data tab), Power BI | Excel for Windows | Power BI Desktop (Windows) and the online service |
| Language | M, often without writing it | DAX | M and DAX |
| Output | A clean table | A model read by PivotTables | A shared interactive report |
| Refresh | Refresh button | Refresh button, Excel open | Scheduled, up to 8 times a day with a Pro license |
| Price | Included in Excel | Included in Excel | Desktop free, sharing with a paid license |

The three follow one another more than they compete. In Excel, Power Query feeds Power Pivot; in Power BI Desktop, the same two engines live in a single file. How Power Query works is covered in our [Power Query guide](https://www.datafuji.com/en/power-query), and the full tool in our overview of [Power BI](https://www.datafuji.com/en/what-is-power-bi).

## When should you move from Power Pivot to Power BI?

Move to Power BI when the model must be read by others, refresh on its own or show each reader only their rows; the Power Pivot workbook then imports without starting over.

Four signs tell you:

- Several readers get a copy of the workbook each month, and nobody knows which one is current.

- Refresh depends on one person opening Excel in the morning.

- Each sales rep should see only their territory. Power BI filters rows by reader; Excel needs one file per person.

- The workbook exceeds the 250 MB of Excel for the web, or slows down every time it opens.

### Importing the workbook into Power BI Desktop

In [Power BI Desktop](https://www.datafuji.com/en/power-bi-desktop), which is free, open File › Import › Power Query, Power Pivot, Power View, then choose the workbook. The import is done once: the resulting Power BI file no longer depends on the workbook.

| Workbook item | In Power BI Desktop |
| --- | --- |
| Power Query queries | Carried over, with their groups |
| Relationships, measures, calculated columns, KPIs | Converted as they are |
| Tables linked to a sheet | Copied once, or kept connected to the workbook |
| Hierarchies | Not carried over, to be recreated |
| Binary columns (images) | Removed |

PivotTables and charts on the sheet do not carry over: they are rebuilt as visuals, on the same measures. Sharing then requires a license per reader, whose cost is worked out in our page on [Power BI pricing](https://www.datafuji.com/en/power-bi-pricing).

## Frequently asked questions

### Where is Power Query in Excel?

On the Data tab, in the Get & Transform Data group: Get Data opens the connectors, and Launch Power Query Editor opens the editor. Power Query has been built into Excel for Windows since Excel 2016, with no add-in to enable, unlike Power Pivot.

### What is the difference between a PivotTable and Power Pivot?

A PivotTable displays and summarizes data. Power Pivot prepares what it reads: several related tables and measures written in DAX. A classic PivotTable reads a single range on the sheet; connected to the Power Pivot model, it crosses all the related tables.

### Is Power Pivot free?

Yes, it is included in Excel for Windows at no extra cost: you only need to enable it among the COM add-ins. You do need an Excel version that includes it, such as Excel for Microsoft 365 or Excel 2019 and later. Power BI Desktop, which uses the same engine, is also free.

### Is Power Pivot available on Mac?

No. Microsoft says so on its activation page: Power Pivot isn’t currently available on Excel for Mac, nor in Excel for the web. The Mac only has Power Query, with fewer features. The workaround is to go through Windows (a virtual machine, Windows 365) or build the model in Power BI.

### Should I learn Power Pivot or Power BI?

They are learned together: same engine, same relationships, same DAX language. Someone who can build a model in Power Pivot rebuilds it in Power BI Desktop mostly by switching screens. Start with the one you already have; Power BI takes over as soon as the model must be shared.

Sources

- Microsoft Support, [Power Pivot - overview and learning](https://support.microsoft.com/en-us/office/where-is-power-pivot-aa64e217-4b6e-410b-8337-20b87e1c2a4b) (versions: Microsoft 365, Excel 2024, 2021, 2019 and 2016; same technology as Power BI; data and diagram views), undated page, accessed December 2, 2026.

- Microsoft Support, [Start the Power Pivot add-in for Excel](https://support.microsoft.com/en-us/office/start-the-power-pivot-add-in-for-excel-a891a66d-36e3-43fc-81e8-fc4798f39ea8) (enabling through COM add-ins, disabled items, registry fix), undated page, accessed December 2, 2026.

- Microsoft Support, [Learn to use Power Query and Power Pivot in Excel](https://support.microsoft.com/en-us/excel/learn-to-use-power-query-and-power-pivot-in-excel) (full features on Windows, partial Power Query support on Mac), undated page, accessed December 2, 2026.

- Microsoft Support, [Turn on Power Pivot](https://support.microsoft.com/en-au/office/turn-on-power-pivot-fcafdc01-3020-4d34-a6ce-f89391799836) (“Power Pivot isn’t currently available on Excel for Mac”, nor in Excel for the web), accessed December 2, 2026.

- Microsoft Support, [Data Model specification and limits](https://support.microsoft.com/en-us/excel/data-model-specification-and-limits) (1,999,999,997 rows per table, 250 MB in Excel for the web, 100 characters per name), undated page, accessed December 2, 2026.

- Microsoft Support, [Excel specifications and limits](https://support.microsoft.com/en-us/excel/excel-specifications-and-limits) (1,048,576 rows per worksheet; 2 GB of address space in 32-bit, 500 to 700 MB of it for the model; no hard limit in 64-bit), undated page, accessed December 2, 2026.

- Microsoft Support, [Understand and create date tables in Power Pivot in Excel](https://support.microsoft.com/en-us/excel/understand-and-create-date-tables-in-power-pivot-in-excel) (one row per day, no gaps; Design › Mark as Date Table), undated page, accessed December 2, 2026.

- Microsoft Learn, [Import Excel workbooks into Power BI Desktop](https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-import-excel-workbooks) (File › Import menu, converted items, hierarchies ignored, binary columns removed), last updated February 26, 2025, accessed December 2, 2026.

- Microsoft Learn, [SAMEPERIODLASTYEAR](https://learn.microsoft.com/en-us/dax/sameperiodlastyear-function-dax) and [DIVIDE](https://learn.microsoft.com/en-us/dax/divide-function-dax) (syntax and behavior of the DAX functions), accessed December 2, 2026.

- Microsoft Learn, [Configure scheduled refresh](https://learn.microsoft.com/en-us/power-bi/connect-data/refresh-scheduled-refresh) (8 scheduled refreshes a day with a Pro license), accessed December 2, 2026.

- Ken Puls, Excelguru, [Power Pivot is coming to all Office SKUs](https://excelguru.ca/power-pivot-is-coming-to-all-office-skus/) (Excel team announcement: Power Pivot opened to every subscription, not carried back to perpetual Excel 2013 and 2016), May 22, 2018, accessed December 2, 2026.

- Marco Russo and Alberto Ferrari, The Definitive Guide to DAX, 3rd edition, Microsoft Press (measures over calculated columns, recalculated totals, complete date table), accessed December 2, 2026.

---

Datafuji knowledge base, open to agents and AI: every page is available in Markdown (add .md to its URL), in French, English (/en/), Brazilian Portuguese (/pt-br/), Spanish (/es/) and German (/de/).

- Search: https://www.datafuji.com/.well-known/search?q={query}
- Site index: https://www.datafuji.com/llms.txt
