Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Sorting by Legend and Measure at the same time

Hi all, I've searched high & low and unable to find a solution to this.

 

What I am trying to do is take the chart below, and sort it by the "Health" legend first (this is what the chart shows). Secondly I want it to sort high-to-low within each item in the legend.

As you can see, all of the blue bars are not sorted properly, but the legend is sorted in the correct order.

 

  • Hi,

    PBI file here.  I sorted the table first (as described above) and then created a copy of the table.  I then converted the table into a clustered column chart.  Apply conditional formatting on the chart.

    Hope this helps.

     

11 Replies