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.

Compare data in different rows if fields match in a specific column

Coakles
7 - Meteor

I'm trying to compare a specific column of data between two rows if another column matches. Would like to output as matching on both rows and not matching on both rows. Additionally, there could be rows that don't have a second row to match to. I've tried doing a join, formula, doing multi row compare, nothing seems to work for me.

 

Attaching a sample of some data and how I would like it to look. Super appreciate any and all suggestions. 

 

2 REPLIES 2
IraWatt
17 - Castor
17 - Castor

Hey @Coakles,

Here is one way to do this:

IraWatt_0-1659627704216.png

The summarize tool counts how many distinct values each removed-1 has, if its greater then 1 then the two values do not match.

 

Any questions or issues please ask

Ira Watt
Technical Consultant
Watt@Bulien.com 

 

Coakles
7 - Meteor

That will only work if there is something missing vs if it has the wrong number like in MM000001. That won't catch that.. 

Labels
Top Solution Authors