Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
86 | |
86 | |
84 | |
67 | |
49 |
User | Count |
---|---|
131 | |
110 | |
97 | |
71 | |
67 |