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.
SOLVED

Comparing 2 columns from 1 Table

kushalb
7 - Meteor

Hi everyone,

 

I have a Table with 2 id's with other relevant data columns

 

A-MakerID will be always populated and it has a duplication issue, so I wants to remove records which has any values in AA-MakerID column for A-MakerID

 

so Take an example because A-MakerID - '1075220' has a multiple values in AA-MakerID so remove all '1075220' id from the data table & same should be for A-MakerID - '1073310'

but as A-MakerID - '1075199 & 1075459' doesn't have any values in AA-MakerID so this remain as this result we wants at the end

 

 

A-MakerIDAA-MakerID
1073310 
10733101073310
1075199 
1075459 
1075220 
10752201075199
10752201115708
10752201458652
10752202653693

 

Kindly help on this & Thank you in advance

4 REPLIES 4
Nick-C
Alteryx
Alteryx

Hey @kushalb  - I think a filter would work here to look at !IsNull([AA-MakerID]) ?

kushalb
7 - Meteor

filter won't work here as there are duplicate values and need to consider that for ex. if A-MakerID - '1073310' has 10 rows and any value contain in AA-MakerID column for that id then all 10 rows needs to be removed from the population

Emmanuel_G
13 - Pulsar

@kushalb 

 

Find attached the way of doing this.

 

Let me know if there is any issue. 🙂

 

Please do not hesitate to mark this answer as solution if it helped.

 

Emmanuel_G_0-1663765412828.png

 

 

 

Nick-C
Alteryx
Alteryx

Hey @kushalb  - I think you can do this nicely with a join 

 

Let me know if this works (if it does please do mark it as a solution!) :)

Labels
Top Solution Authors