Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Learnerr
Contributor III
Contributor III

Background Color arrangement

Hi experts,

 

I would like arrange the background color of my dimension. I need to say my If clause to look for 2 fields but i cannot write the proper way of it. How can i arrange my if clause please?

 

=if(Exclusive_Tanim='STRW-DÜZ and Exclusive_Tanim=STRW-DEKOR', rgb(255, 0, 0),rgb(0, 128, 0) )

 

 

Have a nice day!

1 Solution

Accepted Solutions
marcus_sommer

Syntax and logic aren't quite right. Try it instead with:

=if(match(Exclusive_Tanim, 'STRW-DÜZ', 'STRW-DEKOR'), rgb(255, 0, 0),rgb(0, 128, 0) )

- Marcus

View solution in original post

2 Replies
marcus_sommer

Syntax and logic aren't quite right. Try it instead with:

=if(match(Exclusive_Tanim, 'STRW-DÜZ', 'STRW-DEKOR'), rgb(255, 0, 0),rgb(0, 128, 0) )

- Marcus

Learnerr
Contributor III
Contributor III
Author

Thanks,it works.

 

Have a nice day!