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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Specialist
Specialist

Expression

Hi All,

What is this below expression does in the script ?

If(wildmatch(Questions,'*Complaint*')and not WildMatch(Questions,'*Air*','*Lodging*','*Cruise/Tour*','*Car*','*PWP*','*Follow-up*'),'Complaint',

1 Solution

Accepted Solutions
prat1507
Specialist
Specialist

Hi

The expression searches for text containing Complaint in Questions. If found (If(wildmatch(Questions,'*Complaint*'))

and does not contain Air, Lodging, Cruise/tour, Car, PWP or Follow-Up

not WildMatch(Questions,'*Air*','*Lodging*','*Cruise/Tour*','*Car*','*PWP*','*Follow-up*'),'Complaint')

would be classified as 'Complaint'.

Regards

Pratyush

View solution in original post

1 Reply
prat1507
Specialist
Specialist

Hi

The expression searches for text containing Complaint in Questions. If found (If(wildmatch(Questions,'*Complaint*'))

and does not contain Air, Lodging, Cruise/tour, Car, PWP or Follow-Up

not WildMatch(Questions,'*Air*','*Lodging*','*Cruise/Tour*','*Car*','*PWP*','*Follow-up*'),'Complaint')

would be classified as 'Complaint'.

Regards

Pratyush