Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Need to create a measure that is the sum total at the month level.
I have a sum(column) at the report level, but I need a sum at the exact month (level metric in microstrategy). That total month sales would not be on the report per-se but used to calculate additional measures.
I can't seem to figure out how to achieve this. I found a few postings on this topic, but can't see to find a good answer.
| Month | Region | Sales | Total Month Sales |
| Nov-18 | 1 | 20 | 110 |
| 2 | 20 | 110 | |
| 3 | 30 | 110 | |
| 4 | 40 | 110 | |
| 110 |
@Anonymous try this
Total = CALCULATE( SUM( Table1[Qty] ), ALLEXCEPT( Table1, Table1[Month] ) )
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Probably should have been a little more clear. This is "closer" to what I needed but I need it to "break" by month. But each line to have that "month" total.
| Month | Region | Sales | Total |
| 18-Nov | 1 | 20 | 110 |
| 2 | 20 | 110 | |
| 3 | 30 | 110 | |
| 4 | 40 | 110 | |
| 110 | |||
| 18-Dec | 1 | 30 | 150 |
| 2 | 30 | 150 | |
| 3 | 40 | 150 | |
| 4 | 50 | 150 | |
| 150 | |||
@Anonymous the measure I provided should work, you need to use matrix visual,
add month, region on rows, sales and new measure I provided on value
- turn on stepped layout on format page
- turn off column total
- drill down to region level.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
That was actually still giving me a GRAND TOTAL.
I played around a bit and got this to work. Not sure why?
Total = CALCULATE( SUM(FactTable[Qty] ), ALLEXCEPT( FactTable, LookupTable[Month] ) )
Actually, it wasn't 100% correct, but it is closer to what I wanted.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.