Platform how-to
Why your Power BI numbers don't match Excel, and how to fix it
Two tools, same data, different totals. It's almost always one of a handful of causes, and you can find which one in an afternoon.

Sam presents the quarterly numbers at Copperfield Home Goods. Her Excel pivot says the North region did $1,284,500 in Q3. The new Power BI report says $1,351,900. The meeting is tomorrow, and the first question will be “which one is right?”
Usually both tools are computing exactly what they were told to. They were just told slightly different things. Here are the causes, roughly in the order they turn up, and a method to find yours.
Start by shrinking the problem
Don’t compare grand totals. Pick one slice, like one region and one month, and get both tools to show it. Then drill down until a single customer or product disagrees. A difference you can point at is far easier to explain than one buried in a total.
- Pick one sliceOne region, one month
- Match filtersSame rows in, both tools
- Drill to a rowFind the first mismatch
- Name the causeFix in the model, not the visual
1. Filters you can’t see
Power BI applies filters at the visual, page and report level, plus slicers and filters passed through relationships. Select the visual and open the Filters pane to see all three levels. A page filter excluding returns, or a slicer left on one store from last week, is the most common culprit. Excel pivots have their own filters too, so check both sides.
2. Duplicate keys that multiply rows
If a lookup table has two rows for the same key, every matching sale can be counted twice, or Power BI sets the relationship to many-to-many. At Copperfield, the Customer table had a few customers listed twice after a CRM merge.
| CustomerID | Name | Region |
|---|---|---|
| C-118 | Lakeside Interiors | North |
| C-204 | Maple Street Home | North |
| C-204 | Maple St. Home | North |
Fix it in Power Query with Home > Remove Rows > Remove Duplicates on the key, after trimming text. Details in fixing many-to-many relationships.
3. Blanks and errors
Excel’s SUM ignores text and blank cells. Power Query may turn an unparseable value into an error and drop the row on load, or treat a blank differently from zero. Use View > Column quality in Power Query to spot errors and empties. In DAX, AVERAGE skips blanks, so an average over 0s and over blanks will differ.
4. Implicit versus explicit measures
Drag a numeric column onto a visual and Power BI creates an implicit measure, usually a Sum. Sometimes that’s wrong: summing a unit price column, or a column that’s already a percentage. Write explicit measures instead:
Total Revenue = SUM ( Sales[Amount] )
Margin % = DIVIDE ( [Total Margin], [Total Revenue] )
DIVIDE returns blank rather than an error when the denominator is zero, which keeps totals clean.
5. Row context versus filter context
In Excel, a total is the sum of the cells above. In Power BI, the total row evaluates the measure again over all the rows in its filter context. For a ratio or a distinct count, that’s usually the correct answer, and it won’t equal the sum of the rows. If you really need a sum of per-row results, iterate explicitly:
Sum of Store Targets =
SUMX ( VALUES ( Store[StoreID] ), [Store Target] )
And when one number needs a fixed filter, set it in the measure with CALCULATE, for example CALCULATE ( [Total Revenue], Sales[Channel] = "Retail" ), rather than relying on a page filter someone may change.
6. Data types
A key stored as Text in one table and Whole Number in another won’t relate cleanly, and leading zeros vanish when IDs become numbers. Dates stored as text sort and filter oddly. See cleaning data in Power Query.
7. Dates and the date table
If Excel groups by invoice date and Power BI by order date, months won’t match. Build one date table, relate it to the date you mean, and use it for every time filter. If you use the classic time intelligence functions, mark it with Mark as date table in Table tools. Fiscal years and week definitions belong in that table too, so everyone uses the same calendar.
A reconciliation checklist
Match the inputs
Same source file, same refresh time, same filters. Write down which filters each side applies.
Compare row counts
Use a simple
COUNTROWS ( Sales )card next to the Excel row count for the same slice. If counts differ, the problem is in loading or filtering, not in the math.Check keys for duplicates
In Power Query, select each dimension key and use Keep Rows > Keep Duplicates. Anything that shows up needs fixing.
Replace implicit measures
Write explicit measures for every number on the report and say in the description what each one counts.
A clean model prevents most of these: start with star schema basics, and if a source has one column per month, unpivot it first.
When the definition is the hard part
Most mismatches come down to two people meaning different things by “revenue”. Writing that meaning down once, in one place, is the real fix. We wrote about where these competing versions come from in scattered spreadsheets to one picture.
If that’s more work than your team has time for, Storek can help. Each metric gets one written definition that every chart and answer uses, and when you ask a question, the answer shows how it was worked out so you can check it against your spreadsheet.
Sources
- Create measures for data analysis in Power BI Desktop · Microsoft Learn · checked November 13, 2026
- CALCULATE function (DAX) · Microsoft Learn · checked November 13, 2026
- Set and use date tables in Power BI Desktop · Microsoft Learn · checked November 13, 2026