Skip to main content
mary_taylor
Contributor ⭐️⭐️⭐️⭐️
March 17, 2020
New Idea

Provide a new Join Option equivalent to Union

  • March 17, 2020
  • 6 replies
  • 168 views

Today’s join options include a full outer join, and while the documentation describes the option similar to a union, it is not the true equivalent of a union because it requires an output set that includes all of the columns from both input data sets.  I’d like to see a ‘Full Outer Join Union’ option which would retain all rows of both input data sets, but would allow you to store them in the same columns (remove the restriction of unique output column names).


For example:

Dataset 1:  Country, City, Home Phone

Dataset 2:  Province, Town, Cell Phone

Today’s Union would give me all rows in a dataset that had the following columns:

Country, City, Home Phone, Province, Town, Cell Phone.


What I’d like to do is name the output columns from both input sets to Location, Town, Phone and have the data from each input dataset as rows in this new table with 3 columns.​​​​​​​

6 replies

rakesh
Gainsight Employee ⭐️
Lets put your data to work!
November 20, 2020

Hi @mary_taylor 

 

Union is coming to Data Designer with this November release. We plan to bring these capabilities to Rules engine as well in the future. 

mary_taylor
Contributor ⭐️⭐️⭐️⭐️
November 20, 2020

Thank you, that is awesome news!

Helper ⭐️⭐️⭐️
December 4, 2020

Hello Everyone!

Happy to announce that your request has been considered and included as part of the v6.19 release (SFDC / NXT). The Union function in Data Designer combines two datasets in a way that all the similar types of fields automatically are unified into one dataset. If there are any other fields in the two datasets that are not similar, admins can select and add them based on the requirement. Prior to this release, whenever admins wanted to combine two datasets (with similar fields) into one dataset, admins had to perform Transformation and Merge actions. With the new Union function, admins do not need to perform this additional step/configuration.

This feature is implemented in both SFDC & NXT.

Thanks for posting!

mary_taylor
Contributor ⭐️⭐️⭐️⭐️
January 22, 2021

@rakesh_lingala When will this be available in the Rules Engine?  I’m blocked on implementing a solution now because DD has Union but doesn’t have the ability to do a field to field compare in the Case statement, while Rules Engine can do the field to field compare in a Case statement but doesn’t have the Union capability :tired_face:

rakesh
Gainsight Employee ⭐️
Lets put your data to work!
January 29, 2021

@mary_taylor  I am sorry for the experience you had with this one. We will work on providing the ability to do a field to field compare in the Case statement in one of the upcoming releases

Contributor ⭐️⭐️⭐️
July 6, 2022

Hi All

Union feature has been implemented? If yes, how can we use it?