Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Our next Qlik Insider session will cover new key capabilities. Join us August 11th REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
asa_runstrom
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
yashdeep
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
shiveshsingh
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, '|') & ')'

tresesco
MVP
MVP

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

=( ID1 | ID2)

yashdeep
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