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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

search in set analysis

Good day!

Please help to search text value in set analysis.

For example, I need to find all managers in field [CR_L3_Code] which contains 'Kvs' and join them tothe general name 'Kiev' in the dimension .

It seems to be easy, using the '*', but formula like this doesn't work:

if([CR_L3_Code]='*Kvs*', 'Kiev', 'no') 

CR_L3_Code=
  if([CR_L3_Code]='*Kvs*','Kiev','no')
UM-Kvs-C-TT-1no
UM-Dnp-S-TTno
UM-Dnt-C-AL-2no
UM-Kvs-D-ALno
UM-Dnt-S-OTno

What can be wrong?

Thanks in advance!

1 Solution

Accepted Solutions
CELAMBARASAN
Partner - Champion
Partner - Champion

Try

If(WildMatch([CR_L3_Code], '*Kvs*'),'Kiev', 'no')

View solution in original post

3 Replies
tresesco
MVP
MVP

Try using WildMatch()

CELAMBARASAN
Partner - Champion
Partner - Champion

Try

If(WildMatch([CR_L3_Code], '*Kvs*'),'Kiev', 'no')

Not applicable
Author

It works! Thanks a lot!!!