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 Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to join two unique datasets each with only one column and generate combination of both

AdamMina
5 - Atom

Hi All,

 

I am struggling to find a way how to generate a dataset from two unique columns (A,B), in a way that each unique value in data set A would get expanded by all unique values from dataset B.

An example below should be better in describing what I am looking for.

 

Dataset A

1

2
3

 

Dataset B

A

B
C

 

Desired Dataset

1

A

1B
1C
2A
2B
2C
3A
3B
3C

 

I hope it makes sense, thank you all in advance :)!

3 REPLIES 3
Jean-Balteryx
16 - Nebula
16 - Nebula

Hi @AdamMina ,

 

The "Append fields" tool is your friend ! It creates every combination of values from both sources !

 

Here is the documentation : https://help.alteryx.com/20212/designer/append-fields-tool

atcodedog05
22 - Nova
22 - Nova

Hi @AdamMina,

 

As @Jean-Balteryx mentioned you can use append tool like below to create combinations.

 

Workflow:

atcodedog05_0-1626865008337.png

 

Hope this helps : )

AdamMina
5 - Atom

Hi Both,

 

Works like a charm! 🙂 Thank you both for quick response.

 

Have a nice day.

Labels
Top Solution Authors