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

Top Solution Authors