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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

requirement

I have two filter some conditions like:

where x='some value' and y='some value' and z=null or z='na'

how to do that ?

Labels (1)
2 Replies
Peter_Cammaert
Partner - Champion III
Partner - Champion III

IF ((x = 'some value') and (y = 'some value') and (IsNull(z) or (z = 'na')), true-expression, false-expression)

its_anandrjs
Champion III
Champion III

If you are using this conditions in where condition to filter the data then

Load *

From source

Where

x = 'some value' and y = 'some value' and isnull(z) = -1 or z = 'na';


Or in the conition


If( x = 'some value' and y = 'some value' and isnull(z) = -1 or z = 'na',1 ,0 )