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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.