Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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 sort the Axis(rounds: round 1, round 2, round 3) and the Legends (Prices: low at the bottom then mid then high)?
Solved! Go to Solution.
Hi @DiaaDag ,
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
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"))
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.
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"))
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.
Hi @DiaaDag ,
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
Thank you very much
User | Count |
---|---|
97 | |
88 | |
76 | |
70 | |
63 |
User | Count |
---|---|
112 | |
96 | |
95 | |
67 | |
65 |