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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Joining two tables and getting the right data

Hi Fellow users,

I have two tables I would like two join. Material table and Labor table. Here is an example what goes wrong.

Table Material

jobMaterialAmountPeriod
08w3000paint10.251
08w3000steel5.331
08w3000steel13.661


Table Labor

jobNameHoursPeriod
08w3000John271


When I join the Material table with the Labor table I get the following result:

jobMaterialAmountPeriodNameHours
08w3000paint10.251John27
08w3000steel5.331John27
08w3000steel13.661John27


So when I a make a graph table I get the correct amount but the hours are (3*27)= 81hours.

Could someone help me with this problem, how can I create the following table

jobMaterialAmountPeriodNameHours
08w3000paint10.251
08w3000steel5.331
08w3000steel13.661
08w30001John27


Regards,

Aissam

Labels (1)
1 Reply
Not applicable
Author

Hi,

You r right, joins work in that way as you defined.

to get your desired out put table , you should concatenate both the tables.

[Table Material] :

Load --------

-------

From Table_Material;

Concatenate

[Table Labor] :

Load --------

-------

From Table_Labor;

Hope so this will help you !

- Sridhar