Forum Discussion

egutierre245's avatar
egutierre245
New Member
6 years ago
Solved

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

4 Replies

  • az38's avatar
    az38
    Community Champion

    Hi egutierre245 

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

    Just create a calculated column like

    Percentile = 0,5

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