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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
cleytonp
Helper I
Helper I

Order Matrix ascending

Can anybody help me? I currently have in this matrix the date from 03/24/2021 to 04/01/2021 but I would like to put it in ascending order.

Wrong Image

Capture.PNG


Correct Image - ( I used photoshop to demonstrate how I want )
Capture - Copy.PNG

I'm using standard date "dd/mm/yyyy" 
Capturesdasd.PNGadsasdasdasd.PNG

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @cleytonp 

It works fine for me in a matrix.  If the dates are dates then it should auomatically sort them correctly.

matrix1.png

 

Have you got the matrix sorted in Ascending or Descending order?  Click on the ellipsis ... to check 

 

matsort.png

 

Can you please supply your data and/or PBIX file if this doesn't fix it.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

3 REPLIES 3
v-jayw-msft
Community Support
Community Support

Hi @cleytonp ,

 

There's no such feature currently. You may achieve the goal by DAX function. Please check the following topic.

https://community.powerbi.com/t5/Desktop/Sort-date-field-in-Matrix-column-header-descending/m-p/9415... 

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
PhilipTreacy
Super User
Super User

Hi @cleytonp 

It works fine for me in a matrix.  If the dates are dates then it should auomatically sort them correctly.

matrix1.png

 

Have you got the matrix sorted in Ascending or Descending order?  Click on the ellipsis ... to check 

 

matsort.png

 

Can you please supply your data and/or PBIX file if this doesn't fix it.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Thanks for your response @PhilipTreacy 
I uploaded my database that I am using. Link Wetransfer 

I replied the way you did and it seems that you are increasingly ordering by values.
ascending reply.PNG
If I change the same spreadsheet with different values ​​it looks like this
ascendingh.PNG

In my real case I have this database Link Wetransfer 
and replicating for that same method was as follows.
ascending by valyes.png

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.