
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Issue in multiple selection
Hi,
I have selected action as "select in field"
Field =[Transaction ID]
Search String ='('&replace(vSearch,',','|')&')'
But when I'm giving multiple transaction id's separted by comma and hitting on test. It doesn't work.
Can someone please help me with the error in my button.
Please find the attached screen shot.
Thanks in advance.
Regards,
Adi
- Tags:
- new_to_qlikview
- « Previous Replies
-
- 1
- 2
- Next Replies »

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Aditya, can you try this?:
Search String ='('&replace('$(vSearch)',',','|')&')'
You can test the expression first in a text box to check the string it returns.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this may be:
='(' & Replace(PurgeChar(vSearch, ' '), ',' , '|') & ')'

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It didn't work.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It didn't work Ruben. But its returning the exact string that I pasted in the text box.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Will you be able to share a sample application?
Best,
Sunny

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I checked one example where I did something similar, I have each value between double quotes, it should be:
Search String ='("'&replace('$(vSearch)',',','"|"')&'")'

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ruben,
My search string is correct.
I just removed = before [Transaction ID]. And it's working fine now.
Anyways I appreciate your help.
Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, I didn't thought that '=' was part of the Field Name.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What Aditya meant is to to remove the equal sign before the transaction_id field. see screen shot. it should work.

- « Previous Replies
-
- 1
- 2
- Next Replies »