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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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