Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Unfortunately, I only have a rudimentary knowledge of PowerQuery and would need some assistance.
I would like to create a user-defined column in which text entries from another column are evaluated.
= Table.AddColumn(#"Umbenannte Spalten", "Vers_act", each if Text.Contains([BricsCAD Version], "Pro") then "Pro Version" else
each if Text.Contains([BricsCAD Version], "V19") then "Lite Version" else
each if Text.Contains([BricsCAD Version], "V20") then "Lite Version" else null)
Expected result -> column with entries: Pro Version, Pro Version, Lite Version, Lite Version....
Generated result:
Can you provide a small explanation, why the other statements aren´t recognized / a function gets returned instead of a Text /String?
Solved! Go to Solution.
Hi @DorFey ,
I reproduced your issue.
Please remove "each" and it will be correct.
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.
Thank you very much for your help, really appreciate that 🙂
Hi @DorFey ,
I reproduced your issue.
Please remove "each" and it will be correct.
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.