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
Anonymous
Not applicable

Remove automatic column's sort in a matrix

Hello everyone, 

 

I have a issue. 

 

I would like use a matrix with a column of numbers, but with the order of number which is in the column.

Pictures will help you to understand 🙂

 

Alexis_Edin_0-1653993881742.png

Alexis_Edin_1-1653993974636.png

 

I would like to have the same order than the original column in the matrix. 

 

Do you know if it's possible ? 

 

Thank you in advance ! 

1 ACCEPTED SOLUTION
vojtechsima
Memorable Member
Memorable Member

Hi, @Anonymous ,
I couldn'T find any proper solution, but there's a workaround, if you want your values sorted as they are placed in Data Model, create an Automatic Index column in Power Query and then sort your table based on this Index.

vojtechsima_0-1653995083753.pngvojtechsima_1-1653995091667.png

Then you get your desired output.

View solution in original post

3 REPLIES 3
vojtechsima
Memorable Member
Memorable Member

Hi, @Anonymous ,
I couldn'T find any proper solution, but there's a workaround, if you want your values sorted as they are placed in Data Model, create an Automatic Index column in Power Query and then sort your table based on this Index.

vojtechsima_0-1653995083753.pngvojtechsima_1-1653995091667.png

Then you get your desired output.

Anonymous
Not applicable

It's not very clean but it's working correctly. 

 

So it's perfect, thank you ! 

@Anonymous 
I definitely agree that it's not the cleanest, but as you said, it does the job 😄

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.