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: 
smilingjohn
Specialist
Specialist

Date restriiton

Hi All, 

IN oracle db I have a load date of below format  in the screenshot .

smilingjohn_0-1605165228361.png

And when loaded into qlikview the out put date is like the below 

smilingjohn_0-1605165822931.png

 

 

Now during loading the data into qlikview I am using this condition 

Where Date(Load_Date)>10/31/2020

But still i get the whole data . How can i handle this and load the data aftr 10/OCt/2020 in qlikview . 

Thanks in Advance

 

1 Solution

Accepted Solutions
MayilVahanan

Hi @smilingjohn 
Try like below

Where Floor(Load_Date)> Floor(MakeDate(2020,10,31));

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

3 Replies
MayilVahanan

Hi @smilingjohn 
Try like below

Where Floor(Load_Date)> Floor(MakeDate(2020,10,31));

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

Thanks @MayilVahanan 

 

Can you please tell me what does make date do here ? 

ANd yes this is working ,if you can please explain me how it is working  it would be a good lesson for me for the future .

MayilVahanan

Hi @smilingjohn 

Here, its important is floor() function which convert timestamp to numeric. 
MakeDate() function  returns a date based on passing year, month & day. 

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