multi Filter in collections
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-07-17 03:26 PM
Dear friends,
I have a problem. I want to filter more items in one column. I used action "Filtr Collection". I choosed column but I simply dont know how to write a code to filter more items under one column.
I want to Filter "USA" "China" and "Italy"
See uploaded excel sheet.
Can you help me?
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-07-17 07:10 PM
Try something like this
[Country] IN {'USA', 'China', 'Italy'}
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-12-17 12:48 PM
This didn't work, is there anything like
""[Country] = '""&[USA]&""' Or '""&[China]&""'
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-12-17 01:02 PM
I tried this ""[Country] = '""&[USA]&""' Or '""&[Italy]&""'"", this is not throwing any error , but the output collection is still empty
the expression is evaluating to USA Or Italy
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-01-18 07:05 PM
Hi, I tried all above syntex but no one is working. Could any one help with correct syntex for multiple selection in filter.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-01-18 09:14 PM
Looking at the code stage in the VBO I can see it is using the datarow.select .NET function. My recommendation would be to do some simple internet searching to find out what is possible and how to use that .NET function.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-01-18 05:49 PM
Try
""[Country] IN ('USA', 'China', 'Italy')""
This works for me.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-01-18 12:26 PM
We aThanks Dennis. We looked for syntax and after some hit and trial, below one is workign for us.
""[Country] = 'USA' or [Country] = 'Italy'""
