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: 
Not applicable

using script editior

Hi

In my script editor I want to load data only in a specific date range ie from 01/01/2010 onwards

how do I write this?

Thanks

This is my script

LOAD IncidentID,

     Region,

     Site,

     DateRaised,

     Year(DateRaised) as Year,

     Month(DateRaised) as Month,

     ReportedBy,

     NonConformanceArea,

     NonConformanceAreaCategory,

     Description,

     Priority,

     CloseOut,

     CompletionDate

1 Solution

Accepted Solutions
SunilChauhan
Champion II
Champion II

in script editor write your load like below

load

column1,

column2

.....

from path where DateRaised>='01/01/2010'

Sunil Chauhan

View solution in original post

3 Replies
SunilChauhan
Champion II
Champion II

in script editor write your load like below

load

column1,

column2

.....

from path where DateRaised>='01/01/2010'

Sunil Chauhan
erichshiino
Partner - Master
Partner - Master

if you have some trouble with the comparison with the date as a string,

you can replace the condition in the previous post to:

from path where DateRaised>= makedate(2010)

or

from path where year( DateRaised) >=2010

Hope this helps,

Erich

Not applicable
Author

Thanks

It works!