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
Hi all,
How do I sort my date below "MMM-YY" in monthly order for slicer?
Step I already try:
1. Sort axis - Month Year
Regards,
Nuha
Solved! Go to Solution.
Hi @Anonymous ,
If you have a date column, then add the following new column, and sort [Month Year] column by [YearMonthNum] column.
YearMonthNum = FORMAT ( [Date], "yyyymm" )
For more information, please refer to: Sort one column by another column in Power BI
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
If you have a date column, then add the following new column, and sort [Month Year] column by [YearMonthNum] column.
YearMonthNum = FORMAT ( [Date], "yyyymm" )
For more information, please refer to: Sort one column by another column in Power BI
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Its giving me the following error
Thank you
Understood and thanks!!
add a new column of YearMonthNumber, then Sort By Column
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 17 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |