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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
YellowSquirrel
Frequent Visitor

Custom sort not working

I'm having an issue with a custom sort in a matrix table as I want to have it in custom Periods e.g. 2022/23 Period 1, 2022/23 Period 2, 2022/23 Period 3, etc but what happens is that if I use Power BI to sort as it has text it would go in this order 2022/23 Period 1, 2022/23 Period 10, 2022/23 Period 11, etc.

 

I created a new table with one column for periods and the other with a reference order column e.g. 1, 2, 3 etc. I sorted the period column by the reference column then linked this table with the other table via period now the sorting order is random e.g. 2022/23 P8, 2022/23 Period 9, 2022/23 Period 4, etc.

 

Any suggestions would be extremely helpful. Thanks!!

1 ACCEPTED SOLUTION
YellowSquirrel
Frequent Visitor

I deleted the matrix and put the same information back in and it worked. Not sure what I did different as couldn't work it out

View solution in original post

1 REPLY 1
YellowSquirrel
Frequent Visitor

I deleted the matrix and put the same information back in and it worked. Not sure what I did different as couldn't work it out

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.