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 nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
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
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 22 | |
| 20 | |
| 20 | |
| 20 | |
| 20 |