Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Highlighted
s33pie007
Contributor

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
Valued Contributor II

Re: how to work with conditional expressions

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

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

2 Replies
danieloberbilli
Valued Contributor II

Re: how to work with conditional expressions

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

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

s33pie007
Contributor

Re: how to work with conditional expressions

Thank you Daniel. this solution worked perfectly