Forum Discussion

Wresen's avatar
Wresen
Icon for Post Patron rankPost Patron
4 years ago
Solved

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 mo...
  • Anonymous's avatar
    Anonymous
    4 years ago

    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.

     

    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.