Expand my Community achievements bar.

Difference between a Union and an Intersection

Avatar

Level 3

Can someone let me know the difference between a Union and an Intersection in a Workflow please?

How do they differ, and when and why would I use one, but not the other.

Many thanks

1 Reply

Avatar

Employee

Hello Thomas,

The union and intersection are exactly like they are in Set theory in Maths.

This is an union : The population is com from both sets are taken up excluding duplicates or common records.

In campaign if you have 2 incoming population , it will combine them and provide the combined populated minus the duplicates in both the population keeping only one record.

Image result for set theory AUB

This is an intersection : Only the common population from two sets are kept. . So in campaign if you have two incoming queries , it will only keep the common population among the two based on the conditions you provide.

Usage of these two will be determined by your use case. If you want to target on a common attribute use interaction , if you want to combine populations use union

Regards,
Adhiyan