Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Cant sort datetime column in matrix

I created a customized sql query in the data model, I dragged a datetime as well as other categories into Rows, and some values into Values, but I found the datetime sort is not working. I can't add a index for the datetime, because I want to sort other columns.

1.png2.png

5 REPLIES 5
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous ,

Based on my test, it could work on my side:

1.PNG

Could you please check if the format of your data is time?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

The data type is datetime, please find the screenshots below1.png2.png

Hi @Anonymous ,

Sorry to reply you late. I have tested with matrix befor and the result is always work on my side:

1.PNG

I could not reproduce your problem, maybe you could create a support ticket for more help:https://powerbi.microsoft.com/en-us/support/

Support Ticket.gif

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

The data type is datetime, please find the screenshots below

1.png2.png

Anonymous
Not applicable

Is there anyone can help me with this issue?

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.