🎉 Black Friday Sale: 40% OFF everything with code BF40 · ends 1 Dec  Shop now →

Power Pivot Excel: Build a Data Model and One-Click Report

Power Pivot in Excel lets you load several tables into one data model, link them with relationships, write DAX measures and drive a single PivotTable report from them. Enable the add-in, load each table to the model, join them on key columns, then use Data > Refresh All to rebuild the whole report in one click.

Last updated: November 2026

Key takeaways

  • Power Pivot stores tables in a compressed data model inside the workbook, so you are not limited to the 1,048,576 rows of a worksheet.
  • A working model needs three things: tables loaded to the model, relationships between them, and measures written in DAX.
  • One Data > Refresh All click updates the model, every PivotTable, every pivot chart and every slicer connected to it.
  • The Dynamic Attendance Sheet Using Power Pivot costs $6.99 and shows a finished Power Pivot model you can open and study.
  • If your data fits one flat table under a few hundred thousand rows, a normal PivotTable is enough and you can skip the data model.
Excel Pivot Tables & Dashboards: Basic to Advanced courseLaunch offer
🎓 NEXTGENTEMPLATES ACADEMY
Want to build dashboards like these yourself?
Excel Pivot Tables & Dashboards: Basic to Advanced

From your first Pivot Table to the Data Model, DAX, Power Query and a one-page KPI dashboard. 11h 51m of video by PK, with practice files, quizzes and a capstone.

Power Pivot Excel templates compared

This tutorial teaches the method first. The templates below are ready-made Excel files that use pivot tables, slicers and, in two cases, Power Pivot itself, so you can see a finished result before building your own.

TemplateFormatBest ForPrice
Dynamic Attendance Sheet Using Power Pivot (Best overall)ExcelSeeing a real Power Pivot model with slicers and automated reports$6.99
KANBAN Board with Power Pivot and VBA (Best value)ExcelProject tracking with Power Pivot and macros$4.99
Stylish Pivot Chart with Slicer in Excel (Best value)ExcelLearning pivot charts and slicers on a small budget$4.99
Revenue Analysis Dashboard in ExcelExcelRevenue, target and profit reporting across five pages$17.99
Procurement Cost Analysis Dashboard in ExcelExcelVendor, department and category spend$17.99
Customer Feedback Analysis Dashboard in ExcelExcelRating, NPS and sentiment tracking$17.99

How we picked these

We searched the NextGenTemplates Excel catalog for products that either name Power Pivot directly or are built on pivot tables, slicers and pivot charts. Two of the six use Power Pivot by name. The other four are pivot-driven dashboards that show what a finished report looks like. We left out free files and anything not built in Excel.

What is Power Pivot in Excel and why use it?

Power Pivot is an Excel add-in that adds a data modelling engine to your workbook. Instead of pasting everything into one wide sheet, you keep tables separate, such as Sales, Products and Customers, and tell Excel how they connect.

The model stores data in a compressed in-memory format, so large tables open and calculate faster than the same data in a worksheet. Worksheets stop at 1,048,576 rows. A data model can hold more than that, limited mainly by your computer’s memory.

The second benefit is accuracy. With a flat sheet you repeat product names, categories and costs on every row, and one typo splits a total in two. With a model, the product name lives once in a Products table and every sale looks it up.

The third benefit is calculation. DAX measures such as profit margin recalculate correctly at whatever level the PivotTable shows, whether that is a single day, a month or a whole region.

How do I enable Power Pivot in Excel?

Power Pivot ships with Excel for Windows in Microsoft 365 and in some other desktop editions, but it is often switched off. It is not available in every edition, and Excel for Mac does not offer the Power Pivot window, so check your version first.

  1. Open Excel and go to File > Options > Add-ins.
  2. At the bottom, set Manage to COM Add-ins and click Go.
  3. Tick Microsoft Power Pivot for Excel and click OK.
  4. A Power Pivot tab now appears on the ribbon. Click Manage to open the Power Pivot window.

If the entry is missing from the list, your edition does not include it. You can still use the basic data model through Data > Get Data and the Add this data to the Data Model checkbox on PivotTable creation, but the full Power Pivot window and its diagram view will not be there.

