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: 
Sundi
Contributor
Contributor

Generating a table from two existing ones

Dear all, need some help with the following.

I have a Date Table 

Date
1/1/2021
1/2/2021
1/3/2021
1/4/2021
1/5/2021
1/6/2021
1/7/2021
1/8/2021
1/9/2021

 

And I have a Table that holds stock tickers

Ticker
AAA
BBB
CCC
DDD
EEE

 

I would like to generate a Table that holds all tickers for each date:

New Table
Date Ticker
1/1/2021 AAA
1/1/2021 BBB
1/1/2021 CCC
1/1/2021 DDD
1/1/2021 EEE
1/2/2021 AAA
1/2/2021 BBB
1/2/2021 CCC
1/2/2021 DDD
1/2/2021 EEE
Labels (1)
1 Reply
justISO
Specialist
Specialist

Hi, just join these two tables. Like:

NoConcatenate
New_table:
LOAD Date
RESIDENT your_Date_table;

JOIN
LOAD Ticker
RESIDENT your_Ticker_table;

DROP TABLES your_Date_table, your_Ticker_table;