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

If else expression RGB

Hello,

I have would like to set background color for my charts via expressions.

my desired outcome would be something like:

if('SG_Holidays' = true, 'order_date' RGB(0,0,0))

simply put, if holidays = true,

i would like 'order_date' to be black in color.

may I know how do I go about doing that?

THank you!!

4 Replies
SunilChauhan
Champion
Champion

if(SG_Holidays= 'true',RGB(0,0,0),RED())



you could chose your color for red may be some rgb .its other than SG_Holidays=true



Sunil Chauhan
MK_QSL
MVP
MVP

Confusing... Could you please explain?

aveeeeeee7en
Specialist III
Specialist III

See the Attachment.

Regards

Aviral Nag

aveeeeeee7en
Specialist III
Specialist III

See the Snapshot for the Settings:

textColor.png