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
| User | Count |
|---|---|
| 25 | |
| 22 | |
| 22 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 68 | |
| 55 | |
| 45 | |
| 42 | |
| 30 |