Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Conditional colors question

Question regarding conditional colors in a graph. Ive set the color of the bars to conditional. It should turn dark red when its value exceeds the other expresion, seen as the dotted line.

i.e.

if(expresion 1 > expresion 2), Red()   

Now it turns the whole bar red instead of only the part above the line, is this possible to do in QV?

save.png

1 Solution

Accepted Solutions
julian_rodriguez
Partner - Specialist
Partner - Specialist

Hello, Using the Pierres idea , I made this. Please see attachment.

community.png

View solution in original post

2 Replies
Not applicable
Author

Hi,

Since you can't cut a bar in two if an expression exceeds another, you would have to add a metric and make a stacked bar chart so that the first metric has a maximum value up until the dotted line and then the second metric would be the value higher than the dotted line.. Haven't tried this, but can't see how it would work otherwise...

BR

/Pierre

julian_rodriguez
Partner - Specialist
Partner - Specialist

Hello, Using the Pierres idea , I made this. Please see attachment.

community.png