Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

gerhardl
Contributor II

Match fields and add to table

Hi,

If I am loading from two separate tables and they have one matching field, how do I add a new field to the second table using data from the first?

So:

Table 1 - Field A and B

Table 2 - Field A

I need to add Field B to Table 2.

Example:

Table 1:  

Field AField B
12345xyz
4444aaa
5555bbb
6666ccc

Table 2:

Field AADD NEW FIELD HERE
12345xyz
7777
8888
9999


Thanks,

G

Tags (2)
2 Replies
Not applicable

Match fields and add to table

try this

table2:

load

     field_A

from ...

table1:

left join

load

     field_A

     field_B

from...

where exits(field_A)

Not applicable

Re: Match fields and add to table

Please see attached file.

It's working in this case.

Community Browser