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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
profilejamesbond
Creator II
Creator II

Merge two fields data into one field

Hi,

I want to merge two fields data into one field. Such as shown in the given below table examples. I have Key, and now I want to merge Dimension_A and Dimension_B data into Dimension_A. So, finally, I must have Dimension_A including Dimension_B data

 

Table1:

Key

Dimension_A

 

Table2:

Key

Dimension_B

 

Thanks

 

 

 

Labels (5)
2 Replies
henrikalmen
Specialist II
Specialist II

It is not quite clear if you want to have values from Dimension_A and Dimension_B in the same field or what you want, but perhaps you could do something like this:

tmp: load Key, Dimension_A from [data1];
join(tmp) load Key, Dimension_B from [data2];

Table1: load Key, Dimension_A&DimensionB as merged_field resident tmp;

anat
Master
Master

Table1:
load * inline [
key,dimA
1,a
2,b
];
concatenate(Table1)
load key,dimB as dimA;
load * inline [
key,dimB
3,c
4,d
];