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

how to work with conditional expressions

Hi everyone,

I have a bit of a problem regarding a qlikview app Im working on.

Basically, I have a listbox with values A,B, and C.

Then I also have a straight table with a few expressions.

If I choose A, only the expressions linked to A will show. the same goes for B and C.

If nothing is chosen on the listbox, A,B, and C's expressions shows.

I make use of the following conditional expression:

[Listbox] = 'A' or GetSelectedCount([Listbox])= 0

what I want to do is to compensate for when I choose 2 values from the listbox.

say for example I want to show A and B's expressions, how would I go about doing that?

My conditional expressions only compensates for one selection or no selection.

Thanks!

1 Solution

Accepted Solutions
danieloberbilli
Specialist II
Specialist II

you could use something like WildMatch instead, to grap multiple selections

WildMatch(GetFieldSelections(MyField),'*A*','*B*')

View solution in original post

2 Replies
danieloberbilli
Specialist II
Specialist II

you could use something like WildMatch instead, to grap multiple selections

WildMatch(GetFieldSelections(MyField),'*A*','*B*')

Anonymous
Not applicable
Author

Thank you Daniel. this solution worked perfectly