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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
rvdhorst1
New Member

PowerBI Matrix Columns Sort

Hi All,

 

I have a column with the name FY (Finacial year). It looks like

2020-2021

2021-2022

2022-2023 

etc

 

I use this with a Matrix in the columns entry.  Only this one can't be sorted. I want this Column is sorted as

 

2022-2023

2021-2022

2020-2021

 

Can this be done?

 

FY.jpgMatrix Column.jpg

 

 

1 ACCEPTED SOLUTION

Yes, that is the Duplicate column. You will have two - your initial one and this new one. Order the initial one based on the Duplicate and you'll be able to sort it in the matrix.

View solution in original post

3 REPLIES 3
AliceW
Power Participant
Power Participant

The simplest way I can think of is you create a new column:

FY for Ordering =

switch(Dates'[FY],

"2020-2021", 3,

"2021-2022", 2,

"2022-2023", 1

)

 

Then click on the original colum, FY. Go to 'Column tools' in the top menu, then 'Sort by column', then this new column.

Thank you Alice,

 

Only my Column name is now 1 2 and 3 not the Fiscalyear name

 

 

Thank you

 

Raymond

 

Yes, that is the Duplicate column. You will have two - your initial one and this new one. Order the initial one based on the Duplicate and you'll be able to sort it in the matrix.

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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