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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Solved! Go to Solution.
Hi @hmeltonPSL ,
Direct Query adds a challenge to this but the easiest way is probably to make two separate DAX columns.
The first one is to create the Month Number like this:
MonthNumber = MONTH('Reports_vwAllWorkOrders'[DATECOMPLETE])
Then, you can use a "Switch" to change the number to words:
MonthName =
SWITCH(
MONTH('Reports_vwAllWorkOrders'[DATECOMPLETE]),
1, "January",
2, "February",
3, "March",
4, "April",
5, "May",
6, "June",
7, "July",
8, "August",
9, "September",
10, "October",
11, "November",
12, "December"
)
Then, sort by the "MonthNumber" but show the "MonthName"
Proud to be a Datanaut!
Private message me for consulting or training needs.
SWITCH worked.
Hi @hmeltonPSL ,
Direct Query adds a challenge to this but the easiest way is probably to make two separate DAX columns.
The first one is to create the Month Number like this:
MonthNumber = MONTH('Reports_vwAllWorkOrders'[DATECOMPLETE])
Then, you can use a "Switch" to change the number to words:
MonthName =
SWITCH(
MONTH('Reports_vwAllWorkOrders'[DATECOMPLETE]),
1, "January",
2, "February",
3, "March",
4, "April",
5, "May",
6, "June",
7, "July",
8, "August",
9, "September",
10, "October",
11, "November",
12, "December"
)
Then, sort by the "MonthNumber" but show the "MonthName"
Proud to be a Datanaut!
Private message me for consulting or training needs.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.