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
diana66
Helper I
Helper I

Sort text and number values in matrix

Hello,

 

I have a matrix in which I have basically number values. I put an if condition, and if it applies, i have inserted a text(ex: "0 LY"). The problem is I want to sort by the values descending, and the text ones should be at the end. When I sort descending by the specific value, the ones with text are first, and I want them to be at the end. How can I do that?

 

Thank you!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi

extract only the numerical part in a separate column (that you can hide if you want). Once you have that, select the column and in the ribbon choose "Order by" and select the other column. So your original text column will be sorted using a different column.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi

extract only the numerical part in a separate column (that you can hide if you want). Once you have that, select the column and in the ribbon choose "Order by" and select the other column. So your original text column will be sorted using a different column.

Hi @Anonymous ,

 

Thank you!

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.