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 nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
I am trying switch function to create a new column.
Solved! Go to Solution.
@Anonymous
also change column type to Text in Column tools ribbon
Hi @Anonymous
try to use quotas
SWITCH(Query1[Month_New],
"January","01",
"February","02",
...,
"12")
It is not working
@Anonymous
also change column type to Text in Column tools ribbon
Thanks for the solution
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 |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 20 | |
| 13 |
| User | Count |
|---|---|
| 68 | |
| 55 | |
| 42 | |
| 39 | |
| 30 |