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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
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!

Labels (1)
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
tresB
Champion III
Champion III

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!!!