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 nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi guys, I have written a formula with a SWITCH to add a custom column.
POWER BI says it doesnt recognise the SWITCH command.
Why can I write a formula in the text box but M doesnt recognise it?
Where should i write it then?
very frustrated
Ian
Solved! Go to Solution.
SWITCH is a DAX function and not Power Query Function.... thus you cant use it there
Thanks ,worked it out
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 51 | |
| 37 | |
| 30 | |
| 26 |