Forum Discussion
vickyd
Helper V
8 years agoSort column Headers in a Matrix
Is there a way to sort the columns in a matrix visual? In below screenshot I want column order to be Won, Pipeline, Lost and not the other way round. I can create 3 measures and place them in that o...
- 8 years ago
if you are using SSAS Cube then it is better because it just need to be done once at SSAS Model and that will flow to powerbi.
lndnbrg
Resolver III
8 years agoI would create an additional column that serves as a sort column for the column values and define a „Sort by“ in the data model.
Like this: https://community.powerbi.com/t5/Desktop/Sorting-Matrix-Table-Values/td-p/41612
Like this: https://community.powerbi.com/t5/Desktop/Sorting-Matrix-Table-Values/td-p/41612
vickyd
Helper V
8 years ago
lndnbrg wrote:
I would create an additional column that serves as a sort column for the column values and define a „Sort by“ in the data model.
Like this: https://community.powerbi.com/t5/Desktop/Sorting-Matrix-Table-Values/td-p/41612
Ya. I'm aware of this but really painful to introduce a sort by for every single thing that needs to be sorted, especially given I'm using a SSAS cude as the source. Wish there was an easier ad-hoc way to do sorting at the report level without involving the data model.
- parry2k8 years ago
Super User
if you are using SSAS Cube then it is better because it just need to be done once at SSAS Model and that will flow to powerbi.