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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi
I want to add target line to the stacked bar chart like below. The actual value is directly coming from a column but the target here is a measure so I am unable to add it to constant line. Same thing is possible with stacked column chart but how to achieve this with stacked bar chart.
@RamyaRapolu , have you received any solution to your problem? I also need the exact solution.
Hi @RamyaRapolu,
AFAIK, some of the analysis lines support measure expressions, but they only allow the expressions that you used in visual value fields.
In my opinion, I'd like to suggest you switch to 'line and stacked bar' chart and use measure expression on line fields to show the target line.
Regards,
Xiaoxin Sheng
Thanks for your response. But my requirement is that way. I am still working on it.
HI @RamyaRapolu,
Did you mind using script-based visuals? (R/python) They allow you to use script and library to manly plot visualization with addition or customize visualizations.
How to Make a Stacked Bar Chart in R Using ggplot2 (rstudio-pubs-static.s3.amazonaws.com)
Regards,
Xiaoxin Sheng