Skip to main content
Announcements
WEBINAR April 23, 2025: Iceberg Ahead: The Future of Open Lakehouses - REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
mg862925
Contributor

exclude comment in filter

I want to create a filter for comment section

Yes -Include only "Burn and discoloration on lcd,"

No -  Exclude all the "Burn and discoloration on lcd"

 

See my file

 

Best regard

 

Mikael

1 Solution

Accepted Solutions
Vegar
MVP

Please see attached Qlik Sense application file.

image.png

View solution in original post

5 Replies
Vegar
MVP

Please see attached Qlik Sense application file.

image.png

mg862925
Contributor
Author

Do I do this in Dataimport? (I get a failure right now)

anushree1
Specialist II

Please check if the attached file works for you

anushree1
Specialist II

Please check if the attached file works for you

Vegar
MVP

@mg862925  Yes you can do this in the data importer as I did in my example, but you can also do it your self  in the script editor like in the script below.

[Qlikforum]:
LOAD
  [InspectionComments],
  if( match([InspectionComments],'Burn-ins and discoloration on LCD.'),
      'Yes','No') AS [Exclude comments  (case sensitive)],
  if( wildmatch([InspectionComments], 'BuRn-InS aNd DiScOlOrAtIoN oN LcD.'),
      'Yes','No') AS [Exclude comment (case insensitive)],
  if( wildmatch([InspectionComments], 'Burn-ins and discoloration*', 'Airbubble*'),
      'Yes','No') AS [Exclude comment (wildchar and case insensitive)]
FROM 
    [lib://Downloads/qlikforum.xlsx]
    (ooxml, embedded labels, table is Sheet1);