Forum Discussion
jaryszek
Super User
5 years agoTwo steps in if statement
Hi, in VBA i would have : if 1=1 then 'step 1 'step 2 If is there any equivalent in power query? Best, Jacek
- 5 years ago
jaryszek
It executes only one step.
If you need to execute two steps either under the true or false part, then it depends on what you exactly are trying to acheve here. You can create a custom function and include all the actions there for this purpose.
Hope this is helpful, if you need to share a scenario with sample data and the expected output, please do so.
Fowmy
Super User
5 years agojaryszek
It executes only one step.
If you need to execute two steps either under the true or false part, then it depends on what you exactly are trying to acheve here. You can create a custom function and include all the actions there for this purpose.
Hope this is helpful, if you need to share a scenario with sample data and the expected output, please do so.
jaryszek
Super User
5 years agothank you