Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Add Target point on the bar chart

Hi,

I would like to create a bar chart which display region sales amount by Month Year. I also want to add sales target points on the bar chart like below:

target point.png

How can I add those target points?

Thanks.

6 Replies
Gysbert_Wassenaar

You can do that by using Error Bars as explained in this blog post: Bar chart target lines in QlikView (The Qlik Fix!)


talk is cheap, supply exceeds demand
Not applicable
Author

Hi Gysbert,

Thank you for your suggestion. Can I show value on data point of Error Bars?

Not applicable
Author

you can add one more expression which will be calculating the target sum

and then on expression tab uncheck 'bar' checkbox and check 'values on data points'.

Not applicable
Author

Hi Alexandra,

Thank you for your reply. I tried your method, but the data point are shown on top of the bars.

data point.png

The data point I would like to show are on the top of error bars.

Not applicable
Author

try this:

create second expression which is

dual(

     sum(point1),

     sum(point1) - sum(sales)

)

, give it argb(0,255,255,255) - transparent color

have a stacked bar chart and add show value on data points for this expression

Not applicable
Author

try using this as a starting point