Blog · How-to guides · Finance and FP&A teams
What an Excel Power Pivot table adds to an ordinary pivot table: the Data Model, relationships between tables, distinct counts and DAX measures that recalculate at every level. Built on the same ten-line sales ledger as our pivot table guide plus a five-row customer table, with the menu paths, the check, and which Excel editions Microsoft lists for Power Pivot.
An Excel Power Pivot table is a PivotTable built on the Data Model instead of one worksheet range: several tables joined by relationships, far more rows than a sheet can hold, and measures written in DAX that recalculate correctly at every level of the table. This guide turns it on, relates the sales ledger from how to make a pivot table in Excel to a customer table, and writes three measures.
An ordinary PivotTable summarizes one table. A Power Pivot table summarizes a model of related tables, using measures that are recalculated for every cell.
Three signs you have outgrown the ordinary kind:
In Excel for Windows, go to File > Options > Data and select Enable Data Analysis add-ins: Power Pivot, Power View and 3D Maps. Microsoft's Data options page describes it as the way to enable them "instead of through the Add-ins tab". The older route still works: File > Options > Add-ins, choose COM Add-ins in the Manage box, select Go, and check Microsoft Power Pivot for Excel. A Power Pivot tab appears on the ribbon. If it vanishes after a crash, the same Add-ins screen with Manage set to Disabled Items lets you re-enable it.
Which editions have it: Microsoft's Power Pivot overview applies to Excel for Microsoft 365, Excel 2024, Excel 2021, Excel 2019 and Excel 2016, all Windows desktop versions. Excel for Mac is not in that list, so a workbook built on the Data Model will not work the same way for a colleague on a Mac. Check before you send it.
Two Excel Tables, each formatted with Ctrl+T:
| Customer | Segment |
|---|---|
| Harlow Foods | Enterprise |
| Northgate Retail | Enterprise |
| Brightwell Inc. | Mid-market |
| Kestrel Supplies | Mid-market |
| Ashby Engineering | Small |
The Customer column is the key. In the Customers table it must be unique; in the Ledger it repeats. In real data use a customer ID rather than a name, taken from a clean customer master, and trim it in both tables first.
Ledger and choose Power Pivot > Add to Data Model. Do the same for Customers. (Insert > PivotTable with Add this data to the Data Model ticked also loads a table.)Customer from Ledger onto Customer in Customers, or in Excel use Data > Relationships > New. The result is many-to-one: many ledger lines to one customer row.Revenue := SUM(Ledger[Net amount])
Customer count := DISTINCTCOUNT(Ledger[Customer])
Revenue per customer := DIVIDE([Revenue], [Customer count])
DISTINCTCOUNT counts the distinct values in a column. DIVIDE returns a blank rather than an error when the denominator is zero. The := form is how measures are written in the Power Pivot window's calculation area; in the New Measure dialog you type only the part after it.
Customers[Segment] to Rows and the three measures to Values.| Segment | Revenue (USD) | Customer count | Revenue per customer (USD) |
|---|---|---|---|
| Enterprise | 26,000 | 2 | 13,000 |
| Mid-market | 27,960 | 2 | 13,980 |
| Small | 2,300 | 1 | 2,300 |
| Grand total | 56,260 | 5 | 11,252 |
Enterprise is Harlow Foods ($12,400 + $7,200 − $1,200 = $18,400) plus Northgate Retail ($3,150 + $4,450 = $7,600): $26,000 from two customers, $13,000 each. Mid-market is Brightwell Inc. at $18,660 and Kestrel Supplies at $9,300.
A fourth measure gives each segment's share without a helper column:
Share of total := DIVIDE([Revenue], CALCULATE([Revenue], ALL(Customers[Segment])))
It returns 46.2% for Enterprise, 49.7% for Mid-market and 4.1% for Small. ALL removes the Segment filter from the denominator, so every row divides by $56,260.
The segment revenues add back to the ledger: 26,000 + 27,960 + 2,300 = 56,260, the same as =SUM(Ledger[Net amount]). If they do not, some ledger lines failed to match a customer and sit in a "(blank)" row.
The grand-total revenue per customer is 56,260 / 5 = 11,252. It is not the average of the three segment figures, (13,000 + 13,980 + 2,300) / 3 = 9,760, because the measure recalculates in the grand-total cell instead of averaging averages; count-weighted and value-weighted averages explains why the second figure is wrong. Nor is it what an ordinary pivot's Average of Net amount gives: 56,260 / 10 = 5,626, which is revenue per invoice line.
Distinct counts do not add up across rows where one customer appears twice. Put Product line on rows instead of Segment and Customer count reads 4 for Chilled and 5 for Ambient, with a grand total of 5, not 9. Microsoft's DISTINCTCOUNT page makes the same point: distinct count totals are not additive.
A calculated column is computed once per row when the data refreshes and stored in the model, like a formula filled down a Table. Use it for something you want to slice by, such as a size band on each invoice.
A measure is computed when the PivotTable asks for it, in the context of each cell: the segment on that row, the slicers in force. Use it for anything summed, counted or divided: revenue, customer count, revenue per customer, share of total. A ratio built as a calculated column and then summed gives wrong totals, and every calculated column adds to file size.
Ordinary PivotTables have calculated fields, but they work on sums only, so they cannot express a distinct count or a ratio of distinct counts.
The Data Model lives in memory, so very large models are limited by the machine and the file before the row limit. Microsoft's specification sets a 250 MB total file size limit for Excel for the web in Microsoft 365. Each refresh reloads the tables, so a wide model refreshes slowly.
Two tools sit either side of it. Power Query in Excel cleans and loads the tables before they reach the model. Power BI Desktop uses the same engine and DAX, and Microsoft's overview links to importing an Excel workbook's model into it.
Covirage relates your uploaded files on the customer key the way a Data Model does, then its deterministic tools compute distinct counts and ratios at every level and check that the segments add back to the source total; the external AI model explains the result and never does the arithmetic. See how finance teams use it, and SQL PIVOT for the same reshaping done in a database. For charting the result, see pivot chart in Excel; for the cubes this grew out of, OLAP; for the lookup a relationship replaces, XLOOKUP in Excel.
A normal pivot table summarizes one range or table. Power Pivot lets the pivot table summarize several related tables in the Data Model, handle far more rows, and use DAX measures such as distinct counts and ratios that stay correct at every level.
In Excel for Windows, go to File > Options > Data and select Enable Data Analysis add-ins, or File > Options > Add-ins, choose COM Add-ins, select Go and check Microsoft Power Pivot for Excel. A Power Pivot tab appears on the ribbon.
Microsoft's Data Model limit is 1,999,999,997 rows per table, against 1,048,576 rows on a worksheet. In practice memory and file size run out first, so load only the columns your measures need and keep high-cardinality text columns out.
They share the same modeling engine and the DAX language, and Microsoft documents importing an Excel workbook's Data Model into Power BI Desktop. Power BI adds sharing and cloud refresh; Power Pivot stays inside an Excel workbook.