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

Trouble finding non-matching values in tow tables.

Aviator0807
8 - Asteroid

So I have two tables and want to return the rows where the tables dont match. But because of how the join tool works it adds more rows and thus gives me false negatives. 

Table A

IDWarranty Coverage
AFull
BPart 1
BPart 2
CNone

Table B

IDWarranty Coverage
AFull
BPart 7
BPart 1
CNone

 

After Alteryx Join Tool and a formula tool to see if they match 

IDWarranty Coverage Table AWarranty Coverage Table BMatch
AFullFullTrue
BPart 1Part 7False
BPart 1Part 1True
BPart 2Part 7False
BPart 2Part 1False
CNoneNoneTrue

 

As seen here ID 'B' really only had one mismatch(false) ; Part 2 =/= Part 7. Yet because of how join works it actually comes back as 3 False. Is there a way to compare these so that it only gives me the true mismatched ones(i.e avoid join creating repeated ID ) 

 

Thanks 

2 REPLIES 2
Luke_C
17 - Castor
17 - Castor

Hi @Aviator0807 

 

Try joining on both the ID and Warranty Coverage. This will stop this from happening. From there, you can assume:

 

  1. J output anchor matches
  2. L and R output anchors do not match. 

You can add the match field using the formula tool, then union everything back into one table if you'd like.

Tyro_abc
11 - Bolide

@Aviator0807  - please check if the attached workflow works for you..

 

Tyro_abc_0-1631061454213.png

 

 

Regards

Arundhuti

Labels
Top Solution Authors