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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
ishchopra
Contributor III
Contributor III

tFilterrow Advanced condition

Hello there,

 

I am trying to put two conditions between or but it is not giving expected results. please help

 

Query:

!(input_row.Status.equals(null)) && !(input_row.Status.equals("")) ||    ----- This condition works but if i put && instead of or then it throw nullpointer error

(input_row.Status.equals("Opt-out") && input_row.SF_ID.equals(""))

 

I am enclosing a screenshot, the highlighted row should not appear in the results 

 

thanks in advance

 

Labels (2)
12 Replies
Anonymous
Not applicable

(

(input_row.Status != null )

&&

(! input_row.Status.isEmpty())

&&

! ( (input_row.Status.equals("Opt-out")) && (input_row.SF_ID == null) )

&&

! ( (input_row.Status.equals("Opt-out")) && (input_row.SF_ID.isEmpty()) )

)

ishchopra
Contributor III
Contributor III
Author

sgv,

 

this worked like a charm.

 

thanks 

Anonymous
Not applicable

Yessssss !!!!!  0683p000009MACJ.png

 

Good luck for the continuation,

 

SGV