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
Wresen
Post Patron
Post Patron

Get highest value from a measure

Hi

I have a measure (measure 2) that do a calulation and writes "above" if the value is higher then a specifeid value and shows it like table below . 

Is it possible to get the max values of the month in a measure (in this case 202111)

 

This needs to be in a measure  

 

above.PNG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Wresen ,

 

I suggest you to add a filter like [Measure2] = "above" in your new measure.

It should look like as below.

Max above Month =
CALCULATE (
    MAX ( 'Table'[Month] ),
    FILTER ( ALL ( 'Table' ), [Measure2] = "above" )
)

Result is as below.

1.png

 

Best Regards,
Rico Zhou

 

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

7 REPLIES 7
Wresen
Post Patron
Post Patron

Hi @vojtechsima 
Since measure 2 is a mesure it can change if a month is "above" or not depning on filters in the report.
I wan the new measure to get the highest month and this case on the picture its 202111:
so the new measure should write 202111 in a new table if i put it there.

 

@Wresen 
Then try to write measure as I sent in below post.

@vojtechsima  

Thanks so much for your help but, I do not get it to work , it gives me the max value on the month table (max is 202210) , it does not "care" about measure 2 and that it filter it down to 202111.

Then i might even get more complicated since i do not want to show the table (picture) , i just want the resalut (202111) in the table.

Anonymous
Not applicable

Hi @Wresen ,

 

I suggest you to add a filter like [Measure2] = "above" in your new measure.

It should look like as below.

Max above Month =
CALCULATE (
    MAX ( 'Table'[Month] ),
    FILTER ( ALL ( 'Table' ), [Measure2] = "above" )
)

Result is as below.

1.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

One more stupied question

When we now have Max above all in the measuer , is it possible to filter month so it only show data from the month using the "max above all" like a filter

/Thanks

 

Hi @Anonymous 

Thanks so much . Just what i was looking for.

vojtechsima
Super User
Super User

Hi, @Wresen 
I am not sure if I get it right,
but do you mean just MAX value of all of those?
You can use:

MaxMeasure = 
CALCULATE(MAX(YourColumn), ALL('Yourtable'))

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
Top Kudoed Authors