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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
EmmaLynch
Frequent Visitor

RE ORDERING COLUMNS IN MATRIX VISUALIZATION

Hi,

I have created the below basic matrix - problem is I need to reorder the columns to be AA, A, B, C & D as AA is better than A and therefore needs to show first.  The matrix is sorting is alphabetically, so putting AA behind A, which I dont want.

 

EmmaLynch_0-1598531782132.png

Could anyhelp be in layman terms please as I am not very technical.

 

Thanks in advance 🙂

 

1 ACCEPTED SOLUTION
Sujit_Thakur
Solution Sage
Solution Sage

Dear @EmmaLynch ,
This is what i used to suffer in,

Simply change order in which they are put in the field.
Or 
The best practise is
make a new table by using enter data option from main tool ribbon on the top of screen.
Make such table

Entity         Direction

AA               1

A                  2

B                  3

C                 4

D                   5

Then realted Entitty with the column from the main data table.

Then you can see a sort option ,
here select sort by Direction.(This is column of new table you created ).

It will do the help always 

Please do not hesitate to give kudos 
If this helped select this post as solution

Regards 
Sujit

View solution in original post

3 REPLIES 3
mhossain
Solution Sage
Solution Sage

@EmmaLynch 

 

1). Create a table using GroupBY  Contract Class and second column as count, and then create a rankx column to rank your 'Contract Class'

2). Drag contract class from above table to matrix visual, and use SORT BY column as per rankx column.

 

Let me know if above makes sense. will you be using any slicer? Above rankx will be done at total count at Contract Class.

Sujit_Thakur
Solution Sage
Solution Sage

Dear @EmmaLynch ,
This is what i used to suffer in,

Simply change order in which they are put in the field.
Or 
The best practise is
make a new table by using enter data option from main tool ribbon on the top of screen.
Make such table

Entity         Direction

AA               1

A                  2

B                  3

C                 4

D                   5

Then realted Entitty with the column from the main data table.

Then you can see a sort option ,
here select sort by Direction.(This is column of new table you created ).

It will do the help always 

Please do not hesitate to give kudos 
If this helped select this post as solution

Regards 
Sujit

amitchandak
Super User
Super User

@EmmaLynch , matrix column (a column is used in the column list) sorted alphabetically unless you use sort column for such a column to change that

https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.