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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Wildmatch alternative in Set analysis

Hi Guys,

I would like to make an expression using set analysis but the wild match function doesn't work in set analysis. My expressions looks like:

count({1<

Field1 = {'Lee'},

Field2 = {'type1'},

wildmatch(Field3 ,'*Architecture*','*Drivers and Electronics*','*DEC*')

  >}ID))

Wildmatch doesn't work here.

Can anyone please tell a way to achieve this?

Thanks!

1 Reply
Not applicable
Author

You can add a flag in the script.  For example:

LOAD

     Field3,

     Wildmatch(Field3,'*Architecture*','*Drivers and Electronics*','*DEC*') as Flag

Resident YourTableName;

Then for the set analysis you can use:

count({1<Field1 = {'Lee'},

Field2 = {'type1'},

Flag = {'1'}>}ID))