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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Pricey79
Helper V
Helper V

Stacked Graph Help Please

Hello. I was hoping someone could help me please.

 

I have the below graph (100% stacked column) with three colours for three sets of data: Early, On Time and Late

Pricey79_0-1628840821600.png

 

 

Is it possible to have the red which is late, always be on top rather than the middle please?

 

Thank you in advance 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Pricey79 ,

 

You can try to sort the field in Lengend.

[Hit/Miss] is a column that contains three attributes: LATE, ON TIME and EARLY, right?

 

First, you need to create table by entering data as follows

15.png

Then select the TYPE column and sort by the sort column.

16.png

17.png

In my example, I use it to connect [ctbr_type], you can judge the connection of your relationship according to the specific situation.

 

Finally, you can see that LATE is at the top instead of in the middle. Because Power BI sorts by the first letter of the text by default, LATE is in the middle.

18.png

The field used in Legand is the TYPE column in the new table.

 

You can check more details from the attachment.

 

 

 

Best Regards,

Stephen Tao

 

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

8 REPLIES 8
Anonymous
Not applicable

Hi @Pricey79 ,

 

You can try to sort the field in Lengend.

[Hit/Miss] is a column that contains three attributes: LATE, ON TIME and EARLY, right?

 

First, you need to create table by entering data as follows

15.png

Then select the TYPE column and sort by the sort column.

16.png

17.png

In my example, I use it to connect [ctbr_type], you can judge the connection of your relationship according to the specific situation.

 

Finally, you can see that LATE is at the top instead of in the middle. Because Power BI sorts by the first letter of the text by default, LATE is in the middle.

18.png

The field used in Legand is the TYPE column in the new table.

 

You can check more details from the attachment.

 

 

 

Best Regards,

Stephen Tao

 

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

@Anonymous You are an absolute star, that works perfectly.  Thank you so much for your time sir. 

vanessafvg
Community Champion
Community Champion

firstly what format is your data in, very hard to know how to sort it without understanding how you have modelled your data please provide a pbix or some data in text form or a view of how your data looks





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




@vanessafvg Thank you for your reply. 

Apologies but I'm a novice at this, exactly which data would you need to see? 

the data in the graph, what does the table look like is it all from one table?  can you copy and paste some of the values in text form?  really hard to help with the information you have given.

 

basically you either need to share your pbix or share some fo the data or sample data in text form. read this post on how to provide sample data, that will help https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/2001860#M7544...





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




@vanessafvg Thank you

 

It's all in one table that comes from a sharepoint list , in one column

Pricey79_0-1628842955761.png

 

Each row is a unqiue number, and then their is a count on the number of unique numbers

 

Does that help at all?

Sorry to be a pain

 

no it doens't help because i dont know whats in your data

 

go to the table view  and screenshot the table that has the data in it,

 

vanessafvg_0-1628843312379.png

 

then i need a screenshot of the visual as you provided above but including what fields are placed where on the visual

vanessafvg_1-1628843428787.png

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




@vanessafvg Thank you

Here are the screenshots:

Pricey79_0-1629108425442.png

 

Pricey79_1-1629108468207.png

 

Pricey79_2-1629108500646.png

 

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.