Forum Discussion

JetMax's avatar
JetMax
Frequent Visitor
6 years ago
Solved

Measure Help

Hi All!   I need some help with a Measure I am trying to do. I want to do the below which is working out the cost of something based on 3 separate critrea - Brand, Country and Type and work out the...
  • amitchandak's avatar
    amitchandak
    6 years ago

    My Mistake

    SWITCH(true(),
    firstnonbank(table[Brand],blank())="Opt 1" &&  firstnonbank(table[Country],blank())="Opt 1" && firstnonbank(table[Type],blank()) = "Opt 1","A1",
    firstnonbank(table[Brand],blank())="Opt 1" &&  firstnonbank(table[Country],blank())="Opt 2" && firstnonbank(table[Type],blank()) = "Opt ","A3",
    "A4"
    )