In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Merge 2 datasets with different structure

selsset97
7 - Meteor

Hi, I am trying to merge 2 datasets with the same categories, but different sub-categories into one with all sub-categories.

Here I attach sanitized examples of the datasets I would like to merge, and the desired output:

 

Dataset to merge 1 (2019)Dataset to merge 2 (2020)
selsset97_3-1667529175150.png

 


selsset97_4-1667529185813.png

 

 

Desired output (2019, 2020)

selsset97_5-1667529194090.png

 

 

As you can see:

  • Some lines contained in Dataset 2 do not exist in Dataset 1
    • For example: 107 Company Z
  • All categories and sub-categories are contained in the same column.

 

Thank you in advance! :)

 

4 REPLIES 4
gabrielvilella
14 - Magnetar

Hi @selsset97, here is one way of doing this.

gabrielvilella_0-1667531694339.png

 

grazitti_sapna
17 - Castor

Hi @selsset97 , another way of getting your output.

 

grazitti_sapna_0-1667537565512.png

 

Sapna Gupta
selsset97
7 - Meteor

Thank you so much! :)

selsset97
7 - Meteor

Thank you so much!

Labels
Top Solution Authors