How do I build a data model in Excel, step by step?

The steps below use a small worked example: a sales workbook with three tables. Sales has 12,000 rows (Date, ProductID, Region, Quantity, Revenue). Products has 40 rows (ProductID, ProductName, Category, UnitCost). Calendar has one row per day. The row counts are illustrative, so replace them with your own.

Step 1: Clean each source as a proper table

Click inside each range and press Ctrl+T to make it an Excel Table, then name it on the Table Design tab: Sales, Products, Calendar. Named tables keep the model readable and expand automatically when you add rows. Check that each column holds one data type, with no text mixed into number columns and no merged cells.

If your source data is messy or comes from several files, clean it first. Our Excel Power Query tutorial for cleaning and combining data covers that stage, and Power Query output can load straight into the model. To keep new rows consistent as people type them, use an Excel drop down list with data validation.

Step 2: Add each table to the data model

Click a cell in the Sales table, then choose Power Pivot > Add to Data Model. Repeat for Products and Calendar. Each table appears as a tab in the Power Pivot window.

Alternatively, go to Data > From Table/Range, then in the Power Query editor choose Close & Load To, and select Only Create Connection with Add this data to the Data Model ticked. This keeps the sheet clean because the data is not duplicated into a worksheet.

Step 3: Create relationships in Diagram View

In the Power Pivot window, click Diagram View. You will see three boxes. Drag ProductID from Sales onto ProductID in Products. Drag Date from Sales onto Date in Calendar. Excel draws a line with a 1 on one end and an asterisk on the other.

The 1 side is the lookup table (Products, Calendar), where each key appears once. The asterisk side is the table of events (Sales), where a key repeats many times. If Excel refuses a relationship, the lookup column probably contains duplicates or blanks.

Keep the layout simple: one central fact table with lookup tables around it. This shape is often called a star schema, and it is the easiest to filter and the least likely to give wrong totals.

Step 4: Mark a Calendar table

Open the Calendar table in the Power Pivot window and choose Design > Mark as Date Table, selecting the Date column. This is what allows time intelligence functions such as year to date and same period last year to work. The Calendar must cover every date in Sales with no gaps, one row per day.

Add columns for Year, Month Number, Month Name and Quarter. Sort Month Name by Month Number so charts show January to December rather than alphabetical order.

Step 5: Write DAX measures

Measures are formulas that live in the model, not in cells. In the Power Pivot window, click a cell in the calculation area below the Sales table and type the formulas. Four are enough to start:

  • Total Revenue := SUM(Sales[Revenue])
  • Total Cost := SUMX(Sales, Sales[Quantity] * RELATED(Products[UnitCost]))
  • Profit := [Total Revenue] – [Total Cost]
  • Profit Margin % := DIVIDE([Profit], [Total Revenue])

SUMX walks through Sales row by row, and RELATED pulls the unit cost from the Products table across the relationship. DIVIDE returns a blank instead of a divide-by-zero error. The full function list is in the Microsoft DAX reference.

Set the number format of each measure (currency for revenue, percentage for margin) once in the model. It then carries into every PivotTable.

Step 6: Build the PivotTable, chart and slicers

Go to Insert > PivotTable, choose Use this workbook’s Data Model, and place it on a new sheet. The field list now shows all three tables. Drag Category from Products to Rows, Year from Calendar to Columns, and your measures Total Revenue and Profit Margin % to Values.

Click inside the PivotTable and choose PivotTable Analyze > PivotChart. Then add slicers for Region and Year. Right-click each slicer and use Report Connections to link it to the chart and any other PivotTable, so one click filters everything.

For a deeper tour of layout and formatting, the Excel pivot table dashboard tutorial goes from beginner to advanced. For small visual touches inside the report, see Excel sparklines, data bars and icon sets.

Step 7: Make the report refresh in one click

Paste new rows under the Sales table, or replace the source file if you loaded from a connection. Then press Data > Refresh All. Excel reloads each table, recalculates every measure and redraws all PivotTables and pivot charts connected to the model.

