Union Acitivity | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ParthaSarathy

Hi @sanjana12 ,

By default in union (keys only reconciliation) will union the target data based on primary key.

If we want to do union based on a particular attribute/field, 'A selection of column' option will be helpful.

The below example might help you getting answer,

There are 2 files,

File1 - address.csv which have customer id and email address

customer_idemail
123test1@test.com
456abc@gmail.com
789123@yahoo.com

 

File2 - offer.csv which have customer id and offer

customer_idoffer
789offer3
             001offer4
123offer1
456offer2

 

 

Importing this 2 files, and by selecting 'keys only' in union, offers and email are assigned to customer id based on primary key (here, line number). When you compare with above mentioned file data, this mapping output of union is wrong.

 

So the correct way to union here is, by selecting 'a selection of column' in reconciliation and selecting 'customer_id' column, we can see the correct mapping of email id - offer and customerId as per files.

 

 

2 replies

AkshayAnand
Community Advisor
Community Advisor
June 6, 2023

Hi @sanjana12 

 

You can use reconciliation when you need to create a temporary joining condition for two transitions (similar to reconciling in enrichment activity).
Eg, if the transition are not in same dimension then to create a linkage you can use this option to define a field and create a link/reconciliation. 

You can refer here for more details.

 

Regards

A

ParthaSarathy
Community Advisor
ParthaSarathyCommunity AdvisorAccepted solution
Community Advisor
June 6, 2023

Hi @sanjana12 ,

By default in union (keys only reconciliation) will union the target data based on primary key.

If we want to do union based on a particular attribute/field, 'A selection of column' option will be helpful.

The below example might help you getting answer,

There are 2 files,

File1 - address.csv which have customer id and email address

customer_idemail
123test1@test.com
456abc@gmail.com
789123@yahoo.com

 

File2 - offer.csv which have customer id and offer

customer_idoffer
789offer3
             001offer4
123offer1
456offer2

 

 

Importing this 2 files, and by selecting 'keys only' in union, offers and email are assigned to customer id based on primary key (here, line number). When you compare with above mentioned file data, this mapping output of union is wrong.

 

So the correct way to union here is, by selecting 'a selection of column' in reconciliation and selecting 'customer_id' column, we can see the correct mapping of email id - offer and customerId as per files.

 

 

~  ParthaSarathy S~  Click here to join ADOBE CAMPAIGN USER GROUP for Quarterly In-person | Hybrid | Virtual Meetups
Sanjana12Author
Level 6
June 6, 2023

Thank you for the explanaton