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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.