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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
cleytonp
Frequent Visitor

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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