Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Remove duplicated combinations

slinky123
7 - Meteor

Hi All,

 

I have the following data:

 

 

Product AProduct BCount
1234563
4561233
7895684
7891245
5687894
1247895

 

I want to be able to remove any duplicated combinations (i.e. Rows 1 and 2 are the same, just in reverse order): 123, 456 = 456, 123. The logic being that the same products are being sold with each other.

 

Therefore my target output looks  like this:

 

Product AProduct BCount
1234563
7895684
1247895

 

Any ideas?

 

Thanks in advance!

Scott

 

2 REPLIES 2
jasperlch
12 - Quasar

Hi, I think this will do:

 

Capture1.PNG

slinky123
7 - Meteor

Amazing! Thanks so much for the quick response! Works perfectly!

Labels
Top Solution Authors