Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I'm having a lot of trouble to just order the months of the char below, chronolagicaly.
I searched on many topics on the internet but I simply don't know how to apply any of them on my case. I can't change my month column to "Date" and also can't create a measure to number it from 1 to 12.
Thanks for anyone who can help
Photos:
Hello Eric-
Super common issue! Since the month names are text, Power BI assumes that you want to sort them alphabetically.
You need to create an additional MonthNumber column (Creating a new conditional column in Power Query is probably where I'd do it) that basically says:
Then... in your model, select the month column, choose "Sort by column", and then choose the new MonthNumber column.
Tks a lot! It worked pretty fine indeed!
Have a good week.