Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Switch Measure error

Hi Experts   Cannot see my error in the following switch Measure - Has the siwitch function been composed correctly???   Measure_Switch =  If(Hasonevalue(Table[Type]), Switch(Selectedvalue(Tabl...
  • keshavagrawal27's avatar
    3 years ago

    Hello Anonymous,

    We cannot add measures like you did in switch.

    Please create variables to do the addition and then use thode variables in switch.

     

    Please mark it as solution if it helped you.

     

    Regards,

    Keshav Agrawal