This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 32 | |
| 26 | |
| 25 | |
| 24 | |
| 15 |
| User | Count |
|---|---|
| 62 | |
| 48 | |
| 27 | |
| 21 | |
| 20 |