Forum Discussion
AllanBerces
1 year agoPost Prodigy
Switch
Hi good day can anyone help me on my new column base from my table below, basically if the comments is Cancelled and Tobe- Cancelled the actual colunm should reflect Non-Workable. OUTPUT ...
- 1 year agoActual = SWITCH(Test[Comment], "Cancelled", "Non-Workable", "Tobe-Cancelled", "Non-Workable", Test[Status])
- 1 year ago
Just add [Status] like this
Actual = SWITCH( TRUE(), [Comments] = "Cancelled" || [Comments] = "Tobe- Cancelled" , "Non-Workable", [Status] )regards
Phil
PhilipTreacy
1 year agoSuper User
Just add [Status] like this
Actual =
SWITCH(
TRUE(),
[Comments] = "Cancelled" || [Comments] = "Tobe- Cancelled" , "Non-Workable",
[Status]
)
regards
Phil