In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Flag a field in input 1 if it exists in another field of input 2

Newbie_1
7 - Meteor

Hi!

I need  have 2 input files. I would want to flag in input file 1 if i find the time in input 1 in input 2 . Please help!Capture.PNG

 

1 REPLY 1
cmcclellan
14 - Magnetar

This should work:

 

2018-06-14 14_02_10-Alteryx Designer x64 - New Workflow3_.png

Basically ... 

 

- create Input 1

- create Input 2

- join the inputs together based on the timestamp column

- those records that come out the L output should be assigned Flag = 0

- those records that come out the J output should be assigned Flag = 1

- union the 2 streams together.

 

 

It won't be in the order you reported, but if you want that then simply sort based on timestamp

Labels
Top Solution Authors