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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.