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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
lekkerbek
Helper IV
Helper IV

Date sorting in Matrix

Hi,

 

I have created a matrix and I put the date in the columns field.

 

It gives me the information I want, but I want to start with the most recent year and previous years should be more to the right. It now starts with the oldest year available.

 

Is it possible to change the order in the Matrix visual?

7 REPLIES 7
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @lekkerbek,

As the @Greg_Deckler posted, please click the triangle button highlighted in red line at the column hearder, order by data ASC or DESC. 

 

Capture1.PNG

 

If this doesn't resovle your problem, please post detail information or screenshot.

 

Best Regards,
Angelia

Hi,

 

I believe you are referring to a table? My problem is with the matrix.

 

Knipsel.PNG

 

Hi @lekkerbek,

 

It's a matrix, I don't add the legend level, so it likes table. Based on your description, you can choose data rather than hierarchy.

 

1.PNG

 

Best Regards,

Angelia

Ah I see what you mean, but my date is the columns section (and needs to be there for the correct presentation). 

Hi @lekkerbek,

As I tested, we are unable to order the data directly in column level in Matrix visualization. Please review this article. Thanks for understanding.

 

Best Regards,
Angelia

Thanks for your suggestion. I get the following error when doing that:

 

Expression.Error: We cannot convert the value #date(2016, 12, 31) to type Number. Details: Value=31-12-2016 Type=Type

 

Perhaps I should just wait untill the feature is implemented.

Greg_Deckler
Community Champion
Community Champion

Sounds like you just need to adjust the order in the Rows section of the visual, you can just drag and drop the columns to change the order.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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