Qlik Community

Qlik GeoAnalytics Discussions

Discussion Board for collaboration regarding Qlik GeoAnalytics.

ytalladeffo
New Contributor

How to link my tables ?

Hello to all,

I have some problem with a load script. I have 3 tables with this limit column

LignesCommande     Commande     Segmentation

-Order_ID                  -Order_ID       -Cli_Code

-Period                      -Cli_Code       -Period

My tables LignesCommande and Commande is already link through Order_ID and I have to add a new table Segmentation.

In Segmentation table I have to create a concatenate column (Cli_Code and Period) and I have to link with a table LignesCommande.

My question is: How to brink the column Cli_Code in a table LignesCommande present in table Commande to make the concatenation (Cli_Code and Period) and link table Segmentation and table LignesCommande ?

Any help or idea please ?

1 Solution

Accepted Solutions
slondono
Contributor II

Re: How to link my tables ?

You can use an Appymap to bring Cli_Code to LignesCommande

Map_Commande:
Mapping

LOAD

     Order_ID,

     Cli_Code

From  Commande (You put here the route or file)

LignesCommande:

     LOAD

     Order_ID,

     Period

     ApplyMap('Map_Commande',Order_ID,'Not matches found') as Cli_Code

From Whathever...

2 Replies
slondono
Contributor II

Re: How to link my tables ?

You can use an Appymap to bring Cli_Code to LignesCommande

Map_Commande:
Mapping

LOAD

     Order_ID,

     Cli_Code

From  Commande (You put here the route or file)

LignesCommande:

     LOAD

     Order_ID,

     Period

     ApplyMap('Map_Commande',Order_ID,'Not matches found') as Cli_Code

From Whathever...

ytalladeffo
New Contributor

Re: How to link my tables ?

Thank you.

Community Browser