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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

for each ?

Hi all,

i have one table:

Year
YearMonth
20112011-1
20112011-2
20112011-3
20112011-4

(this goes on until the end of 2014...)

I have another table:

ID
A1
A2

(more records in here...)

Now what i want (in my LOAD script): For each YearMonth in my first table i want to add one ID. I need to do this for all IDs. That should result in one table looking like this:

Year
YearMonth
ID
20112011-1A1
20112011-2A1
20112011-3A1
20112011-4A1
20112011-1A2
20112011-2A2
20112011-3A2
20112011-4A2









How can i do this ?

Thanks a lot!

Labels (1)
1 Reply
Not applicable
Author

Try this:

Load Year, YearMonth, 1 resident Table1;

join

load ID, 2 resident Table2;