Forum Discussion
Custom Column Formula Help
- Anonymous4 years ago
Hi rpinxt ,
Please try this formula:
if [Mat.Type]="ZRAW" then try Number.From(Text.Start([Material],2)) otherwise "LB" else "X"PS: I helped you move your post to the Power Query forum. Posting in the correct forum next time will help you solve the problem faster.
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.
Sure, you can do it without adding the column.
Personally I divide and conquer when attacking a problem, it's easier to debug and separate out parts of the logic.
One thing about Power Query steps is that you can add columns to help, get other results and then remove the helper columns.
- rpinxt4 years ago
Solution Sage
I understand but in a large dataset would adding all these extra columns not lead to worse performance (and I do understand that complex formulas would do the same but still)
Also...how would that formula look 😊....because there does not seem to be an IFERROR formula othere then try / otherwise....but that would not fit very good in my if formulas.....