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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Joining two resident tables

I have tow tables with information of which I want to multiply a value from table 1 with a value from table 2 and store it in table 3.

First table
%ITM ,
TTYPE,
TQTY

Second table

DOCO,
%ITM,
QTY

I want to multiply QTY with TQTY and store this in a third table

table 3

DOCO,
SERVICE,
SCOST

Second.DOCO = DOCO
first.TTYPE = SERVICE
TQTY.QTY = SCOST

I dont know how to load info from 2 resident tables.

Who can help me

Labels (1)
2 Replies
Not applicable
Author

First:

Load %ITM,

TTYPE as SERVICE,

TQTY from FirstTable;

left join(First)

load %ITM,

DOCO,

QTY

from secondTable;

Table3::

load DOCO,

SERVICE,

TQTY * QTY as SCOST

resident first;

Does that helps ?

Philippe

Not applicable
Author

I think the previous solution will works well

You also can do it with apply map :

http://community.qlik.com/forums/p/16017/62222.aspx#62222

Regards