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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.