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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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 (1)
1 Solution

Accepted Solutions
marcus_sommer

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

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!