Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Coming your way, the Qlik Data Revolution Virtual Summit. October 27-29. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor III
Contributor III

Button exklude two value

Hi

I have list with id and I try to build a button that exklude two of the ids. I manage to exklude one but not two. Hows should I write the code?

1 Solution

Accepted Solutions
Highlighted
Contributor III
Contributor III

step 1 : add  'Select in Field' action and put (ID1|ID2) in expression

step 2 : add 'Select Excluded' action to the same button

this will solve your problem.

View solution in original post

3 Replies
Highlighted
Master
Master

What is the expression that your are using in button actions?

May be you can concat both the ids

= '(' & Concat({< ID-= {'ID1', 'ID2'} >}ID, '|') & ')'

Highlighted
MVP
MVP

For multiple values, you could use search string with values separated by pipe symbol. Try like"

=( ID1 | ID2)

Highlighted
Contributor III
Contributor III

step 1 : add  'Select in Field' action and put (ID1|ID2) in expression

step 2 : add 'Select Excluded' action to the same button

this will solve your problem.

View solution in original post