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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Adding average to stacked bar chart

Hello everyone!

 

Is there any way to add average line to stacked bar chart?

Temrilan_0-1614683088908.png

I need my average line to change depending on what filter via slicer I choose

I do not see any way of adding it here, but I hope for your help

Best regards,

Temirlan

 

1 ACCEPTED SOLUTION
V-pazhen-msft
Community Support
Community Support

@Anonymous 

You cannot add average line to a separate stacked bar chart. You should use the clustered bar chart, the displayed visual should be the same but you can use more analytic features.

V-pazhen-msft_1-1614845696508.png

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

5 REPLIES 5
paulasanta
Frequent Visitor

Did you make it work? I also need to add an average line on my stacked graph and change it upon time period. Thanks,

Paula

V-pazhen-msft
Community Support
Community Support

@Anonymous 

You cannot add average line to a separate stacked bar chart. You should use the clustered bar chart, the displayed visual should be the same but you can use more analytic features.

V-pazhen-msft_1-1614845696508.png

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

 

themistoklis
Community Champion
Community Champion

@Anonymous 

 

I suggest you create a measure first and then add it to the graph and see if it helps.

Maybe the links below will help:

https://community.powerbi.com/t5/Desktop/How-to-calculate-an-average-line-in-the-Line-Chart/td-p/232371

 

https://blog.enterprisedna.co/showcasing-trends-using-moving-average-techniques-in-power-bi/

 

 

Anonymous
Not applicable

Unfortunately, it doesn't help, I can either have my data or measure on the graph

@Anonymous 

Have you checked whether you can add the measure on a dual y-axis chart?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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