Forum Discussion
Sorting in a stacked bar chart
- Anonymous6 years ago
Hi MarcUrdang ,
So assume the picture below is raw visual.
You want the visual sort by legend i.e show as 20200201 c, b, a; 20200102 c, a, b; 20200103 a, b, c; etc... Am i right?
In that case i'm afriad this can't be done in Power BI currently.
About this feature, there are several ideas have been submit , you can vote for them.
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/31937392-legend-manual-sorting.
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/37921429-sort-order-legend.
Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi .. I don't think I am understanding the steps:
I have a value and a category:
category = branch names or BranchRelated
value = Nashua Page Count
I have created measure #1: but not sure why I have to filter on only ONE of the branches? I probably have this incorrect
Your solution = CALCULATE(SUM('Table'[value]),FILTER('Table','Table'[type]="x"))
My solution = from Calculae onwards its underlined in RED
I actually now got the calc to work ... but not the sorting