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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
cwhittington05
Contributor II
Contributor II

Limit dates loaded

Hi all, I have a database with data for 5 years and I need to only load data from 8/1/2008 forward.  Where and how in the script can I do this?  TIA!

2 Replies
Frank_Hartmann
Master II
Master II

You can use where clause:

SET DateFormat='DD/MM/YYYY';
tmp:
Load * Inline [
Date
8/1/2005
8/1/2008
8/1/2012
];

NoConcatenate

Load * Resident tmp Where Date>='8/1/2008'; DROP Table tmp;
Wlad_Masi
Former Employee
Former Employee

Hi @cwhittington05  have you seen this post Load Where?
We have lots of examples in our community that could match your need.
I hope this specific one helps.

To help users find verified answers, please don't forget to mark a correct resolution or answer to your problem or question as correct.