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
MonkeySam
Frequent Visitor

Looking for DAX to get max value of measures

Hi All,

I am looking for a way to get the max value from Measures.

 

I have a set of two tables containing daily transactions and the team list who serves the assigned customers. I have created a Measure (Metric Score %) to see the performance per team by date, however, I also want to show the highiest and lowest performances within a day. The desired result as shown in the last two columns (Max Score % by Date, Min Score % by Date).

 

I have tried MAX or MAXX functions but never achieve this challenge. Can someone please help me out? Thanks.

 

DesiredResult.jpg

 

My example Pbix file

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

I think if you create MAXX and MINX measures in the following format, it should work:

MAXX(ALL(Team[Team]) , [Metric Score %])

View solution in original post

2 REPLIES 2
HotChilli
Super User
Super User

I think if you create MAXX and MINX measures in the following format, it should work:

MAXX(ALL(Team[Team]) , [Metric Score %])

Hi HotChilli,

Thanks for the advice. It works for me so far!!

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.