Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
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