Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
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 us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 26 | |
| 24 | |
| 19 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 43 | |
| 37 | |
| 35 |