Forum Discussion
Sort by Value on Power Bi Matrix table
Hello,
I am trying to sort values in the following order. Which is Early on top, Mid in the middle, and Late on the bottom. Can anybody please guide me on how to do this? Regular sort does not work.
Thank you
Hello Zach,
You can sort a column by going into Table view, clicking on the column, and then selecting 'Sort Column by.'
If you don't have another sort column, I would create a conditional column using Power Query. For example, if I need to sort colors like blue, green, red, I would create a conditional column stating 1 = blue, 2 = green, 3 = red. Then, I would go to the data view and sort the color column using the conditional column I created.
I hope this helps.
1 Reply
- Arunmatt1Frequent Visitor
Hello Zach,
You can sort a column by going into Table view, clicking on the column, and then selecting 'Sort Column by.'
If you don't have another sort column, I would create a conditional column using Power Query. For example, if I need to sort colors like blue, green, red, I would create a conditional column stating 1 = blue, 2 = green, 3 = red. Then, I would go to the data view and sort the color column using the conditional column I created.
I hope this helps.