Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
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.
User | Count |
---|---|
82 | |
42 | |
31 | |
27 | |
27 |