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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Mistake in If statement

Hi All,

Below is the if query used in the expression

if(Off_Start_Date<>Null()

and len(trim(TermSheetSignedDateTime))=0,

if(Off_Status='Draft',Enq_ContactName,

if(Off_Status='Auto Approved',Enq_ContactName, 

if(Off_Status='Pending Approval',Enq_ContactName,

))))


Above expression gives 9 records. But when i select individual Off_Status it shows more.

Please help me with this.

Attached the Qvw.

Regards,

Keerthi KS

11 Replies
sasiparupudi1
Master III
Master III

Try the following to see why your if condition is having a problem

if(Off_Start_Date<>Null()

and len(trim(TermSheetSignedDateTime))=0,

if(Off_Status='Draft',Enq_ContactName,

if(Off_Status='Auto Approved',Enq_ContactName, 

if(Off_Status='Pending Approval',Enq_ContactName,Off_Status

))))

hth

Sasi

Not applicable
Author

when i select the Off_Status it shows the data. But in the expression its faining