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

Announcements
Register by January 31 for $300 off your Qlik Connect pass: Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
alexis
Partner - Specialist
Partner - Specialist

Simple LOAD question

Hi all,

In my applicartion I have a need to create a table (I call it "ReloadTimes") that contains some data from a QVD file as well as some "local" information (see below to see what I mean.

Try as I might I always end up with just the one row (the content of the QVD file). The "local" stuff does not get added - I am sure it is something simple but it's Friday afternoon and my brain s already in "weekend" mode.

Regards

Alexis

LET vThisAppReloadTime=Now();

 

ReloadTimes:

   

LOAD      Source,

                  ReloadTime

FROM

[Welfare_ReLoadTime.qvd]

(qvd);

LOAD 'ApplicationReload'     As Source,

     '$(vThisAppReloadTime)'  As ReloadTime;

//     $(vThisAppReloadTime) As ReloadTime;

1 Solution

Accepted Solutions
Not applicable

resident is missing, but should be as follows:

table2:

LOAD * INLINE [

    F1, F2

    ,'$(vThisAppReloadTime)'

];

LOAD 'ApplicationReload'     As Source,

     '$(vThisAppReloadTime)'  As ReloadTime resident table2;


This will add new row to the ReloadTimes table.

regards

View solution in original post

5 Replies
Not applicable

Hi,

there is missing resident on the end:

LOAD 'ApplicationReload'     As Source,

     '$(vThisAppReloadTime)'  As ReloadTime resident ReloadTimes;


Not applicable

resident is missing, but should be as follows:

table2:

LOAD * INLINE [

    F1, F2

    ,'$(vThisAppReloadTime)'

];

LOAD 'ApplicationReload'     As Source,

     '$(vThisAppReloadTime)'  As ReloadTime resident table2;


This will add new row to the ReloadTimes table.

regards

daveamz
Partner - Creator III
Partner - Creator III

Hi,

Or you can use directly:

LET vThisAppReloadTime=Now();

ReloadTimes:

LOAD      Source,

                  ReloadTime

FROM

[Welfare_ReLoadTime.qvd]

(qvd);

LOAD * INLINE [

    Source, ReloadTime

    ApplicationReload,'$(vThisAppReloadTime)'

];

Regards,

alexis
Partner - Specialist
Partner - Specialist
Author

Very helpful - thanx!

alexis
Partner - Specialist
Partner - Specialist
Author

Thank you for your swift response.

Alexis