Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 48 | |
| 35 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 142 | |
| 111 | |
| 65 | |
| 38 | |
| 33 |