Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
DiaaDag
Frequent Visitor

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: 

Annotation 2020-08-06 161121.png

and I want to use the Stacked area chart:

Capture.PNG

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)?

2 ACCEPTED SOLUTIONS
Pragati11
Super User
Super User

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:

Pragati11_0-1596723565177.png

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

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

v-zhenbw-msft
Community Support
Community Support

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.

View solution in original post

3 REPLIES 3
v-zhenbw-msft
Community Support
Community Support

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.

Pragati11
Super User
Super User

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:

Pragati11_0-1596723565177.png

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

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Thank you very much

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.