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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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
Super User
Super User

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.






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.

View solution in original post

3 REPLIES 3
vojtechsima
Super User
Super User

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.






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.
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 😄






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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