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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Incorrect sorting using formatted date
Any suggestion?
Solved! Go to Solution.
Thanks @Anonymous , I ended up solving the problem sorting out the column based on another col. which was date type
@Anonymous That's because using FORMAT changes the data to Text and not Date. You will need a Sort By column most likely or try using custom format strings. See Chelsie Eiden's Duration. Chelsie Eiden's Duration - Microsoft Power BI Community
Thanks @Greg_Deckler , however not sure how I could adjust your suggestion (link) from hours to days. I have tried to change the date format, still using the date format, but not sure why Excel doesn't recognize it. Using Sort by column doesn't work either. I am not using powerbi, just excel.
Hi @Anonymous ,
The line chart can sort by the date field correctly even though set the format of the date field as "dd/mm/yyyy ddd" just as shown in below screenshot...
In addition, please review the content in the following links, hope they can help you resolve the problem.
Excel Won't Sort Dates Correctly - The Solution!
How to sort by date in Excel: in chronological order, by month, auto sort
Best Regards
Thanks @Anonymous , I ended up solving the problem sorting out the column based on another col. which was date type
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.