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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Rahulsingh
Helper I
Helper I

Measure Total Issue

Hi Everyone 

I am using a measure to calculate MtgBalance and would like to get total at the bottom but it's showing me the value of the last record $36,438 rather than Total $539,777.8. How can I get this to work? Any Help would be greatly appreciated 

 

MtgBalance = CALCULATE(MAX('Table1'[Balance]), FILTER('Table1','Table1'[Date]='Table1'[MAxDate]))

MTGbalance.jpg

 

 

 

 

1 ACCEPTED SOLUTION

@Rahulsingh,

 

You may try a similar way as shown here.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

This looks like a measure aggregation problem. See my blog article about that here: https://community.powerbi.com/t5/Community-Blog/Design-Pattern-Groups-and-Super-Groups/ba-p/138149


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

How can I change my formula to get the total, as I am not grouping

@Rahulsingh,

 

You may try a similar way as shown here.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.