Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

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  
  • twofingertyper's avatar
    twofingertyper
    2 years ago

    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.