Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi
I am having an issue with IF Statement when trying to add Custom Column
Can you please let me know what is wrong with the below?
Thanks for your help in advance
I just want to confirm if you resolved this issue? If yes, you can accept the answer helpful as the solution or share you method and accept it as solution, thanks for your contribution to improve Power BI.
If you need more help, please let me know.
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hey,
Try this:
if [Division] = "McKeon Group" then "Group" else if [Division] = "Group" then "Group" else if [Division] = "Major Works" then "Major" else "0"
@Sean-OReilly . This is power query syntax is wrong
if then else
example
if [Value.1] = "Ok" then "A"
else if [Value.1] = "Procesing" then "Ok"
else "Error"