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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
surajap123
Creator III
Creator III

Additional if condition

Hi All,

Currently, I have the below expression used in deciding the background colour of the dimension in the straight table.

=pick(match(Field2,'NY','LD,','JP'),yellow(),Blue(),green())

I want to add additional below condition to the above.

if(field3 = 'Closed',black())

Please see the attached qvw

Please help.

Labels (2)
1 Solution

Accepted Solutions
marcus_sommer
MVP
MVP

Maybe something like this:

if(field3 = 'Closed',black(),
   pick(match(Field2,'NY','LD,','JP'),yellow(),Blue(),green()))

- Marcus

View solution in original post

2 Replies
marcus_sommer
MVP
MVP

Maybe something like this:

if(field3 = 'Closed',black(),
   pick(match(Field2,'NY','LD,','JP'),yellow(),Blue(),green()))

- Marcus

surajap123
Creator III
Creator III
Author

Thank you so much!