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

Matrix Column Head Order

Matrix Column Heads.jpg

 

Is there a way to change the order of the column heads in a Matrix table.  Currently it displays in alphabetical ascending order.  I would like to reverse that if possible.  A prefered option would to be able to put it in a custom order.  Are either of these options available?

1 ACCEPTED SOLUTION
v-haibl-msft
Employee
Employee

@Anonymous

 

We can do that with following steps. Assuming we have a table like below. We can add a reverse index.

Matrix Column Head Order_1.jpgMatrix Column Head Order_2.jpg

 

Close and apply Query Editor, select the Type column and make it sort by column of Index.

Matrix Column Head Order_3.jpg

 

Now the order of the column heads will follow the Index.

Matrix Column Head Order_4.jpg

 

If you want to put it in a custom order, you can customize the index yourself. For example, you can create a conditional column in Query Editor.

Matrix Column Head Order_5.jpgMatrix Column Head Order_6.jpg

 

Best Regards,

Herbert

View solution in original post

30 REPLIES 30

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.