Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello, can you please help put the months in order?
On my date table, the column monthName is sorted by the monthNo, and the monthOfYear sorted by the month name, but it's still showing wrong. Many thanks!
Solved! Go to Solution.
@RenataOGardner
In your calendar table, create another column as follows for sorting monthOfYear then sort your column by this new monthOfYearSort.
monthOfYearSort = INT ( FORMAT( [Dates[Date] , "yyyymm") )
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hi @RenataOGardner,
Try sorting your month of year column with a combination of month number and year.
@RenataOGardner
In your calendar table, create another column as follows for sorting monthOfYear then sort your column by this new monthOfYearSort.
monthOfYearSort = INT ( FORMAT( [Dates[Date] , "yyyymm") )
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
The column 'month of year' should not be sorted by month name, it needs to be sorted by by a combinaiton of Year & Month. See this post - https://community.powerbi.com/t5/Desktop/Sorting-by-Year-Month-and-Display-Month-Name/m-p/891004
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.