Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
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.