Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello everyone!
Is there any way to add average line to stacked bar chart?
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
Solved! Go to Solution.
@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.
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
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
@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.
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
@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://blog.enterprisedna.co/showcasing-trends-using-moving-average-techniques-in-power-bi/
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?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |