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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
NielsBakker
Frequent Visitor

Totals do not add up correctly for only 1 field.

Hi!

I've a small and simple model but it looks like that only 1 field from my fact table does not add up correctly, but other fields do. 

Please see below 2 screenshots of:

- The problem

- Data model

NielsBakker_0-1696866685500.png NielsBakker_1-1696866704186.png

 

 

The totals of the unbleded costs (marked in yellow) should add up to 609741,56. The other 2 totals are correct. 

All 3 fields are from the FactTable and are not a measure. Furthermore, the 'Name' is from the DimService tabel. 

 

I've also tried to change the relationship from single to both filter, but with no positive result. 

Could you please help me with figuring out what the problem is? 

 

Many thanks!

 

Kind regards,

Niels

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @NielsBakker 

You can create a sum measure first.

Sum_=SUM('Cloud FactResourceCost'[UnblendedCost])

Then create a new measure 

Total_Sum=SUMX(VALUES('Cloud DimService'[Name]),[Sum_])

Put the total_sum measure to the visual

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @NielsBakker 

You can create a sum measure first.

Sum_=SUM('Cloud FactResourceCost'[UnblendedCost])

Then create a new measure 

Total_Sum=SUMX(VALUES('Cloud DimService'[Name]),[Sum_])

Put the total_sum measure to the visual

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

sergej_og
Super User
Super User

Hey @NielsBakker ,
so your results come from implicit measures, right?
What would happen if you try to use explicit measures to get your result?
SUM_Measure = SUM(your column to sum)

Just to figurer out what will happen.

Your model looks pretty easy and clean.

Regards

Hi @sergej_og ,

 

My results are indeed from implicit measures. 

When I use a measure: 

SUM('Cloud FactResourceCost'[UnblendedCost])
 
Then I get the same result unfortunately. 
 
Kind regards,
Niels
 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors