Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
MallikarjunaG
Contributor
Contributor

Search String Format

Hi All,

I have scenario like data values are like

ProdA|ProdB

Prodc|

ProdE|ProdE

I am providing input box for users to paste the list of values into input to search through column through button action

I was able do it if the column value is having single value , but the same search string format not working for above data format, knidly help me with search string format to be used in button action 

Thanks & Regards

Mallikarjun

Labels (2)
2 Solutions

Accepted Solutions
robert_mika
Master III
Master III

1. Use a expression to split string into single inputs 

2.Create then action using the option 'Select values matching search criteria'

with a sting like ='(" ' Product('$(vProd1)')&'"|"'&Product('$(vProd2)')&' ")'

View solution in original post

Chanty4u
MVP
MVP

Try this 

You can use 

LOAD

    ID,

    SubField(ProductField, '|') as Product

FROM Source;

So that you can use normal search.

 

Or

 

Try this 

*$(vInputValue)*

 

View solution in original post

3 Replies
robert_mika
Master III
Master III

1. Use a expression to split string into single inputs 

2.Create then action using the option 'Select values matching search criteria'

with a sting like ='(" ' Product('$(vProd1)')&'"|"'&Product('$(vProd2)')&' ")'

Chanty4u
MVP
MVP

Try this 

You can use 

LOAD

    ID,

    SubField(ProductField, '|') as Product

FROM Source;

So that you can use normal search.

 

Or

 

Try this 

*$(vInputValue)*

 

MallikarjunaG
Contributor
Contributor
Author

Hi Both,

have to use both of your inputs to make it work,

Thank you for your help

Regards

Mallikarjuna