Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Sort Stacked area chart

Hi, I have a data for price monitoring done by 3 rounds, in each round we took the low, mid, and high price for an item, like this:  and I want to use the Stacked area chart: How can I ...
  • Pragati11's avatar
    6 years ago

    Hi Anonymous ,

     

    On your area chart, on the top right, click on the 3 dots and you can see options to sort your axis as below:

    Use this to sort your x-axis with values - Round1, Round2, Round3.

     

    To sort your Legend, refer following article:

    https://www.seerinteractive.com/blog/reorder-powerbi-legend/

     

    Thanks,

    Pragati

  • v-zhenbw-msft's avatar
    6 years ago

    Hello @DiaaDag ,

    Also, if you want to put the Bass to the bottom,you can create three measures and sort them under Values.

    High = CALCULATE(SUM('Table'[Amount]),FILTER('Table','Table'[Price] = "High"))
    Mid = CALCULATE(SUM('Table'[Amount]),FILTER('Table','Table'[Price] = "Mid"))
    Low = CALCULATE(SUM('Table'[Amount]),FILTER('Table','Table'[Price] = "Low"))

    Sort1.jpg

    If you don't meet your requirements, could you show the exact expected result based on the table you shared?

    Best regards

    Community Support Team _ zhenbw

    If this post helps,then consider Accepting it as the solution to help other members find it more quickly.


    BTW, pbix as attached.