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

How to load these records too?

Hi All,

I have 2 tables that are related by date field and product code, I created a master calendar, the idea is to get a table containing all of the 2 tables guided by the date of the master calendar like this in the attachment.

any comments thank you.

Henry C.

3 Replies
hareeshkumar_gv
Contributor III
Contributor III

Hi Henry,

Could you please clarify that you need to create one table(as mentions in attached xls file) or do you need to split the tables??

hcabrera
Contributor III
Contributor III
Author

thanks for answering hareeshobjetivo.png,

the goal is to build a pivot table that has 2 missing records listed in the attachment.

maxgro
MVP
MVP

I used the excel

PROGRAMA:

First 8

LOAD Fecha,

     NroPrograma,

     CodProducto,

     [Des Producto],

     [Cantidad Producida]

FROM

data_program.xlsx

(ooxml, embedded labels, header is 1 lines, table is Hoja1);

join (PROGRAMA)

First 6

LOAD

  //date(date#(Fecha1, 'DD/MMM/YYYY')) as Fecha,

  Fecha1 as Fecha,

     Linea,

     CodProducto1 as CodProducto,

     [Des Producto1] as [Des Producto],

     Formato,

     [Cant Entregada]

FROM

data_program.xlsx

(ooxml, embedded labels, header is 1 lines, table is Hoja1);

1.png