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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors