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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Load table where date is between

Hi,

I was hoping to load with date between . i.e

LOAD

A

B

C

FROM  dbs

where Date(APPLIED_DATE,'yyyy/MM/dd') >= '2010/01/01'  and Date(APPLIED_DATE,'yyyy/MM/dd') <= '2012/31/01' ;

 

Please help with the syntax. Thanks

1 Solution

Accepted Solutions
MayilVahanan

HI

Try like this

Load * from tableName where Date(APPLIED_DATE,'YYYY/MM/DD') >= Date#('2010/01/01','YYYY/MM/DD')  and Date(APPLIED_DATE,'YYYY/MM/DD') <= Date#('2012/31/01', 'YYYY/MM/DD');

Can you say applied date is in correct format for date? try with date#() also once. May be format is incorrect.

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

2 Replies
MayilVahanan

HI

Try like this

Load * from tableName where Date(APPLIED_DATE,'YYYY/MM/DD') >= Date#('2010/01/01','YYYY/MM/DD')  and Date(APPLIED_DATE,'YYYY/MM/DD') <= Date#('2012/31/01', 'YYYY/MM/DD');

Can you say applied date is in correct format for date? try with date#() also once. May be format is incorrect.

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Anonymous
Not applicable
Author

Thanks a lot Mayil it worked just fine.