Forum Discussion
using IF in Power query
Hi moltra_1 ,
It seems that this if statement is controlling the depth of the recursion. Why would you want to remove it?
Try increasing or decreasing the number in the if statement.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
- moltra_13 years agoRegular Visitor
I cannot get the IF statement to work. I am trying to put it in there to control the recursive depth. I should have been more clear in my initial post.
With the IF statement, I am getting no Syntax errors, but get the following error.
An error occurred in the ‘’ query. Expression.Error: The name 'Result' wasn't recognized. Make sure it's spelled correctly.