We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

duplicate values are being duplicated using Join of 2 columns

ChrisK51815
6 - Meteoroid

I am trying to join 2 columns (Previous_Value and New_Value) to be able to compare any added or removed values. Here is an example of a data set: 

Previous_ValueNew_Value
12211221
12211221
12211221
12231221
45561223
59971223
84814556
 5997
 7485

 

When I do a join from a Record ID, I get the follow output:

Previous_ValueNew_Value
12211221
12211221
12211221
12211221
12231223
12231223
45564556
59975997
Null7485
8481Null

 

But since I am trying to compare what has been removed/added between the 2 columns, I want it to display like this: 

Previous_ValueNew_Value
12211221
12211221
12211221
Null1221
12231223
Null1223
45564556
59975997
Null7485
8481Null

 

so I can filter for the "Null" values. Any ideas how to make this work?

2 REPLIES 2
apathetichell
20 - Arcturus

split data stream - new value - tile tool - unique new value.

previous value - tile tool - unique tile tool.

join -> previous value->new value and tile_seq_number to tile_sequence number

union all anchors.

 

fix your fieldtypes so they are all the same too.

 

ChrisK51815
6 - Meteoroid

Thank you. That worked.

Labels
Top Solution Authors