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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Clairezeepoos
Contributor
Contributor

Struggling with Concatenate Join Keep Choices

Hi All,

I'm struggling to append data from one table to another and getting strange results because the first two fields have the same values in both tables.

Below are two sample tables and table 3 shows the required output that Table one should end up as.

Table 1
KPIDateKeyClassValue
KPI1mm01Actual0.45
KPI1mm02Actual0.34
    
Table 2
KPIDateKeyClassValue
KPI1mm01Target0.55
KPI1mm02Target0.49
    
Table 1 after load
KPIDateKeyClassValue
KPI1mm01Actual0.45
KPI1mm02Actual0.34
KPI1mm01Target0.55
KPI1mm02Target0.49

 

Any pointers would be gratefully received

 

Claire

3 Replies
JustinDallas
Specialist III
Specialist III

How are they ending up?  And do the source tables both have the same field list?

stevejoyce
Specialist II
Specialist II

Please share your script and details on what is strange.  These tables would automatically concatenate if you aren't using noconcatenate or qualify, since they have the same field names.  

 

Concatenate ([Table 1])

Load *

Resident [Table 2]

;

drop table [Table 2]

Clairezeepoos
Contributor
Contributor
Author

Hi All,

I have since resolved this issue thankyou for all input.

 

Claire