Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

Alteryx Designer Desktop Discussions

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

Result of Join as 0 but need to set field value

Abhii2658
8 - Asteroid

So, I have 2 Datasets which I need to Join on the basis of 5 fields. Then I need to set the value of the Join result as "Setting" in case all 5 fields match and "No settings" in case any of the 5 fields do not match. 

I need help in figuring out how to set the value of a new field named FINAL OUTPUT - "No settings" from the result of join function wherever the join condition is false. I do not have any input to set the formula, as none of the 5 fields match and i have to set the FINAL OUTPUT as "No Settings"

 

DataSet 1         
ABCDEFGHIJ
DataSet2          
ABCDZXXZXX

 

So field 5 is not satisfying the join and based on this outcome i need to change the value for "FINAL OUTPUT" as "No settings"

I hope i am making sense here. 

2 REPLIES 2
atcodedog05
22 - Nova
22 - Nova

Hi @Abhii2658 

 

Here is how you can do it. You need to take left outer join (I am assuming left data is your main data). You can do a left outer join by using union tool among join and left unjoin like below.

 

Workflow:

atcodedog05_0-1628416516886.png

 

Hope this helps : )

 

 

Abhii2658
8 - Asteroid

Perfect 

Labels