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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
sudhakar_budde
Creator
Creator

Resident Load

Hi,

I am new to QlikView.

I have a scenario where I have to load a table called 'Client' many times like 'Client', 'Agency', 'Contact'.

I realised I can use 'Resident' load. But quite not sure how to create keys that are relevent to the meaning of the table so that it will join to associated table.

The associated table 'Orders' has got the keys 'CLIENT_ID', 'AGENCY_ID', 'CONTACT_ID'.

And the 'Client' table has got the key is 'CL_ID'. This is joined to the above keys.

I have loaded the tables seperately without using 'Resident' and can see the data model. Reloaded successfully and data is visible.

But what is the best practice ? Can any one help me to achieve this please?

Thanks

Sudhakar

1 Reply
swuehl
MVP
MVP

How does you script currently look like?

You would probably need to rename fields of your Client table other than CL_ID also to avoid a synthetic key / circular reference.

If you are loading the Client table from a QVD, I would assume that it is even better to load CLIENT, AGENCY, CONTACT directly from the QVD (and using RENAME FIELDS or AS) than doing a resident table LOAD.