Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
omyahamburg
Creator II
Creator II

combine a key-table with a calendar

Hello all

I want to load from an existing table several fields as a key

Temp:
LOAD * INLINE [
field1, field2, field3

A, B, C

D, E, F
]

;


Table:
load field1&'/'&field2&'/'&field3 as key
resident Temp;
Drop Table Temp;

The result

A/B/C

D/E/F

I want to join with a calendar (01.01.2012 to 31.12.2012), so having at the end 730 data sets:

A/B/C01.01.2012
A/B/C02.01.2012
A/B/C03.01.2012
A/B/C04.01.2012
A/B/C05.01.2012
A/B/C06.01.2012
A/B/C07.01.2012etc
D/E/F01.01.2012
D/E/F02.01.2012
D/E/F03.01.2012
D/E/F04.01.2012
D/E/F05.01.2012
D/E/F06.01.2012
D/E/F07.01.2012etc

Can someone have an idea how to solve this ?

Thanks a lot.

Joerg

2 Replies
Miguel_Angel_Baeyens

Hello Joerg,

Take a look at the code in this post, very close to your needs.

Hope that helps.

Miguel

omyahamburg
Creator II
Creator II
Author

Hello Miguel

That might solve my problem. I'll check both solutions.

Thanks a lot.

Joerg