Alteryx Designer Desktop Discussions

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

Finding Duplicates

Akash__on
8 - Asteroid

Hi,

I am trying to find out the duplicate payments which are represented as base amount. Duplicate payment is amount which is placed twice for same account, for same description with same base amount. 

Anything with is Credit and Debited is not the duplicate payment. like -450 and 450 for 109192. Whereas 232 for 34233 is duplicate payment.

 

Account no.descriptionbase amountCredit/Debittransaction date
109192Sales-450C12/05/2023
109192Sales450D13/05/2023
34233transport232C01/05/2023
34233transport232C01/05/2023
109192G&H123C12/05/2023
109192G&H232C13/05/2023
109192Sales123C01/05/2023

 

If any more info needed surely hit me back. Thanks

5 REPLIES 5
binuacs
20 - Arcturus

@Akash__on Use the summarize tool -

group by Account No, Description then take count of base amount

 

Filter where count >=2, join back with the input , join keys AccountNo , description 

ShankerV
17 - Castor

Hi @Akash__on 

 

This can be achieved with the help of Unique tool too.

 

ShankerV_0-1685701751471.png

 

ShankerV_1-1685701766902.png

 

Many thanks

Shanker V

DanielvanLeuzen
8 - Asteroid

Hi Akash_on,

I would use the unique tool. You can select in the tool which combination of columns need to have unique values. In your case I would select all columns. It has a U (unique) and D (duplicate) output

jdminton
12 - Quasar

Duplicate transactions can be a little tricky. Summarize and Unique can definitely help, but you will need a little more as well. I like to use summarize as opposed to unique when looking for duplicates so I can see the items that are matching as duplicates to see if I need to include an additional field as part of my criteria to eliminate duplicates.

 

In the attached workflow, I also sum the amount and eliminate the net zero amounts as you may have several transactions that net to zero. If your data are invoices, you would want to make sure that payments and credit memos are not part of the data when using this workflow.

 

jdminton_0-1685702568376.png

 

Akash__on
8 - Asteroid

@jdminton Thanks. This is what I was looking for. If I will have any problem ahead with this solution will ping here.

 

Best,

Aakash

Labels