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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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