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

Resident table inner join issue 2

Hi Guys,

I have this script where where i am loading SalesReceiptLine and
SalesReceipt and trying to join then common field name TxnID but when i check NoOfRows for Temp_Table then it shows null.

NoConcatenate

[SalesReceipt]:

LOAD TxnID,

'Sales Receipt' as TxnType,

CheckNumber,

Date(TxnDate, 'MM/DD/YYYY') as TxnDate,

DepositToAccountListID,

DepositToAccountFullName

FROM

[$(Path)$(_CompFileName)_v_SalesReceipt.qvd]

(qvd);

NoConcatenate

[SalesReceiptLine]:

Load TxnID,

TxnLineID,

AccountFullName,

Amount

FROM

[$(Path)$(_CompFileName)_v_SalesReceiptLine.qvd]

(qvd);

NoConcatenate

[Temp_Table]:

LOAD

TxnID,

TxnType,

CheckNumber,

TxnDate,

DepositToAccountFullName,

DepositToAccountListID as ListID

Resident SalesReceipt;

inner join (Temp_Table)

Load

TxnID,

TxnLineID,

AccountFullName,

Amount

Resident SalesReceiptLine;

let v = NoOfRows(Temp_Table);

if Not isNull (NoOfRows(Temp_Table)) then

store Temp_Table into 'c:\Temp2.qvd';

ENDIF


Thanks,

Saurabh

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try

let v = NoOfRows( 'Temp_Table' );

If this does not help, try to create your tables step by step, and check tables linked correctly by TxnID.

View solution in original post

2 Replies
swuehl
MVP
MVP

Try

let v = NoOfRows( 'Temp_Table' );

If this does not help, try to create your tables step by step, and check tables linked correctly by TxnID.

Not applicable
Author

Thanks...

it works