Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Effective way of using Resident Load?

Dear Friends,

I have the three below tables

DIMFactFILE
IDIDREGION
REGIONGROSS_SALEXPENDITURE_AMT
CITYMONTH_SALDUE_AMT


I have already data model where DIM and FACT joined with ID.

Now i want to bringup columns REGION,EXPENDITURE_AMT and DUE_AMT into FACT from FILE and want to join Fact using ID,REGION with DIM table ID,REGION.

I know this can be achieve through CONCATINATE and RESIDENT together.But problem is i Dont want to load Fact twice.I have 20 MM records in the Fact.

It;s okay if you load FILE twice. Please provide me the solution as per my requirement.

Regards,

Ram

3 Replies
Anonymous
Not applicable
Author

Resident uses the data already loaded in memory ... you don't actually load Fact twice.

Do you use the FILE table for anything else?? If not you can do the load when concatinating.

Not applicable
Author

I am doing like this

FACT:

Load

ID,

GROSS_SAL,

MONTH_sAL

FROM Fact.qvd;

CONCATINATE

LOAD

(ID&REGION) as "%Join",

REGION,

EXPENDITURE_AMT,

DUE_AMT

FROM FILE.qvd;

Not applicable
Author

He i am getting the errow like ID doesn't exists error. Because ID doesn't exists in File.qvd