Forum Discussion

rsbin's avatar
rsbin
Community Champion
2 years ago
Solved

Identify Which Measure provides Max Value

Good Afternoon, I have the following setup: Site Measure1 Measure2 Measure3 A 5500 5600 5400 B 3500 2500 4000 Using the following Measure, I can g...
  • MattAllington's avatar
    2 years ago

    Seems like your measure is giving the result you need for the number. Maybe you can then evaluate each measure and use a switch statement for the measure name. Something like

    which measure = SWITCH(TRUE(),

    [Measure1]=[MaxValue],"Measure 1",
    [Measure2]=[MaxValue],"Measure 2",

    [Measure3]=[MaxValue],"Measure 3")

     

    this assumes only one measure is the max, otherwise you would need to concatenate the above.