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: 
Not applicable

not equal to in QVD generator

SQL

SELECT

*
FROM PUB.invanal

where analysis-cat not in('d','c','f');

When I use this, its removing the records with blank values also.

Is there any way to avoid it?

1 Solution

Accepted Solutions
stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Nick,

Are you sure it is blank values, not NULLs?

You could try the following:

WHERE (analysis-cat IS NULL OR analysis-cat NOT IN ('d','c','f'));

Hope that helps,

Steve

View solution in original post

1 Reply
stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Nick,

Are you sure it is blank values, not NULLs?

You could try the following:

WHERE (analysis-cat IS NULL OR analysis-cat NOT IN ('d','c','f'));

Hope that helps,

Steve