Forum Discussion
balar2007
5 years agoRegular Visitor
SWITCH or IF
I need to transform a case statement which i have written in spotfire to Power Bi case WHEN [Formula]~="EBOB" THEN "MOGAS" WHEN [Formula]~="G01" THEN "GASOIL" WHEN [Formula]~="G50" THEN "GASOIL" ...
balar2007
5 years agoRegular Visitor
Hello Amit
Quick clarification, how do i manipulate it in case if I have to use contain in the formula you gave. For example Formula contains EBOB then equal to "MOGAS".
Anonymous
5 years agoNot applicable
Hi balar2007 ,
Please kindly refer to the below link which has similar issue:
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.