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: 
btaccent
Contributor III
Contributor III

Exclude specific text in the value in Set analysis

Hi,

I have below values i want to exclude 'High' related values using set analysis. WE use Qliksense

Field
Energy - High - 18/3/2023
Energy - Low - 18/3/2023

I have tried using below expression, but it is not working.

count({<Field -={'*High*'}>} sales)

 

Please help.

Labels (2)
1 Solution

Accepted Solutions
btaccent
Contributor III
Contributor III
Author

I found the solution. We need to use DOUBLE QUOTES around the value in set analysis.

count({<Field -={"*High*"}>} sales)

View solution in original post

4 Replies
Or
MVP
MVP

count({<Field -={'High'}>} sales)

btaccent
Contributor III
Contributor III
Author

'High' is a single word in the value(as you can see in the example above). So not sure if it works.

btaccent
Contributor III
Contributor III
Author

I found the solution. We need to use DOUBLE QUOTES around the value in set analysis.

count({<Field -={"*High*"}>} sales)

Or
MVP
MVP

Ah. That wasn't quite clear to me, sorry.

count({<Field -={"*High*"}>} sales)

Double quotes are necessary to treat the string as a search string rather than a direct match.