To make it truly one click, add a Refresh All button to the Quick Access Toolbar (right-click the command, choose Add to Quick Access Toolbar). In Connection Properties you can also tick Refresh data when opening the file, so the report is current before anyone looks at it.

What does the worked example produce?

With the model above, a PivotTable of Category by Year shows revenue, cost and margin at the same time. As an illustration, suppose Category A sells 4,200 units for $210,000 revenue, with a unit cost of $32. Total Cost is 4,200 x 32 = $134,400. Profit is $75,600, and Profit Margin % is 75,600 / 210,000 = 36%.

Click the Region slicer and the figures shift to that region only. The margin is recalculated from the filtered revenue and cost, not averaged from the full table. This is the main reason to write a measure instead of adding a margin column to the sheet: a column cannot be correctly summed or averaged at higher levels, while a measure always can.

Add a new month of 1,000 rows, press Refresh All, and the whole sheet updates. No formulas were copied down and no ranges were extended.

What are the most common Power Pivot mistakes?

ErrorLikely causeFix
Relationship cannot be createdDuplicate or blank values in the lookup columnRemove duplicates or blanks from the 1-side table, then relink
Every row shows the same totalNo relationship between the field’s table and the measure’s tableCheck Diagram View and add the missing join
Months sort alphabeticallyMonth Name has no sort columnSort Month Name by Month Number in the Calendar table
Year to date measures return blankCalendar not marked as a date table, or has gapsUse Mark as Date Table and fill all dates
Slicer filters one chart onlySlicer is not connected to the other PivotTablesRight-click the slicer and open Report Connections
New rows do not appearRefresh was not run, or the table range did not expandUse Ctrl+T tables and press Data > Refresh All
Measure shows a divide errorUsing the / operator when the denominator is zeroUse DIVIDE instead

What are good Power Pivot examples to learn from?

The fastest way to learn a data model is to open one that works. These six templates are ranked by how directly they teach the method. None of them replaces the steps above, but each shows what a finished, pivot-driven workbook looks like.

1. Dynamic Attendance Sheet Using Power Pivot, best overall

power pivot excel

This Excel template records attendance by Employee ID and date and models the data with Power Pivot. It is ranked first because it is the one product here that is built around the technique this article teaches, and its price is $6.99.

Who it is for: HR teams, supervisors and managers who want attendance totals without manual counting, and anyone who wants to study a real Power Pivot file.

  • Built-in codes P, A, L and WO, which you can change or extend
  • Interactive pivot tables and slicers for employee, department, date or supervisor
  • Automated report with working days, present days, absences, leave and attendance percentage
  • Export to Excel or PDF, or share by email

Use cases: a monthly payroll check on a 50-person team, an attendance percentage review before performance talks, a leave summary per supervisor, or a long daily log that would be slow in a plain sheet.

Price: $6.99. Get the Dynamic Attendance Sheet Using Power Pivot.

Best for: seeing Power Pivot, slicers and automated reports working together on a familiar HR problem.

2. KANBAN Board with Power Pivot and VBA for Project Management, best value

Excel KANBAN board using Power Pivot and VBA

An Excel project template that shows tasks across stages such as To Do, In Progress and Completed. VBA macros move tasks between stages, and Power Pivot handles the project data behind the dashboard. At $4.99 it is the cheapest Power Pivot file in the list.

Who it is for: project managers and small teams who want a visual board without leaving Excel.

  • Move to Next Stage, Move to Previous Stage and Edit Record buttons
  • Real-time task tracking and automated updates
  • Dashboard for progress, due dates and assignments
  • Power Pivot for larger project data sets

Use cases: a sprint board for a team of five, a weekly due-date review, a workload check by assignee, or a long-running project with hundreds of tasks.

Price: $4.99. Get the KANBAN board with Power Pivot and VBA.

Best for: the lowest-cost way to see Power Pivot and macros combined in a project tool.

3. Stylish Pivot Chart with Slicer in Excel, best value for step 6

Stylish pivot chart with slicer in Excel

A pivot chart with slicers that update in real time as you click. It does not describe a data model, so treat it as a styling reference for the chart and slicer stage of your own report. Price: $4.99.

Who it is for: analysts who want a clean, good-looking pivot chart without designing one from scratch.

  • Slicers to filter and segment data
  • Pivot chart that summarises key trends
  • Real-time updates as slicer selections change
  • Adjustable chart appearance

Use cases: a monthly financial report, a business dashboard panel, a comparison of categories across time periods, or a chart for a management slide.

Get the Stylish Pivot Chart with Slicer in Excel for $4.99.

Best for: learning how slicers and pivot charts should look and behave.

4. Revenue Analysis Dashboard in Excel

Revenue analysis dashboard in Excel with slicers

A five-page dashboard covering Overview, Region, Channel, Product and Monthly Trends. It uses pivot tables, slicers, interactive charts and KPI cards for Total Revenue, Profit and Met and Missed counts, driven from a simple data sheet.

Who it is for: sales leads, startup owners and regional managers who want revenue against target without BI software.

  • Page navigator with clickable buttons
  • Slicers for month, year, region and more
  • Charts for profit margin, achievement % and revenue vs target
  • Support sheet for dropdowns and slicers

Use cases: comparing regions against target, finding the channel with the most missed targets, checking profit by product, and spotting seasonal months on the trends page.

Price: $17.99. Get the Revenue Analysis Dashboard in Excel.

Best for: a finished revenue report you can fill with your own data today. For more options, see our best sales dashboard templates.

5. Procurement Cost Analysis Dashboard in Excel

Procurement cost analysis dashboard in Excel

A dashboard for purchase orders, spend, quantity and ratings, with separate views for vendors, departments, categories, locations and payment terms. A central data input sheet feeds it.

Who it is for: procurement teams and finance staff who need to see where spend goes and which suppliers deliver.

  • Overview cards for purchase orders, total spend, quantity ordered, average rating and pending orders
  • Vendor analysis with fulfilment % and cancellation or pending flags
  • Departmental spend and category insights
  • Location and payment terms views

Use cases: ranking vendors by spend and rating, tracking pending orders by category, reviewing spend by payment terms for cash flow, and comparing departments against budget.

Price: $17.99. Get the Procurement Cost Analysis Dashboard in Excel.

Best for: teams that want vendor and spend analysis in one workbook.

6. Customer Feedback Analysis Dashboard in Excel

Customer feedback analysis dashboard in Excel

A dashboard that turns survey, email, social or chat feedback into KPI cards and pivot charts. Paste your data and the charts and cards update. Tabs cover Overview, Product, Channel, Region and Monthly Trends.

Who it is for: customer service and product teams tracking satisfaction.

  • KPI cards for Average Rating, NPS Score, Response Time, Resolution Time and Positive Sentiment %
  • Positive, Neutral and Negative breakdowns by category, region or product
  • Slicers for product, channel or region
  • Editable KPIs, formulas and visuals

Use cases: tracking NPS month by month, comparing sentiment across channels, spotting a product with falling ratings, and reviewing response times by region.

Price: $17.99. Get the Customer Feedback Analysis Dashboard in Excel.

Best for: sentiment and NPS reporting without writing a single formula.

Should I build a data model or use a template?

Use this short decision tree:

  • One flat table, under about 100,000 rows, one report: use a normal PivotTable. No model needed.
  • Two or more related tables, such as sales plus products plus dates: build a data model with relationships.
  • You need ratios that stay correct when filtered, such as margin or attendance %: write DAX measures.
  • You need the report this week and your data matches an existing layout: start from a template and replace the data.
  • You want to learn the method: build your own with the steps above, then compare against the $6.99 attendance file.

Templates also help in HR reporting. If your team is deciding on format, read which HR dashboard format wins in Excel, Google Sheets or Power BI.

When Power Pivot is NOT the right answer

