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: 
Anonymous
Not applicable

Condition issue

Hi guys,

I have a problem with condition

I have an expression

IF([Categories]='Dislike' , 'C:\Users\Pictures\Unhappy.png',

IF([Categories]='Suggestion','C:\Pictures\Neutral.png',

IF([Categories]='Praise', 'C:\Users\Pictures\Happy.png' )))

It works, it shows the images.

But I want to add this condition

{<CleanedText_Comment={'*$(ExcludeKeyword)*'}>}

Is it possible to combine 2 conditions in 1 set analysis?

Thanks,

Labels (1)
1 Solution

Accepted Solutions
rwunderlich
MVP
MVP

You should be able to wrap the entire thing in an Only and put the set expression there.

Only(

{<CleanedText_Comment={'*$(ExcludeKeyword)*'}>}

IF([Categories]='Dislike' , 'C:\Users\Pictures\Unhappy.png',

IF([Categories]='Suggestion','C:\Pictures\Neutral.png',

IF([Categories]='Praise', 'C:\Users\Pictures\Happy.png' )))

)

View solution in original post

2 Replies
rwunderlich
MVP
MVP

You should be able to wrap the entire thing in an Only and put the set expression there.

Only(

{<CleanedText_Comment={'*$(ExcludeKeyword)*'}>}

IF([Categories]='Dislike' , 'C:\Users\Pictures\Unhappy.png',

IF([Categories]='Suggestion','C:\Pictures\Neutral.png',

IF([Categories]='Praise', 'C:\Users\Pictures\Happy.png' )))

)

Anonymous
Not applicable
Author

Thank you, Rob