Forum Discussion
Anonymous
5 years agoNot applicable
IF with multiple statements in M language
Hi, in Power Query, by a custom M code, is it possible to use IF with more statements for a satisfied condition? In another terms, is it possibile to have a block of instructions to run for an IF, d...
v-kelly-msft
5 years agoCommunity Support
Hi Anonymous ,
You could use "if" with "else... then" for different senarios or use "if" with "and/or" with multiple conditions,check below reference:
https://gorilla.bi/power-query/if-function-in-power-query/
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!