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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
LibinM
Frequent Visitor

Unable to get the columns in order on Matrix table

Hi, I was trying to get the week number column headers in order which doesn't happen when I try with a week column(concatenated week + week number) but it works only with the week number as in below picture. what could be the reason. please assist.

 

LibinM_0-1672268256393.png

Above table it works fine with only week number.

 

LibinM_1-1672268331901.png

when I try the same with concatenated week field. week 5 and 9 comes towards the end.

1 ACCEPTED SOLUTION
v-cgao-msft
Community Support
Community Support

Hi @LibinM,

 

Nathaniel is right. 
You can sort [week] by [week number].

Sort one column by another column in Power BI

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

2 REPLIES 2
v-cgao-msft
Community Support
Community Support

Hi @LibinM,

 

Nathaniel is right. 
You can sort [week] by [week number].

Sort one column by another column in Power BI

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Nathaniel_C
Super User
Super User

Hi @LibinM ,

The one that works is because it is an integer and it sorts in numeric order, the second column is a text and sorts in alpha order.

 


Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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