March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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 @nuhasan ,
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 @nuhasan ,
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.