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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
jcastr02
Post Prodigy
Post Prodigy

Sort Descending - Matrix Visual

I have a matrix visual where I have the date in the columns.  Is there a way I can sort descending so I have the most recent dates on the left vs. having to scroll (July should show on left first).  I tried to go to the data tab and use the "Sort by" but the visual does not change. Any help is appreciated.  See picture.Robot replenishment.png

1 ACCEPTED SOLUTION
v-luwang-msft
Community Support
Community Support

Hi @jcastr02 ,

Pls refer the following sample I provided:

vluwangmsft_1-1658392526883.png

vluwangmsft_2-1658392561382.png

 

Did I answer your question? Mark my post as a solution!


Best Regards

Lucien

View solution in original post

4 REPLIES 4
v-luwang-msft
Community Support
Community Support

Hi @jcastr02 ,

Pls refer the following sample I provided:

vluwangmsft_1-1658392526883.png

vluwangmsft_2-1658392561382.png

 

Did I answer your question? Mark my post as a solution!


Best Regards

Lucien

jcastr02
Post Prodigy
Post Prodigy

@amitchandak any help is appreciated.  Thank you.

amitchandak
Super User
Super User

@jcastr02 , For that you have create a column with Desc Sort

 

Date1 = [Date]

 

Date sort = rankx('Date',[Date],,desc,dense)

 

Mark Rank Sort as Sort column of Date1 and use date 1 in visual

 

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hello @amitchandak   I created a copy of the date column (Date1).  I then created a calculated column for 

Rank Sort = rankx('UPRobotReplenishment',[Date],,desc,dense)
Then I "Sort by Column" for Date1 using Rank Sort and I used Date1 in my visual, but it didn't change the order.  rankcolumn.png

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.