Skip to main content
Announcements
Qlik Community Office Hours, March 20th. Former Talend Community users, ask your questions live. SIGN UP
cancel
Showing results for 
Search instead for 
Did you mean: 
tracycrown
Creator III
Creator III

How to create conditional background color?

Dear all

Kindly advise how to create a conditional background colour for Category B & C ?.

Thank You

Tracy

4 Replies
fkeuroglian
Partner - Master
Partner - Master

Tracy, see the attaced

You have to put the condition in the "Background color" to each expression(in this case Category)

hope helps

Fernando

Anonymous
Not applicable

Hi Tracy,

Goto Expression

expand + sign for expression

and add below expression in background colour.

if(Category='A',yellow(),

if(Category='B',green(),

if(Category='C',red(),blue())))

or

if(Category='A', RGB(255,255,0),

if(Category='B',RGB(255,123,255),

if(Category='C',RGB(255,120,80),RGB(153,207,255))))

prabhas277
Creator
Creator

Hi please find the  below one community.png

alibd225
Creator
Creator

go chart properties . expand and set formula under background coolor

if(Category='A', RGB(255,255,0),

if(Category='B',RGB(255,123,255),

if(Category='C',RGB(255,120,80),RGB(153,207,255))))

ping.png