Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Join Issue

sriniprad08
11 - Bolide

Hi Team,

hope you are doing well. I need help.

I have two files and based on the match a new file is created with yes or No.

While doing match those are "No" should also be part of the final output.

 

Please find attached and let me know how to go about this,

 

Thanks

Sri

sriniprad08_0-1679919295101.png

 

5 REPLIES 5
ShankerV
17 - Castor

Hi @sriniprad08 

 

This can be achieved by one more union tool and formula tool.

 

ShankerV_0-1679919732651.png

 

 

Many thanks

Shanker V

KimLamNg
8 - Asteroid

You can use Join tool on multiple fields. Then use Formula tool for the L and R anchor to indicate No and Yes for the J anchor. Finally use a Union tool to bring L, R and J back all together.

sriniprad08
11 - Bolide

Hi @ShankerV ,

Thanks . this is what i did. Ideally the 172 observation from file 2 are subset of the file 1. The final out put file after union should be 7549. But its giving me 7655..

this is the issue i am facing.

sriniprad08_0-1679919833585.png

 

RobbieA
8 - Asteroid

Hi @sriniprad08, You can union your unmatched values and use a formula tool to flag them. Here is a solution using your example:

 

ShankerV
17 - Castor

Hi @sriniprad08 

 

The issue for more records are due to duplication issue.

 

Can you please use unique tool before joining one dataset 1 and dataset 2 to avoid the duplication post joining.

 

 

Many thanks

Shanker V

Labels