Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

GetFieldSelection Expression

Hi,

I got the following expression...

If(getFieldSelections(Object) like 'A' , 1, 0)

In the Objectlist are the attributes A,B and C!

When I select A I will become 1, but when I select A and B I become 0. But the expression should give me number 1 when I checked A and when i check another attribute like B, too.

How to build this in Qlik Sense?

Greetz

1 Solution

Accepted Solutions
sunny_talwar

or this:

=If(WildMatch(Concat(Object, ','), '*A*'), 1, 0)

View solution in original post

2 Replies
sunny_talwar

Try this may be:

=If(WildMatch(GetFieldSelections(Object), '*A*'), 1, 0)

sunny_talwar

or this:

=If(WildMatch(Concat(Object, ','), '*A*'), 1, 0)