Forum Discussion
Anonymous
5 years agoNot applicable
Switch in M
Hi Team, How to write this is M query (Condition coloum) results = SWITCH(TRUE(),'table'[Q2 Converted] = 0,"N/A",'table'[Q2 Converted] >= 'table'[Baseline converted],"Yes","No")
- 5 years ago
Hi Anonymous,
You can try:
if [Q2 Converted]=0 then "N/A" else if [Q2 Converted]>=[Baesline converted] then "Yes" else "No")If you still have some question, please don't hesitate to let me known.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
amitchandak
Super User
5 years agoAnonymous , I doubt there is one. We use nested if then else.
But refer this blog