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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
egutierre245
New Member

stack bar chart - percentile line

I have a very simple stacked bar chart with gender distribution across several groups. I need to show a line at the 50% mark. PowerBI will do this when the graph is small, but as soon as I make the graph wider PowerBI will change the lines to every 20%. 

 

How can I keep this line at the 50% mark fixed, regardless of how wide the graph is? 

 

Many thanks in advance, 


Esther

1 ACCEPTED SOLUTION

@egutierre245 

you can use this visual from marketplace https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104381805

there is an option "Constant line"

425112.png

do not hesitate to give a kudo to useful posts and mark solutions as solution

LinkedIn


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

4 REPLIES 4
az38
Community Champion
Community Champion

Hi @egutierre245 

will be visual "Line and stacked column chart" good for you?

Just create a calculated column like

Percentile = 0,5

425112.png

do not hesitate to give a kudo to useful posts and mark solutions as solution


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Thanks ! 

 

Actually, I need it to be a 100% stack bar chart with the bars running horizontally and the 50% mark line running vertically. Just like the image below but only one line at the 50% mark instead of every 20%. 

Capture.PNG

Many thanks in advance for any ideas!

 

Esther

 

@egutierre245 

you can use this visual from marketplace https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104381805

there is an option "Constant line"

425112.png

do not hesitate to give a kudo to useful posts and mark solutions as solution

LinkedIn


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

This worked a treat, thank you so much!! 🙂

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.