- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Total of Measure not as expected
Hi, I am already aware that my problem refers to how I built the measure, but although I was studying the other threats I was not able to get the correct measure.
Measure for Conversion to cases:
Can you pls help me to create the right measure?
Thank you very much for your support
Daniela
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Get the total bottles for each separate value of bottles per case and then do the division.
Try something like this:
SUMX (
SUMMARIZE (
Sales,
'Bottles per case'[Bottles per case],
"@Bottles", SUM ( Sales[Bottles] )
),
DIVIDE ( [@Bottles], 'Bottles per case'[Bottles per case] )
)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Get the total bottles for each separate value of bottles per case and then do the division.
Try something like this:
SUMX (
SUMMARIZE (
Sales,
'Bottles per case'[Bottles per case],
"@Bottles", SUM ( Sales[Bottles] )
),
DIVIDE ( [@Bottles], 'Bottles per case'[Bottles per case] )
)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Thank you, it is working!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@dkc First, please vote for this idea: https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e
This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
Also: https://youtu.be/uXRriTN0cfY
And: https://youtu.be/n4TYhF2ARe8
Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!: Power BI Cookbook Third Edition (Color)
DAX is easy, CALCULATE makes DAX hard...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Thank you, I will check those sources!

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
09-14-2024 04:22 AM | |||
08-26-2024 02:40 PM | |||
05-22-2024 03:26 AM | |||
05-08-2024 10:34 AM | |||
Anonymous
| 02-06-2024 07:06 AM |
User | Count |
---|---|
113 | |
90 | |
83 | |
55 | |
46 |