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! Request now

Reply
shantupm5
Helper III
Helper III

MAX Function

I have a measure which i have created and result of the measure is something like this. I need to find out Max value out of this output.

 

 Accuracy
Customer 199.97%
Customer 299.82%
Customer 399.82%
Customer 499.96%
Customer 599.97%
Customer 699.66%

 

However i get below error message

 

shantupm5_0-1686147456787.png

 

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

@shantupm5 

You need to look at the MAXX function.  It works like this.

If you have a measure that calculates sales 

Sales = SUM ( Sales_Table[Sales Amount] )

And you want the MAX Sales amount across all customers it would be

Max Sales = MAXX ( Values ( Customer[Customer Number] ), [Sales] )

 

View solution in original post

1 REPLY 1
jdbuchanan71
Super User
Super User

@shantupm5 

You need to look at the MAXX function.  It works like this.

If you have a measure that calculates sales 

Sales = SUM ( Sales_Table[Sales Amount] )

And you want the MAX Sales amount across all customers it would be

Max Sales = MAXX ( Values ( Customer[Customer Number] ), [Sales] )

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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