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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
BZerr824
Frequent Visitor

Help with Dax

Hi Everyone,

I need help!  We use live connection to an SSAS tabular model for our Power BI reports, but sometimes have to create addtional formulas within specific reports.
I'm trying to get a total for one level of a location hierarchy and I need that total to be displayed no matter what level the report is actually at (i.e. I need the same total to repeat for all records. )  Here is example of what I need.  Hopefully this makes sense!  Basically I need "New Metric" to stay at the DM level, no matter what level the report is at.  Thanks in advance for your help!!

     
Slicer may be on DM or a Store, but want new metric to remain same
     
     
     
District MgrStore nameStore countMetric 1New metric
BobStore 1142.25
BobStore 2122.25
TimStore 3110.75
AmyStore 4133
AmyStore 5183
AmyStore 6113
     
     
Calculate 75% of  Average Metric 1 per DM 
Bob2.25 75% of the average of metric 1 per DM
Tim0.75   
Amy3  
1 REPLY 1
Greg_Deckler
Community Champion
Community Champion

@BZerr824  - Get the MAX of DM column and then use ALL and then filter down your value for DM.



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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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