Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Dear All,
When I searched about problems that is related to measured total problem, I have seen many solutions but that does not work for my problem. Although I have wrote a formula based on a logic ( this works well.) total sum of measured formula is wrong. As you see below, "brüt cb.satış" column's total is 2,006 but it should have been 2773. Can you help me ?
formula that I wrote to fix wrong total but does not work
Best Regards.
Solved! Go to Solution.
sorry, I obviously did not manage to post in the code in my previous post. Here it is:
measure =
IF (
HASONEVALUE ( [code] ),
[brut],
SUMX ( SUMMARIZE ( 'table', [code], [surname] ), [brut] )
)
and just a little tip, when sharing code(and data), paste the code/data instead of screenshots
Hi, @Anonymous,
without knowing the code for [brut cb satis], it's difficult to suggest an exact solution.
You could try to rewrite your code to this:
Cheers,
Sturla
If this post helps, then please consider Accepting it as the solution. Kudos are nice too.
Hi @sturlaws
Just for your info ,brüt cb satış calculation works well except total sum.
Code as follow :
sorry, I obviously did not manage to post in the code in my previous post. Here it is:
measure =
IF (
HASONEVALUE ( [code] ),
[brut],
SUMX ( SUMMARIZE ( 'table', [code], [surname] ), [brut] )
)
and just a little tip, when sharing code(and data), paste the code/data instead of screenshots
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 22 | |
| 21 | |
| 20 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 37 | |
| 31 | |
| 27 |