Alteryx Designer Desktop Discussions

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

Data Clustering

Raj
16 - Nebula

i have the data set below and i am trying to create logic that if source id is present in any destination ID above then it should be replaced as 0

4 REPLIES 4
EN6924
10 - Fireball

 Raj

 

 

EN6924
10 - Fireball

IIF([Source ID]==[Destination ID] THEN 0 ELSE [Source ID])

gawa
16 - Nebula
16 - Nebula

@Raj 

 

Join by source ID and Destination ID, and summarize J-anchor output, then you can identify the target source ID. So you can replace value with 0 for those records having target source ID with one more Join tool.

Finally you can Union it with L-anchor if needed.

 

Maybe you might have asked for something more complicated process, and I might overlooked it. Let me know if I'm in wrong way.

image.png

binuacs
21 - Polaris

@Raj similar to @gawa solution

image.png

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels