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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

How to calculate the Maximum and Minimum of a measure

Hello-

 

I have the below data set, i would like to get the maximum and minimum value for the Measure 

Table 1

ID    Measure 

1      5

2      6 

3      7

4      8.5

5      9

6      10

 

I can use the below formula to get the max value of 10, but when a slicer/dropdown  filter is applied for the ID then the value that i get is for the selected filter ID and not max for the whole table. What do i do so that even if a page level filter is applied then i can get the value of 10 (Max) of measure, 

Max Manage Education Score = MAXX(
    All(Table 1 [ID]),[Measure]
)
 
Thanks
1 ACCEPTED SOLUTION
Anonymous
Not applicable

I was able to find it out, it is as follows CALCULATE(MAXX(
All(Education_Metrics[Company_RecID]),[Tiered Manage Education Score]
),ALL(Education_Metrics))

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

I was able to find it out, it is as follows CALCULATE(MAXX(
All(Education_Metrics[Company_RecID]),[Tiered Manage Education Score]
),ALL(Education_Metrics))
Anonymous
Not applicable

error_3.png

Anonymous
Not applicable

Hi @MattAllington thanks for reverting back to my query, it doesnt seem to work with a measure pls see attached.error2.png

MattAllington
Community Champion
Community Champion

You can write CALCULATE(max(tableName[measure]),All(tableName))



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

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.