Power Pivot is a good tool but it has clear limits. Be honest about them before you invest the time.

  • Your Excel edition lacks it. Excel for Mac has no Power Pivot window, and some desktop editions do not include the add-in.
  • Your data is one small table. A plain PivotTable does the job with less setup.
  • The file must be shared widely. Everyone who edits the model needs a version of Excel that supports it. Viewers on older versions or web-only access may see limited behaviour.
  • Your data runs to tens of millions of rows or needs scheduled refresh for many users. At that scale a BI tool such as Power BI, or a proper database, is the better fit, because an Excel workbook is limited by one computer’s memory.
  • You need row-level security or a published, always-on report. Excel files do not do this well.

In those cases, consider Power BI. Our post on travel and expense tracking dashboards in Excel, Power BI and Google Sheets shows the same reporting need across formats.

If the manual steps before the refresh take longer than the report, see Excel macros for beginners for short VBA routines that handle them.

When the finished report has to go out on paper or PDF, see how to set print area in Excel so only the report pages print.

Frequently asked questions

What is Power Pivot in Excel?

Power Pivot is an Excel add-in for building a data model. It lets you load multiple tables, create relationships between them, write DAX measures and report from all of it in one PivotTable. Data is stored compressed inside the workbook, so it handles far more rows than a normal worksheet.

How do I use Power Pivot in Excel?

Enable the add-in under File > Options > Add-ins > COM Add-ins. Add each table to the data model, create relationships in Diagram View, write measures with DAX, then insert a PivotTable from the Data Model. Add slicers and a pivot chart, and update everything with Data > Refresh All.

What is a data model in Excel?

A data model is a set of related tables stored inside an Excel workbook. Tables are joined through key columns, such as ProductID, and PivotTables can then use fields from all of them at once. It replaces VLOOKUP-heavy flat sheets with one clean structure.

How do I create a data model in Excel?

Turn each range into a table with Ctrl+T, then use Power Pivot > Add to Data Model, or tick Add this data to the Data Model when loading with Power Query. Open Diagram View and drag matching key columns between tables to create relationships. Then insert a PivotTable from the Data Model.

Is Power Pivot free in Excel?

Power Pivot has no separate charge, but it only comes with certain Excel editions. It is included in Excel for Windows in Microsoft 365 and some other desktop versions. It is not available in every edition, and Excel for Mac does not provide the Power Pivot window.

What is the difference between Power Pivot and a PivotTable?

A PivotTable summarises data from one range or from a data model. Power Pivot is the modelling engine behind the second option. It adds relationships between tables, DAX measures and compressed storage, so a PivotTable can combine and calculate across several tables instead of just one.

What is DAX and do I need to learn it?

DAX stands for Data Analysis Expressions, the formula language used for measures in Power Pivot. You do not need much to start. SUM, SUMX, RELATED, DIVIDE and CALCULATE cover most first reports. Sums, ratios and filtered totals are written once and reused in every PivotTable.

How do I refresh a Power Pivot report with one click?

Add new data to your source tables, then choose Data > Refresh All. Excel reloads every connection, recalculates all measures and updates every PivotTable and pivot chart linked to the model. Add Refresh All to the Quick Access Toolbar, or enable refresh on file open, to make it automatic.

Why can’t I create a relationship in Power Pivot?

The usual cause is duplicate or blank values in the lookup column. The 1 side of a relationship must hold each key once. Remove duplicates or blanks from that table, check that both columns have the same data type, and then drag the join again in Diagram View.

Can I use Power Pivot templates without building the model myself?

Yes. The Dynamic Attendance Sheet Using Power Pivot ($6.99) and the KANBAN Board with Power Pivot and VBA ($4.99) arrive with the model built. You enter your own data, refresh, and use the slicers and reports. You can also open them to study how the model is arranged.

Get more Power Pivot and pivot dashboard templates

Start with the Dynamic Attendance Sheet Using Power Pivot for $6.99, or pick the KANBAN Board with Power Pivot and VBA for $4.99. For a full reporting page, the Revenue Analysis Dashboard in Excel is $17.99.

Watch walkthroughs on the NextGenTemplates YouTube channel. Industry examples are in our healthcare dashboards, quality assurance dashboards and clinic contract management dashboard posts.

🎓 Learn to build this yourself. Excel Pivot Tables & Dashboards: Basic to Advanced · $59 launch priceStart the course →
Scroll to Top