Forum Discussion

Lobs01's avatar
Lobs01
New Member
2 years ago
Solved

Looking up a range

Hi There,    I am trying to lookup my measure to the table listed below, is there a way i can get this via a measure?   My end goal is for example my Measure is equivalent to 95.9% it should fall...
  • AMeyersen's avatar
    2 years ago

    Hi Lobs01 ,

    the secret is to use a variable to store the value of myMeasure. Otherwise you can't use it as filter in a CALCULATE formula:

    tierMeasure =
    VAR _measureValue = [myMeasure]
    RETURN
        CALCULATE ( MAX ( 'Table'[Tier] ), 'Table'[ToGoal] <= _measureValue )