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

join load inline variables to main data load

Hi, how can I join the load inline variables to OGL?

load *, text(OGLPONUM) as PO_num;

OGL:

LOAD PO_NUM as OGLPONUM,

     DATE,

     [DR ACCT],

     DR,

     PRICE

FROM

[<filename>.xls]

(biff, embedded labels, table is Sheet1$);

LOAD * INLINE [

    dr_acct, STORE

    $(ASTORE), A

    $(BSTORE), B

    $(CSTORE), C

    $(DSTORE), D

    $(ESTORE), E

];

The values for dr_acct in the load inline table (eg. $(ASTORE)) references the values in [DR ACCT] in the main load table, therefore the values in dr_acct and [DR ACCT] are the same, just that they have different variable names. So how can I make my OGL table to have these variables?:

OGL
PO_num
DATE
[DR ACCT]
DR
PRICE
dr_acct
STORE

Thanks.

0 Replies