Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Help with duplicite information

jpolomsky
7 - Meteor

Hi all,

 

can you please help me with following,

 

I have a table , see below, that shows on numerous occasions essentially the same data in the row, only differences are in collumns FSLI 1 and FSLI2 as you can see. The issue here is that I cannot simply filter out the correct/incorrect entry as it depends on the number and the name of the FSLI can vary a lot, instead I want to "filter" duplicite values according to the LPYA#, Account, NET, and then use a filter on the sample.

 

Essentially, I am trying to get rows 2 and 3 separatelly from the entiry table, filter out the correct one of the 2, and rejoin it with the"correct" data.

 

jpolomsky_0-1633422103676.png

 

2 REPLIES 2
Christina_H
14 - Magnetar

Sample data would help, but I would use a summarise tool to find duplicate rows (group by the relevant fields and add a count), join that back to the original data then filter where count > 1.  This gets you your set of duplicate rows that you can work on to find the ones you want.

DawnDuong
13 - Pulsar
13 - Pulsar

hi @jpolomsky 

Some sample data for inputs and expected outputs would help.

Based on the general descriptions here, I would start with getting a Unique Tool to get all the possible unique combinations that are inside the data base. In this case, you can select the column for LPYA#, Account, NET then the output D contains all the "non-unique combinations".

With this "non-unique keys", you can use Join tool to the original data to filter out all the rows that have duplicate values to support further processing downstream to eliminate the error / pick the correct values based on the dequired rules.

Dawn.

Labels
Top Solution Authors