Forum Discussion

swong's avatar
swong
Helper II
9 years ago
Solved

stacked graph order

Hi,   I have a stacked bar chart, and the different segments are:   Exact, Full, Partial, Traditional   My bars are stacked in that order (alphabetical), with "Exact" on the bottom and "Traditi...
  • v-yulgu-msft's avatar
    9 years ago

    Hi swong,

     

    Currently, it is not supported to sort the chart based on legend. Someone has submitted this feature request, you can clisk to vote it up. Custom order for legend in stacked bar chart

     

    As a workaround, you could create Measures for each segment. Then place each Measure in the Values area in the order you need. However, this workaround might not apply to the scenario where you have many legend items.

     

    Regards,
    Yuliana Gu