The plan said 1,200 units for the week. The dashboard said 1,140, 95%, green. Everyone in the review meeting relaxed. Two days later the sales manager called: the customer was still waiting for product C, and we had made less than half of it. The number was correct. The dashboard was lying anyway.
In my 24 years in manufacturing and data I have seen this many times. A plan vs actual dashboard in Power BI is one of the most useful reports a plant can have, and one of the easiest to get wrong. In this tutorial I walk you through how I build a first version: the two tables, the shared dimensions, the first three measures and the one page that people actually read. The story is a composite of several plants and all numbers are illustrative.

Why most plan vs actual dashboards in Power BI mislead
That week looked like this:
| Product | Plan | Actual | Attainment |
|---|---|---|---|
| A (easy, long runs) | 600 | 690 | 115% |
| B | 350 | 330 | 94% |
| C (the one the customer needed) | 250 | 120 | 48% |
| Total | 1,200 | 1,140 | 95% |
The extra 90 units of A covered most of the missing C. On a total card, an easy overproduction and a painful shortfall cancel each other out. In my experience there are four usual reasons a plan vs actual report misleads: totals hide the product mix, plan and actual are kept at different levels of detail (weekly plan, per-shift actual), the two sides use different product codes, and the plan is overwritten every time it changes, so nobody knows which plan the actual is measured against.
Step 1: Keep plan and actual as two separate tables
The most common shortcut I see is one big Excel sheet with a "plan" column and an "actual" column typed side by side. It works for a month and then breaks. In Power BI I keep them as two fact tables, each at its own natural level:
| Table | One row means | Key columns |
|---|---|---|
| Plan | One product, on one line, in one period, in one plan version | Week or date, Line, Product, Plan Qty, Version |
| Actual | One production confirmation | Date, Shift, Line, Product, Good Qty |
The actual side usually comes from your ERP or MES confirmations. The plan often comes from Excel, which is fine. If your weekly plan is still built by hand, my article on a weekly production plan in Excel that starts from the bottleneck is a good place to start.
Step 2: Connect them through shared dimensions
This is the data modeling part, and it decides whether the dashboard can be trusted. Build three small dimension tables: Date (with week and month), Product and Line. Connect each one to both fact tables with a one-to-many relationship. Do not connect Plan and Actual to each other directly. This simple star schema is what lets one slicer filter both sides at the same time.
Two checks before you build any visual: every product code in Plan and Actual must exist in the Product table, and both tables must use the same unit (pieces, not sets on one side and pieces on the other). Bringing a weekly plan down to days or shifts is where it gets delicate. A careless split creates fake precision, and the way I do it depends on how the plant really schedules.
Step 3: Start with three simple measures
For the first version you need only three DAX measures:
Plan Qty = SUM ( Plan[Plan Qty] )
Actual Qty = SUM ( Actual[Good Qty] )
Attainment % = DIVIDE ( [Actual Qty], [Plan Qty] )
DIVIDE avoids errors when a product has no plan in a period. Put these three in a matrix with products in rows and weeks in columns, and the story of product C appears immediately, even though the total still says 95%. There is one more measure I always add later, one that stops overproduction of an easy product from hiding a miss on another. It changes the conversation in the meeting, but it needs your own rules, so I set it up with the team.
Step 4: One page that people actually read
- Top row: plan, actual and attainment for the selected week, and how many products are below target.
- Center: a product-by-line matrix with conditional formatting, so red cells jump out.
- Right: a weekly trend, to see if a miss is new or chronic.
- Bottom: the miss list, sorted by gap in units, with a column for the reason.
Keep the first version on one page. If managers at different levels need different views, see the factory CEO dashboard in Power BI and from spreadsheet chaos to one live dashboard.
Traps I see again and again
- Which plan? If the plan is changed on Wednesday to match what was made, attainment is always 100%. Keep the version that was frozen at the start of the week.
- Scrap and rework counted as actual. Count good quantity only, or the dashboard rewards making bad parts.
- The night shift crosses midnight. Decide which date a shift belongs to, or Monday steals from Tuesday.
- Different definitions in each plant. If "attainment" means something different in two plants, agree on it first. I wrote about this in the KPI dictionary article.
A quick self-check
- Does your plan vs actual report show the gap per product, or only the total?
- Do you know which version of the plan last week's actual was measured against?
- Is scrap included in your actual quantity today?
- Does a slicer on your dashboard filter plan and actual at the same time?
FAQ
Can I build this in Excel instead of Power BI?
Yes, for one line and a few products a PivotTable works. Once you have several lines, plan versions and daily confirmations, a proper data model in Power BI is much easier to keep honest.
Do I need a paid Power BI licence?
Power BI Desktop is free, so you can build and test the whole model on your own computer. Sharing the report with colleagues through the Power BI service generally needs a paid licence.
Should the plan be daily or weekly?
Keep the plan at the level it is really made. If it is made weekly, compare weekly first. Splitting it into days is possible, but only with rules that match how the plant schedules.
How often should the dashboard refresh?
For most plants, once per shift or once a day is enough. What matters more is that someone owns each red cell and writes the reason.
What I keep for the work itself
Two tables, three dimensions and three measures already give you a more honest picture than most plan vs actual reports I see. What turns it into a tool that changes decisions is the part I do with the team: how the weekly plan is brought down to days and shifts without fake precision, the mix measure that stops easy products from hiding missed ones, and the threshold and alert rules per line. Those depend on your products and on how your floor really works.
Does your plan vs actual report tell the whole story?
Send me one month of plan and actual data, anonymised, the way you have it today. I will tell you whether your current numbers are hiding a mix problem, and what a clean first model in Power BI would look like for your plant.
Contact me Read: factory CEO dashboard Read: KPI dictionary
Sources
- Microsoft Learn, Understand star schema and the importance for Power BI.
- Microsoft Learn, DIVIDE function (DAX).
- The story is a composite of several cases; the plant and all numbers in this article are illustrative.