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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
some_analyst
Frequent Visitor

Show average lines outside of graph or with a background colour

Is there a way to show the average lines of a graph so that they stand out? my graph looks like this currently and the average text at the right end are not showing well. I wanted to have them either outside of the graph or with a white background so they are more readable

some_analyst_0-1744682720416.png

 

2 ACCEPTED SOLUTIONS
pankajnamekar25
Impactful Individual
Impactful Individual

@some_analyst 

 

You can try this approch by creating avergae measure add use line and column chart

 

pankajnamekar25_1-1744691409533.png

Thanks,
 Pankaj Namekar | LinkedIn

If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.

View solution in original post

Ritaf1983
Super User
Super User

Hi @some_analyst 

Technical side: In Power BI, when using constant lines (reference lines), there’s currently no built-in option to reposition the value label outside the chart area. However, you can improve readability in two ways:

  1. Adjust the transparency of your bars/columns to make the reference line and its label more visible, as shown in the first image.

Ritaf1983_0-1744695969802.png

 

  1. Move the average value into the chart title or subtitle area and include the average line in the legend with a matching color indicator, like in the second image.

    Ritaf1983_1-1744696067607.png

    UX / Data Visualization side: From a UX perspective, combining a clustered column chart with reference lines often creates a cognitively overloaded visual. Even if the chart looks “clean,” the user has to mentally filter out noise to understand it:

    1. Clustered charts aren't ideal for time-based trends. They work for comparing individual pairs, but don’t convey progression or pattern well.

    2. Reference lines across multiple columns can be confusing—users must figure out which column they refer to, which adds friction.

    My recommendation: split the chart into two smaller visuals, each showing one metric and its average line separately—like in my example (attached).

    Ritaf1983_2-1744696138131.png

     

    Hope this helps! Sample file with all visuals is attached for your reference.

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

5 REPLIES 5
some_analyst
Frequent Visitor

Thank you everyone, yes it sounds like I just need to create a measure and put it in there instead of  te line label

v-kpoloju-msft
Community Support
Community Support

Hi @some_analyst,

May i know has your issue been resolved? If the response provided by the Super user @Ritaf1983@pankajnamekar25, addressed your query, could you please confirm? It helps us ensure that the solutions provided are effective and beneficial for everyone.

If yes, kindly accept the useful reply as a solution and give us Kudos. It would be appreciated.

Thank you for your understanding!

Ritaf1983
Super User
Super User

Hi @some_analyst 

Technical side: In Power BI, when using constant lines (reference lines), there’s currently no built-in option to reposition the value label outside the chart area. However, you can improve readability in two ways:

  1. Adjust the transparency of your bars/columns to make the reference line and its label more visible, as shown in the first image.

Ritaf1983_0-1744695969802.png

 

  1. Move the average value into the chart title or subtitle area and include the average line in the legend with a matching color indicator, like in the second image.

    Ritaf1983_1-1744696067607.png

    UX / Data Visualization side: From a UX perspective, combining a clustered column chart with reference lines often creates a cognitively overloaded visual. Even if the chart looks “clean,” the user has to mentally filter out noise to understand it:

    1. Clustered charts aren't ideal for time-based trends. They work for comparing individual pairs, but don’t convey progression or pattern well.

    2. Reference lines across multiple columns can be confusing—users must figure out which column they refer to, which adds friction.

    My recommendation: split the chart into two smaller visuals, each showing one metric and its average line separately—like in my example (attached).

    Ritaf1983_2-1744696138131.png

     

    Hope this helps! Sample file with all visuals is attached for your reference.

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
pankajnamekar25
Impactful Individual
Impactful Individual

@some_analyst 

 

You can try this approch by creating avergae measure add use line and column chart

 

pankajnamekar25_1-1744691409533.png

Thanks,
 Pankaj Namekar | LinkedIn

If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.

pankajnamekar25
Impactful Individual
Impactful Individual

Hello @some_analyst 

 

There is no such setting you can change background color , but you can play around the label position as shown in image

 

pankajnamekar25_0-1744691242198.png

Thanks,
 Pankaj Namekar | LinkedIn

If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors