The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
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
Solved! Go to Solution.
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.
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.
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:
User | Count |
---|---|
74 | |
70 | |
39 | |
30 | |
28 |
User | Count |
---|---|
104 | |
95 | |
51 | |
48 | |
46 |