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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |