Forum Discussion
valerial
Helper I
6 years agoMultiple conditions in a column dax
I am trying to select multiple values within one text and write mulitple ifs within one column something like this.. but this does not work how do i do this if ([ACCOUNTNUM] = “B30001,B34123” an...
- 6 years ago
amitchandak
Super User
6 years agovalerial ,
Please try
Switch (true(),
[ACCOUNTNUM] in { "B30001","B34123"} && [Amount]>0 , "Reversal" ,
[ACCOUNTNUM] in {"B30002","B12323"} && [Amount]>0 , "Release",
"Accrual"
)