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
Anonymous
Not applicable

Sort 100% Stacked Bar Chart by percentage

I need help sorting a 100% Stacked Bar chart using a win rate %. I have the columns set up in the power query. I'm unable to get the chart to sort by the percentage. I've tried using an index column and use the average to sort, but only a few on the ends sort properly, but the middle includes 0% & 100% along with out of order percentages.

 

 

What I have:

 

Account, Closed Won, Closed Lost, Total, Win Rate (%), Win Rate (1.2), and added an index column.

 

Chart.pngFilters.pngTable.png

 

Any help will be greatly appreciated!

1 ACCEPTED SOLUTION
v-xuding-msft
Community Support
Community Support

Hi @Anonymous ,

Please try like this:

1.gif

 

Update:

Sorry that I uploaded the wrong pbix file.  Please reference the updated one.

 

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-xuding-msft
Community Support
Community Support

Hi @Anonymous ,

 

Have you tried it? Does it work for you? If yes, please accept the answer as solution. If you still need help, please share more details to us. We will understand clearly.

 

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-xuding-msft
Community Support
Community Support

Hi @Anonymous ,

Please try like this:

1.gif

 

Update:

Sorry that I uploaded the wrong pbix file.  Please reference the updated one.

 

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.