Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Create a Measure at a higher level that the report. (Level Metric)

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.

 

MonthRegionSalesTotal Month Sales
Nov-18120110
 220110
 330110
 440110
  110 
5 REPLIES 5
parry2k
Super User
Super User

@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.

Anonymous
Not applicable

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.

 

MonthRegionSalesTotal
18-Nov120110
 220110
 330110
 440110
  110 
18-Dec130150
 230150
 340150
 450150
  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.

Anonymous
Not applicable

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] ) )

Anonymous
Not applicable

Actually, it wasn't 100% correct, but it is closer to what I wanted.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors