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: 
Qvmaster2019
Creator
Creator

Set Analysis (Does Not Contain)

Hi,

Does anybody know how to do this using set analysis.

I am trying to count records where a certain field does not start with 'Q:'

I have something like this but seems not working

count({<left(Name,2)-={'Q:'}>} Id)

1 Solution

Accepted Solutions
Anonymous
Not applicable

I don't think you can change the left hand side of a test like that. How about ...

count({<Name-={'Q:*'}>} Id)

The wildcard * should act the same way as if you did a search from a list boxes caption.

Jonathan

View solution in original post

4 Replies
Anonymous
Not applicable

I don't think you can change the left hand side of a test like that. How about ...

count({<Name-={'Q:*'}>} Id)

The wildcard * should act the same way as if you did a search from a list boxes caption.

Jonathan

Not applicable

Hello,

Try this :

count(if( not wildmatch(Name, 'Q:*' ), Id))

or

count({< Name-= {"Q:*"} >}Id)

Amand Dupretz

Qvmaster2019
Creator
Creator
Author

jonbroughavone, it shows zero even if i changed the <> operator.

Qvmaster2019
Creator
Creator
Author

Amand Dupretz, also shows me zero and shows no dimensions