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

Colouring by expression - combo chart - multiple measures

I have a combo chart, with bars showing one measure and a line showing another measure.

I would like to colour the bars and line with different and specific Rgb values by using an expression.Can I use an IF statement - can anyone help?

Thank you

2 Replies
Anonymous
Not applicable
Author

Yes you can.  Here is basic expression with an IF :

     if ( 1>0 , red() , green() )

You'll  need to change the 1>0 to something that fits your needs.

harishicon
Partner - Creator
Partner - Creator

Dear,

Can you specify is it qliksense or qlikview?

if qliksense then go to appearance-> General->color -> custom-> By Expression-> if(expression>0,Green(),Red())

Same with qlikview . Use the condition