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

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

Reply
luis_pflucker
Helper II
Helper II

how to sort matrix by column

Hi All,

please I wanted to sort the mattrix ordered by columns, in below mattrix I wanted to show as:

1st column --> 2-3 Days

2nd column--> 4-5 Days

3rd column --> 6-15 Days

4th column--> 16 - more Days

 

luis_pflucker_0-1741627845348.png

 

I tried using default sorting but no options to do that, any suggestion?.

Thanks in advance

Luis

1 ACCEPTED SOLUTION
mariussve1
Super User
Super User

Hi,

 

You need to have a another column in the table where you have this grouped days.


This column needs to be int:

2-3 Days = 1

4-5 Days = 2

6-15 Days = 3

and so on

 

Then you need to sort the original column by this new column:

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column


Br
Marius
BI Fabrikken
www.bifabrikken.no

View solution in original post

4 REPLIES 4
v-tsaipranay
Community Support
Community Support

Hi @luis_pflucker ,

 

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

 

Thank you.

v-tsaipranay
Community Support
Community Support

Hi @luis_pflucker ,
Thank you for reaching out to the Microsoft Fabric Community.


I wanted to check if you had the opportunity to review the information provided by @mariussve1 . Please feel free to contact us if you have any further questions. If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.


Thank you.

Hi @luis_pflucker ,

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.


Thank you.

mariussve1
Super User
Super User

Hi,

 

You need to have a another column in the table where you have this grouped days.


This column needs to be int:

2-3 Days = 1

4-5 Days = 2

6-15 Days = 3

and so on

 

Then you need to sort the original column by this new column:

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column


Br
Marius
BI Fabrikken
www.bifabrikken.no

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors