Forum Discussion
Change columns order in Matrix
- 6 years ago
It is going to depend on your data. But, if you have a table in which you have your values for your store identifiers, Store 1, Store 2, Store 3, etc., in Power Query createa a column that looks at those values and produces your sort order, let's say you want:
Store 2
Store 4
Store 3
Store 1
You would create a column, we will call this column "Sort", where if your Store column is Store 2, this column would be 1 and if the Store column is Store 4, 2 and so on.
Then, once you import this data, you would select your Store column. You would go to Column Tools and then Sort by column and choose your new Sort column.
Not sure I can explain the process any better than that.
I don't know, that sounds very odd. What does the formula look like that is not working?
Here I had instead of 'Sort', a column named market which is the column where I have the Store names (Store 1, Store 2, etc)
I created the Sort Column with values for each store depending on my preferences, and in the Matrix table I sorted the Market column by the Sort column.