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.

How to not lose a new value when joining two spreadsheets

Yp23
7 - Meteor

Hi,

 

I have a very basic question, I have a list of data each month and I want to look at the permanent file to see if each vendor should be audited or not. I also want the final output to flag if a vendor is new and not in the permanent file. I know how to join the data but lose the Simba line when joining the data (and not sure how to flag it is new).

 

I've attached the excel workbook for reference.

 

The new data each month

Yp23_0-1683216729009.png

 

 

Perm File

Yp23_1-1683216750252.png

 

Final output

 

Yp23_0-1683217076442.png

 

 

2 REPLIES 2
DataNath
17 - Castor
17 - Castor

Hey @Yp23, what you need to do here is recreate a left or right join, depending on which Join input you're plugging each file into. By default, Alteryx will conduct an inner join and we therefore need to use the Union tool to recreate this functionality. This will pull through your [To Audit] field as null for the missing 'Simba' record, so we just add a Formula tool expression that will label this as 'New Customer' instead:

 

DataNath_0-1683217752106.png

messi007
15 - Aurora
15 - Aurora

@Yp23,

 

Please see below :

 

messi007_0-1683217802779.png

 

Attached the workflow,

Regards,

 

Labels