Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
Check it out now!Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
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?