The Power BI grand total is the number every executive reads first, and it is the number most likely to start an argument. Each row in your table looks right. You can check them against the source. Then you add them up with a calculator and the total at the bottom says something different. Somebody in the meeting says the report cannot be trusted, and your afternoon disappears.
Thank you for reading this post, don't forget to subscribe!Here is the good news: in most cases the report is not broken. Power BI is doing exactly what the measure told it to do. The problem is that nobody warned you the total row follows its own rules. This guide explains those rules, shows the eight most common reasons a Power BI grand total does not match, and gives you practical fixes you can apply today.
Why Is the Power BI Grand Total Wrong When Every Row Looks Correct?
A Power BI grand total is not the sum of the rows above it. It is the same measure calculated again with no row filter applied, so it sees the whole dataset at once. When a measure uses IF logic, averages, ratios, distinct counts or balances, that second calculation can return a different answer from the rows, even though both answers are technically correct.
What Is the Power BI Grand Total Trap?
Most people assume a table adds its column. It does not. Each cell, including the total, is a fresh evaluation of the measure in its own filter context. On a row for one sales rep, the measure sees only that rep. On the total row, it sees everyone. If your formula behaves differently depending on how much data it can see, the Power BI grand total will drift away from the rows.
A simple example makes it clear. Imagine a bonus rule: pay 5% of sales, but only to reps who sell more than $100,000.
| Sales rep | Total sales | Bonus shown |
| Alex | $60,000 | $0 |
| Bina | $80,000 | $0 |
| Chen | $120,000 | $6,000 |
| Total row | $260,000 | $13,000 |
The rows add up to $6,000. The total shows $13,000. Why? On the total row, sales are $260,000, which passes the $100,000 test, so Power BI pays 5% on everything. Nothing is broken. The measure simply asked the wrong question at the wrong level.
Eight Reasons Your Power BI Grand Total Does Not Match the Rows
1. Row-level IF logic is evaluated once on the total
This is the bonus example above, and it is the most common cause. Any measure containing IF, SWITCH, a threshold or a SELECTEDVALUE test can make the Power BI grand total behave differently from the rows. A tell-tale sign is a total that looks too big or too small by a round, suspicious amount.
2. Averages and ratios are not additive
Suppose Region X has $100 revenue and $10 profit, a 10% margin. Region Y has $300 revenue and $60 profit, a 20% margin. Adding the percentages gives 30%, averaging them gives 15%, but the correct total margin is $70 divided by $400, which is 17.5%. Power BI shows 17.5% on the total row, and it is right. People simply expected a different number.
3. Distinct counts overlap
If 40 customers bought bikes, 25 bought helmets and 30 bought accessories, the rows add up to 95. But many customers bought more than one category, so the true number of unique customers might be 60. A DISTINCTCOUNT total counts each person once, which is exactly what it should do.
4. Balances and stock levels are semi-additive
You can add sales across months, but you cannot add a bank balance or stock on hand across months. Twelve monthly closing balances summed together are meaningless. A Power BI grand total for a balance should usually show the latest value, not the sum.
5. Rounding and display formatting
If your visual shows whole dollars but the data holds cents, each row is rounded for display while the Power BI grand total is calculated from the unrounded values. The visible rows can be out by a dollar or two, and a sharp-eyed reader will always find it.
6. Hidden, blank or filtered-out rows
If some fact rows have a key that does not exist in the dimension table, Power BI groups them under a blank row. That blank row is part of the total, but it is easy to miss or filter out. Visual-level filters and hidden items can also leave you adding up fewer rows than the total includes.
7. Missing or ambiguous relationships
When a dimension has no working relationship to the fact table, every row shows the same figure, because the filter never reaches the data. Many-to-many relationships and filters that run the wrong way can also split or double-count values. If the same number repeats down a column and the Power BI grand total matches it, check the model before you touch the DAX.
8. Measures that remove or change filters
Functions such as ALL, ALLSELECTED and REMOVEFILTERS change what a measure can see. They are essential for percent-of-total calculations, but they can make rows and totals tell different stories if the logic is not written with the total row in mind.
Why Each Power BI Grand Total Behaves That Way
| Cause | What the total does | Typical fix |
| IF or threshold logic | Tests the whole dataset once | SUMX over the row level |
| Averages and ratios | Recalculates from the totals | DIVIDE of two additive measures |
| Distinct counts | Counts each item once overall | Accept it, or label the total |
| Balances and stock | Sums every period | Use the last date in the period |
| Rounding | Uses unrounded values | Round in the measure, not the format |
| Blank or hidden rows | Includes rows you cannot see | Fix keys and check the blank row |
| Relationships | Repeats or splits values | Repair the model relationship |
| ALL / ALLSELECTED | Ignores some filters | Test row and total separately |
How to Fix a Power BI Grand Total That Does Not Add Up
Work through these steps in order. The first two take minutes and solve more problems than the clever DAX does.
- Decide which total you want. Do you need the sum of the visible rows, or the true overall figure? Both are legitimate. Agree the definition with the business before you change anything.
- Check the data and model first. Look for a blank row, unmatched keys and missing relationships. Reconcile the Power BI grand total to a card showing the same measure from the source.
- Use SUMX over the row level. Keep your row logic in one measure, then add a second measure that iterates over the rows and sums the result.
- Use DIVIDE for ratios. Calculate the numerator and denominator as additive measures and divide them at the end.
- Handle balances deliberately. Return the closing value for the period instead of adding every date together.
- Hide the total if it has no meaning. In the Format pane, turn off totals on a table or the grand total settings on a matrix.
Here is the bonus example repaired. The first measure holds the row logic. The second iterates over each rep with SUMX, so the total becomes the sum of the rows:
Bonus Per Rep =
IF ( [Total Sales] > 100000, [Total Sales] * 0.05, 0 )
Bonus =
SUMX ( VALUES ( Reps[RepName] ), [Bonus Per Rep] )
Put the second measure in your visual. On a single rep it returns that rep’s bonus, and on the total row it adds the reps together. The total now shows $6,000. Two more patterns worth keeping nearby:
Margin % =
DIVIDE ( [Total Profit], [Total Revenue] )
Closing Balance =
CALCULATE ( SUM ( Balances[Amount] ), LASTDATE ( ‘Date'[Date] ) )
For matrices with several levels, the ISINSCOPE function tells a measure which level it is being evaluated at, so you can write different logic for rows, subtotals and the grand total. The long-running Microsoft Fabric Community thread on measure totals is a useful read on why this surprises so many people, and Microsoft’s DAX overview explains filter context in plain terms.
A Five-Minute Power BI Grand Total Audit
- Add a card using the same measure and compare it to the Power BI grand total.
- Switch the visual to show items with no data and look for a blank row.
- Check whether the measure contains IF, SWITCH or SELECTEDVALUE.
- Ask whether the measure is an average, a ratio, a distinct count or a balance.
- Temporarily show more decimal places to rule out rounding.
- Open the model view and confirm each relationship points the right way.
Totals are only one place numbers drift. If your report also looks current when it is not, read the stale dashboard problem and why Power BI data stops updating. If two reports give two answers for the same KPI, see the measure sprawl problem and semantic model duplication.
Fixing the Power BI Grand Total in Australian Workplaces
Whichever city you work in, wrong totals cost the same thing: trust. Here is how the problem tends to show up around the country, and where you can get hands-on help.
Sydney. Finance and professional services teams scrutinise every figure, so a mismatched total gets noticed quickly. See our Power BI course in Sydney, taught face to face in Surry Hills or live online.
Melbourne. Retail, healthcare and government reporting often mixes ratios and distinct counts, which is where totals misbehave most. Join our Power BI course in Melbourne in West Melbourne or online.
Brisbane. Construction and resources teams track balances, stock and project cost, all of which need careful total logic. Explore the Power BI course in Brisbane at our Ann Street training room or live online.
Perth. Operational and resources reporting often relies on large models, where one broken relationship can distort every figure. Our Power BI courses in Perth run live online or in-house.
Adelaide and Canberra. Government and public sector teams need totals that stand up to review. Take a look at the Power BI course in Adelaide and the Power BI course in Canberra, or compare every option on the locations page.
Power BI Courses That Help You Master Totals and DAX
Reliable totals come from understanding filter context, and that is a skill you can practise. These courses build it step by step:
- Power BI Beginner Course: connect and transform data, build your first interactive dashboard and learn how visuals respond to filters.
- Power BI Intermediate Course: write DAX formulas for calculations and aggregations, plus drill-through pages and row-level security.
- Power BI Advanced Course: complex DAX with iterator and time-intelligence functions, which is exactly where SUMX and balance fixes live.
- PL-300 Microsoft Power BI Data Analyst: certification preparation aligned to the Microsoft exam.
- Introduction to Microsoft Power Platform (PL-900) and DP-600T00 Microsoft Fabric Analytics Engineer: broaden your skills across the wider Microsoft data platform.
Not sure where to start? Browse the full course list or ask an advisor which level fits your current DAX confidence. Once your numbers are solid, the next challenge is people. Our posts on the KPI definition gap, the KPI ownership gap and dashboard ownership show how to keep trust once the totals are right.
Power BI Grand Total FAQs
Why is my Power BI total different from the sum of the rows?
Because the Power BI grand total recalculates the measure with no row filter, instead of adding the rows. Measures with IF logic, averages, ratios, distinct counts or balances can return a different value on that recalculation.
How do I make the Power BI grand total equal the sum of the rows?
Write a measure that iterates over the row level with SUMX and VALUES, then use that measure in the visual. This forces the total to add up what each row calculates.
Why does my distinct count total not match the rows?
A distinct count total counts each item once across the whole dataset, while each row counts items within its own group. If an item appears in several groups, the rows add up to more than the total, and that is expected.
Why does the same value repeat on every row?
This usually means there is no active relationship between the field on the rows and the table holding the data, so the filter never arrives. Check the model view before editing any DAX.
Can I hide the Power BI grand total in a table or matrix?
Yes. In the Format pane, switch off the totals for a table, or the row and column grand total settings for a matrix. It is the right choice when a total has no real meaning, such as a sum of percentages.
Are there Power BI courses online in Australia?
Yes. Our courses run live online for learners anywhere in Australia, with in-person options in Sydney, Melbourne and Brisbane. See the FAQ page for more detail.
Final Thoughts: Make the Power BI Grand Total Earn Its Trust
A Power BI grand total that does not match the rows is rarely a bug. It is a measure answering a different question from the one you expected. Decide what the total should mean, test the model, iterate over the right level and label anything that is not additive. Do that, and the next person who checks the bottom line with a calculator will find the numbers agree.
Ready to build reports people trust? Call 1300 649 299, enquire about a course or explore our Power BI courses today.
