Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
chiso_chiso
Creator
Creator

Wildmatch on 2 words

Hallo,

Is it possible to use wildmatch to filter items in a field with 2 or more words.

Attached is data sitting in my uploaded excel file as example.

For instance, 'availability' and 'Coke' to list all the availability of Coke.

1 Solution

Accepted Solutions
PrashantSangle

Hi,

If you want Avaliabilty and Coke in same sentence

then write

if(Wildmatch(Question,'*availability*coke*'),Answer)

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

7 Replies
chiso_chiso
Creator
Creator
Author

Sorry I left the attachment out.

Thanks

alexandros17
Partner - Champion III
Partner - Champion III

Wildmatch(MyField, 'Value1', 'Value2' ....) > 0 means that you have found at least a value among value1, value2 ... in the field MyField

chiso_chiso
Creator
Creator
Author

For some reason my expression is not working

=if(WildMatch(Question,'*availability*','*coke*')>0, Answer)

PrashantSangle

Hi,

If you want Avaliabilty and Coke in same sentence

then write

if(Wildmatch(Question,'*availability*coke*'),Answer)

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
alexandros17
Partner - Champion III
Partner - Champion III

Your syntax is absolutely correct, the reason could be that values are not contained in field Question,

have you some selection that exclude values, are you sure that question has that values?

chiso_chiso
Creator
Creator
Author

I am using the attached data and have one expression in a straight table chart but still even with max dreamer's expression.

chiso_chiso
Creator
Creator
Author

Sorry, I have figured it. I was using a wrong dimension but i should use the Question as dimension as well.

Thanks guys.