Forum Discussion
Reorder columns for Matrix visualization (with sort order data provided from the same table)
- 5 years ago
Please see this page for how to do this using the Sort By Column feature in Power BI.
Sort by column in Power BI Desktop - Power BI | Microsoft Docs
Pat
- 5 years ago
Hi JustinDoh1 ,
Select the [PayerNameDefined] column, use 'Sort by column' feature in Columns tools and sort the column by the [ReportColumnOrder] column, you will get the result.
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. - 5 years ago
v-yingjl Thank you. I was thinking in a harder way. When I searched thru Google, there were so many other solutions related to similar cases, so I thought I have to solve in Power Query (M language). Also, there was some error on SQL side, so I had to fix it.
Please see this page for how to do this using the Sort By Column feature in Power BI.
Sort by column in Power BI Desktop - Power BI | Microsoft Docs
Pat
- Apetit2 years agoNew Member
Solution doesn't apply to a Matrix
- JayBabcock1 year agoFrequent Visitor
Same problem here - I can use method when sorting tables, but once it's in a matrix I cannot sort the columns... they seem to only want to sort alphabetically, so my only way around that was to manipulate the Column names... big inconvenience