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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Rsanjuan
Advocate III
Advocate III

Sort column headers in Matrix Visual

Is there a way to sort the column headers in the matrix visual?

 

Capture.JPG

 

For example, I would like 2016 data, then 2015 data.

 

Thanks!

 

3 REPLIES 3
turbobeagle
Regular Visitor

I want to sort the date which is in the columns by descending order.....how is that done?  THANKS

Anonymous
Not applicable

The visual itself doesn't allow it, however if you create a sort column where you reverse the order, then you can sort in reverse.  For example if you case was months 1 to 12. You would assign a sort order of 1 to your 12th month, 2 to your 11th month etc.

 

The down side of this approach will be that your months will sort backwards everywhere for that field.  You could get around this problem by having 2 different Date tables. One that sorts forwards and the other one that sorts backwards.

Anonymous
Not applicable

If your data is of Type Date, it will already sort in chronological.  If you don't have it in type Date but another field in the same table contains the date data, you can instruct Power BI to Sort BI.  This is done by moving to the Data View, selecting your column and pressing the "Sort By" button in the ribbon.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.