Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Straight line in chart irrespective of the value

Hi,

I have a chart with month on x-axis, there three other metrics in the chart as well, I have attached two screenshot, one is Chart and another one is Chart Expected.

Expected Chart is possible in Excel, but try to achieve in Qlikview. Since the third metric is small values, its appearing very small color in the Chart screenshot.

Is it possible to achieve this in Qlikview to show straight value for third metric.

Thanks,

7 Replies
giakoum
Partner - Master II
Partner - Master II

try to use reference lines

joshabbott
Creator III
Creator III

What does the value of the red line's need to be?  You could add another expression and make it a bar (change color to red in the + of the expression) and have it be something like:  if(week = 3 or week = 8 or week = 13, 25000)  Also make sure to use the left axis for this expression.

Hope this helps!

Not applicable
Author

I did that, but if any other metrics value increases then it will small BAR on the chart. any best suggestions.

Thanks,

joshabbott
Creator III
Creator III

How about:

if(week = 3 or week = 8 or week = 13, max(aggr([put your expression for the bars you have here, sum or whatever], [put the dimension of the chart here])) + (the same max as just before the plus sign * .10)

This should give you the max bar of the bar's you have in the expression plus 10% on top of it.  You could play around with the *.10 number to increase or decrease the size

Not applicable
Author

Good idea, but assume if I have three metrics which is going over metric. Not sure which one to take in the expression.

Thanks,

joshabbott
Creator III
Creator III

you could throw an if statement in to see which is larger in that situation.

Not applicable
Author

This is not going to be worked out it seems if statement works but straight line is varies according to the other expressions.

But I am looking for a solution what I have attached Chart Expected.

Thanks,