MS Excel Power Pivot: Step-by-Step Guide
In this article
Power Pivot lets you load millions of rows into Excel, link tables together, and build PivotTables that would choke a normal worksheet. You do not need a separate install on Excel 2016 or later for Windows: the add-in is built in and only needs enabling. Excel for Mac does not include Power Pivot, so the steps below are for Windows.
What You'll Need
- Excel 2016 or later for Windows (Microsoft 365 desktop also works). Power Pivot is not available in Excel for Mac or Excel for the web.
- Your data in tables or a workbook you can import from.
- A little patience: the first load of a large table can take a minute.
Step-by-Step
- Enable the add-in. Open Excel, go to File > Options > Add-ins. At the bottom, set Manage to COM Add-ins and click Go. Tick Microsoft Power Pivot for Excel and click OK. A Power Pivot tab appears on the ribbon. Menu labels can differ slightly by version and region.
- Format your source data as a table. Select a cell in your data, press Ctrl+T, confirm the range, and make sure My table has headers is ticked. Give the table a clear name on the Table Design tab. Do this for each table you want to link.
- Add tables to the Data Model. Click inside a table, then go to Power Pivot > Add to Data Model. Repeat for every table. Each one opens in the Power Pivot window as a separate tab.
- Create relationships. In the Power Pivot window, switch to Diagram View. Drag the key column in one table (for example CustomerID) onto the matching column in another. A line appears. Repeat for each pair of tables. The two columns must hold the same type of data.
- Check the link. Double-click a relationship line to confirm the tables and columns are correct. If the arrow points the wrong way, delete the line and drag again from the many side to the one side.
- Build a PivotTable. Go to Power Pivot > Manage, then click PivotTable on the Home tab. Choose New Worksheet and click OK. The PivotTable Field List shows every table in the model.
- Add fields and measures. Drag fields into Rows, Columns and Values as usual. To create a calculated measure, right-click a table in the Field List, choose Add Measure, give it a name, and enter a formula such as
=SUM(Sales[Amount]). Click OK. - Refresh when data changes. If you edit the source tables, go to Data > Refresh All. The model reloads the changed rows.
Common Mistakes
- Adding tables to the Data Model without first converting them to Excel tables. Power Pivot needs a table, not a plain range.
- Linking columns that look alike but hold different data types, such as text IDs in one table and numbers in another. The relationship will fail or return blanks.
- Forgetting that a relationship needs one unique key column on the "one" side. Duplicate values there break the link.
- Building a normal PivotTable from the worksheet instead of from the Data Model, so the linked tables are ignored.
- Editing source data and forgetting to refresh, then wondering why totals are stale.
Tips
- Name tables and measures clearly before you build many of them; renaming later is harder once PivotTables reference them.
- Use Diagram View to spot missing relationships at a glance.
- Keep source tables on the same sheet layout and avoid merged cells; they cause import errors.
- If a file feels slow, close other workbooks before refreshing a large model.
Troubleshooting
If the Power Pivot tab is missing, repeat the add-in step and confirm you are on a Windows desktop version. If a relationship will not create, check both columns for blanks, duplicates on the one side, and mismatched data types. If a PivotTable shows blanks where you expect values, the relationship is probably missing or pointing the wrong way. If refresh fails, close and reopen the workbook, then try Data > Refresh All again. If the model still will not load, save a copy and remove the most recently added table to isolate the problem. Do not delete the workbook or clear the model until you have a backup, because rebuilding relationships takes time.
Frequently Asked Questions
Is Power Pivot free?
It is included in Excel 2016 and later for Windows and in Microsoft 365 desktop. There is no separate purchase.
Can I use Power Pivot on a Mac?
No. Excel for Mac does not include Power Pivot. You can open a workbook that contains a model, but you cannot create or edit one there.
What is the difference between Power Pivot and a normal PivotTable?
A normal PivotTable reads one flat range. Power Pivot reads a data model of linked tables, so you can combine sources and handle far more rows.
Do I need to know DAX?
No for basic PivotTables. You only need simple DAX for calculated measures, such as a sum or count.
Why does my relationship show a warning?
Usually because one side has duplicate or blank keys, or the columns are different data types. Clean the key column and try again.
Does refreshing change my PivotTable layout?
No. Refresh only reloads data; your field arrangement stays as it is.