Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Totals Not Equaling Rows

Hello,

 

I'm new to Power BI and have taken over a dashboard created by someone no longer around to ask.

 

I am wondering why my totals are not equaling what I am adding up in the columns for Scheduled Hours and Sick Hours.

 

Any assistance on what is happening and how to fix this would be great.

 

Sample-May.jpgSample-May-Columns.jpg

1 ACCEPTED SOLUTION
danextian
Super User
Super User

Hi @Anonymous ,

 

That is normally the case if the aggregation used in the formula uses the distinct values. For example, Item1 in column A shows 2 and Item2 shows 3 but the total sums up to only 5. To illustrate:

ColumnA ColumnB Distinct Count per columnA Distinct Count as a whole
Item1 A 3 unique items 4 unique items (A, B, C, D where C is counted once)
Item1 B
Item1 C
Item2 D 2 unique items
Item2 C

You can inspect the formulas in those measure to get an idea.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

3 REPLIES 3
danextian
Super User
Super User

Hi @Anonymous ,

 

That is normally the case if the aggregation used in the formula uses the distinct values. For example, Item1 in column A shows 2 and Item2 shows 3 but the total sums up to only 5. To illustrate:

ColumnA ColumnB Distinct Count per columnA Distinct Count as a whole
Item1 A 3 unique items 4 unique items (A, B, C, D where C is counted once)
Item1 B
Item1 C
Item2 D 2 unique items
Item2 C

You can inspect the formulas in those measure to get an idea.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Anonymous
Not applicable

Thank you for providing an example. This is something I will need to be aware of go forward and try to find a way to show the proper totals

yaowen
Frequent Visitor

It is suggested to cut the table data to make it clearer. Try this code to create two new Measures:

ScheduledHours = SUM([Scheduled Hours])

SickHours = SUM([Sick Hours])

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors
Top Kudoed Authors