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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Anonymous
Not applicable

sorting stacked column chart power bi

Hi Guys,

 

I have a stacked bar chart built and it is sorting by the total values(green bar+black bar) descendingly. However, is it possible that I can sort by the only green bar or only black bar here?

2018-11-21_1334.png

 

Thanks,

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey,

 

I'm wondering if you have tried the sort options that are available, the screenshot below shows a stacked bar chart and the sorting options ...

image.png

 

In this example, 2 measures are used in the values field of the visualization.

 

If this doesn't work, can you please create a simple Excel file with sample data, upload the file to onedrive or dropbox, and share the link.

 

Regards,

Tom

 

 

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

3 REPLIES 3
TomMartens
Super User
Super User

Hey,

 

I'm wondering if you have tried the sort options that are available, the screenshot below shows a stacked bar chart and the sorting options ...

image.png

 

In this example, 2 measures are used in the values field of the visualization.

 

If this doesn't work, can you please create a simple Excel file with sample data, upload the file to onedrive or dropbox, and share the link.

 

Regards,

Tom

 

 

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

Hi, I am using another field in "Legend" to slice the data so there are two colors there. It looks like you are using two measures here so you can sort that way.

Hey, can you please prepare a little sample data.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors