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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Vidyashree_N
Frequent Visitor

Reorder of rows and columns of matrix in power bi

Hello, I have a data in my matrix table. I have data in my column and row which is in alphabetical order, but I need to reorder the rows and the columns in my power bi desktop which is not in the alphabetical order.
How do I reorder the matrix rows and columns?

image.png

2 ACCEPTED SOLUTIONS
Idrissshatila
Super User
Super User

Hello @Vidyashree_N ,

 

you should create a sort by column then sort the main column with the sort by column.

 

check this https://www.youtube.com/watch?v=CpBy79AawVw

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

v-yohua-msft
Community Support
Community Support

Hi, @Vidyashree_N 
Based on your information, I create a table

vyohuamsft_3-1713776623604.png

 

You can create an Index column to sort the columns you want, and the Index column can be created in PowerQuery.

vyohuamsft_1-1713776533057.png

 

Then put it into a column or row in the matrix view

 

vyohuamsft_4-1713776723853.png

Drill through the matrix, and then sort it

vyohuamsft_5-1713776785813.png

In the same way, you can put an Index into a column and then drill through and sort it

vyohuamsft_6-1713776854071.png

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yohua-msft
Community Support
Community Support

Hi, @Vidyashree_N 
Based on your information, I create a table

vyohuamsft_3-1713776623604.png

 

You can create an Index column to sort the columns you want, and the Index column can be created in PowerQuery.

vyohuamsft_1-1713776533057.png

 

Then put it into a column or row in the matrix view

 

vyohuamsft_4-1713776723853.png

Drill through the matrix, and then sort it

vyohuamsft_5-1713776785813.png

In the same way, you can put an Index into a column and then drill through and sort it

vyohuamsft_6-1713776854071.png

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Idrissshatila
Super User
Super User

Hello @Vidyashree_N ,

 

you should create a sort by column then sort the main column with the sort by column.

 

check this https://www.youtube.com/watch?v=CpBy79AawVw

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Fabric Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.