Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have this problem giving me gray hair.
So I have customer no, sales, cost and cost of sales %.
The cost of sales % is correct for each customer no, but the total is wrong.
I would like it to be total sales divided with total cost, but instead it´s summarized.
Also the green visualizations is summarized, and choosing avarage or median also gives me the wrong result.
Hi, @Dhjlm
From your screenshot, we can't see how the 'cost of sales %' is calculated? So can you explain it?
If it's a measure, you may need to modify it by using sum(summarize()) function to make the total correct.
And it's better to share some sample data and your desired result. So we can help you soon.
Best Regards,
Community Support Team _ Janey
Sorry, that didn´t help
can you share your Dax ?
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |