Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

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
13 - Pulsar

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