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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello,
Why am I getting an error with my IF formula on a Query New Column?
=if([Category 1]=" ",[Family 1],[Category 1])
If complaints about the "," but cannot figure out why.
Thank you
J
Solved! Go to Solution.
ok.
"if" needs to be spelled "If"
But am still getting an error saying that
"Expression.Error: The name 'If' wasn't recognized. Make sure it's spelled correctly."
Any reason why?
Did it differently.
Used a Conditional Column. Much easier.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.