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

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

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.