Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Having in Qlikview

Hi All,

Could you please help me in converting the below qlikview statement. Currently I am fetching directly from the database, now I need to replace this statement with qvd (instead of databse need to use Qvd files). So I need to use only Load statement and not the SQL part. I dono how to use "having" in Load statement.

Can anyone help me??

LOAD date(floor(CREATE_DATE)+1) as FROMDATE

,if(today()>floor(CREATE_DATE)+1, today(), date(floor(CREATE_DATE)+1)) as TODATE

;

SQL SELECT MAX(CREATE_DATE) as CREATE_DATE

FROM db.Table_Name

WHERE CODE = '$(Code)'

HAVING TRUNC(MAX(CREATE_DATE)) < TRUNC(SYSDATE);

Thanks,

Leni

1 Solution

Accepted Solutions
Not applicable
Author

Hello Leni,

You must use Preceeding Load , Check this out.http://community.qlik.com/thread/15278

thanks,

itsangad

View solution in original post

2 Replies
Not applicable
Author

Hello Leni,

You must use Preceeding Load , Check this out.http://community.qlik.com/thread/15278

thanks,

itsangad

Anonymous
Not applicable
Author

Thanks it worked