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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
dashmarley11
Helper III
Helper III

Rearrange Column Order in Matrix

I have a matrix with a column named "Rate Type", which includes 'Base Rate', 'FTP Rate', and 'TLP'.  However, I need to rearrange the column order to:  Base Rate, TLP, FTP Rate

dashmarley11_0-1711552756696.png

 

1 ACCEPTED SOLUTION

Odd, if I use a Power Query I can then add an Index column and the alter the number associated with the column entries so that I can move them around as needed. 

 

It does depend on how your data is set-up though (in my example, I have a look-up table for the values that are your column headers), similar to the example given here: https://endjin.com/blog/2020/07/quick-tip-updating-the-sort-order-of-a-column-in-power-bi

 

There might be other ways to do it (as I mentioned above, you can 'cheat' and right click on the data field and set it as a 'New Group' that will allow to alter the names into a different running order, and then have that as your column header) and if I think of any I'll let you know. 

 

View solution in original post

5 REPLIES 5
twofingertyper
Helper III
Helper III

Can you not just drag and drop them into the order you want on the visualisations pane? 

I wish but the columns cannot be manually moved

Sorry - overlooked the whole fact it was one column, you could create another column that gives a value to each rate and then 'Sort by' that? 

twofingertyper_0-1711556613252.png

 

Or you could Group the column and rename and number them so they have a running order (if that's allowed), or add a space at the front of each new 'group' which will push it up the order. 

I tried creating a new column that ranks each of the Rate Types 1-3 and then sorting by that column, but that doesn't seem to be working either.  Any other suggestions??

Odd, if I use a Power Query I can then add an Index column and the alter the number associated with the column entries so that I can move them around as needed. 

 

It does depend on how your data is set-up though (in my example, I have a look-up table for the values that are your column headers), similar to the example given here: https://endjin.com/blog/2020/07/quick-tip-updating-the-sort-order-of-a-column-in-power-bi

 

There might be other ways to do it (as I mentioned above, you can 'cheat' and right click on the data field and set it as a 'New Group' that will allow to alter the names into a different running order, and then have that as your column header) and if I think of any I'll let you know. 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.