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.
I have to create a custom column "Lift/Escalator" which has the value "Lift" or "Escalator" based on another column, "lift_list".
That is If [lift_list] is not null, then Lift/Escalator should have "Lift", otherwise "Escalator"
I tried the following two formulae
1. = Table.AddColumn(#"Renamed Columns", "Lift/Escalator", each IF( ISNOTBLANK([lift_list]) , "Lift" , "Escalator" ))
2. = Table.AddColumn(#"Renamed Columns", "Lift/Escalator", each IF [lift_list] <> null , "Lift" , "Escalator" )
I got this error for both:
Can you please help me solving this. Thanks in advance!
Solved! Go to Solution.
Power Query is case sensitive, use the second version of your code but use if instead of IF
Power Query is case sensitive, use the second version of your code but use if instead of IF
Thanks. It worked
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
84 | |
84 | |
66 | |
62 | |
62 |
User | Count |
---|---|
199 | |
120 | |
110 | |
79 | |
69 |