Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a request to show a target line on a stacked bar chart visual. I need a target for each of these six bars as drawn in blue below. I added a measure as a constant line, but that gives me the sum of all six targets and not a unique value for each bar. I tried overlaying a chart that just had the data label of the goal, but that got a little funky. Any ideas?
Solved! Go to Solution.
In the end, I just added a text box with the goal at the end of each bar. The customer wanted a bar chart, not a column and I am limited to the visuals I can use. Thanks all for the suggestions!
In the end, I just added a text box with the goal at the end of each bar. The customer wanted a bar chart, not a column and I am limited to the visuals I can use. Thanks all for the suggestions!
Hi @KelliKnitsAlot,
Here is Stacked Bar Chart with Multiple Target Lines Which will help you to get target lines in stacked bar chart. Hope this helps you.
Stacked Bar Chart with Target Lines, PBIVizEdit.com
Stacked Bar Chart with Target Lines, PBIVizEdit.com
Download link for the custom visual file in this page,
https://pbivizedit.com/gallery/stacked-bar-chart-with-multiple-target-lines
This was made with our Custom Visual creator tool PBIVizEdit.com. With this tool,
Give this a shot and let us know if you face any problem/errors.
You can use the editor to modify your visual further (some modifications cannot be done in Power BI window and have to be in editor).
Thanks,
Team PBIVizEdit
That looks like what we need, but unfortunately, I do not work for a company where I can download custom visuals or pay for one that requires a subscription.
Hello @KelliKnitsAlot
I am not sure whether this is gonna work but just a general idea, you can use the bar line chart and then create a calculated column with the target values and then use it as a line chart to display the targets.
IF MY SOLUTION HELPED YOU PLEASE DO HIT A LIKE AND ACCEPT IT AS A SOLUTION IF IT SOLVES YOUR ERROR!
Regards,
Nimai Ahluwalia
Would a stacked column chart work?
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
71 | |
70 | |
43 | |
31 | |
26 |
User | Count |
---|---|
89 | |
49 | |
44 | |
38 | |
37 |