Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago

How to write a DAX using switch clause for different output with different Conditions .

Why this ciondition is not working accordingly?

 

MomentumActOutput =

SWITCH(TRUE(),ISBLANK([MomentumAct]),BLANK(),

([MomentumAct]>0 && [MomentumAct]<2),UNICHAR(129112),([MomentumAct]=0),UNICHAR(129112),

([MomentumAct]>-2 &&[MomentumAct]<2),UNICHAR(129112),

([MomentumAct] >2),UNICHAR(9650),

([MomentumAct] <-2),UNICHAR(9660),

BLANK()

)

1 Reply

  • PattemManohar's avatar
    PattemManohar
    Icon for Community Champion rankCommunity Champion

    Anonymous  It will be helpful if you can post some sample data and expected output.