Forum Discussion
Winniethewinner
Helper IV
4 years agoDAX help: switch selectedvalue not working
Hi everyone, I have a switch DAX. However when I add it to the visual, it shows "Can't display the visual": Tickets_WOW_% =
SWITCH(SELECTEDVALUE(Tickets_Measures[Name]),
"Revenue", IF(AND(Tick...
v-yalanwu-msft
Community Support
4 years agoHi, Winniethewinner ;
As Tamerj1 said, your first if() symbol is incorrect; You can modify it.
Secondly, all your if formulas are the same. Maybe you can try to simplify it.
Tickets_WOW_% =
IF (
AND (
Tickets_Measures[This Week] <> BLANK (),
Tickets_Measures[Last Week] <> BLANK ()
),
DIVIDE ( Tickets_Measures[This Week], Tickets_Measures[Last Week] ) - 1
)
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.