Alteryx Designer Desktop Discussions

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

Identify Duplicate Values for offseting (26082020updated)

Haokun
8 - Asteroid

Hi Everyone,

 

May I know how to identify the duplicate records having positive and negative values netting with Zero value? please see the below transactions, what I know if only the account code and name will be the same for those offseting transactions. Hope can have some simple workflow (no Macro would be the best)

 

Current

Account CodeNameDescriptionBase AmountTransaction Reference
6417210600Other Staff BenefitsEAP   11 10 2018 to 10 04-9,190.770001127528ARV
6417210600Other Staff BenefitsEAP   11 10 2018 to 10 049,190.770001127528A
6417210600Other Staff BenefitsEAP   11 10 2018 to 10 049,196.190001127528AA
6436116010GST on claimable expensesEAP   11 10 2018 to 10 04-451.920001127528ARV
6436116010GST on claimable expensesEAP   11 10 2018 to 10 04451.920001127528A
6436116010GST on claimable expensesEAP   11 10 2018 to 10 04624.620001127528AA
6321220100SRE-IT Software MaintenanceAug19:Accrual425,223.92ACC0819-TEC
6321220100SRE-IT Software MaintenanceAug19:Accrual-425,223.92RevACC0819-TEC
6321220100SRE-IT Software MaintenanceJul19:Accrual61,750.00ACC0719-FIN
6321220100SRE-IT Software MaintenanceJul19:Accrual55,207.24ACC0719-TEC
6321220100SRE-IT Software MaintenanceJul19:Accrual-61,750.00RevACC0719-FIN
6321220100SRE-IT Software MaintenanceJul19:Accrual-55,207.24RevACC0719-TEC
6321220100SRE-IT Software MaintenanceJun19:Accrual74,017.24ACC0619-TEC
6321220100SRE-IT Software MaintenanceJun19:Accrual-74,017.24RevACC0619-TEC
6321220100SRE-IT Software MaintenanceJun19:Accrual74,017.24RevACC0619-TEC
6321220100SRE-IT Software MaintenanceJun19:Accrual-74,017.24RevACC0619-TEC
6321120000Software AmortizationDEPRECIATION237.77DPRCN
6321120000Software AmortizationDEPRECIATION237.77DPRCN
6321120000Software AmortizationDEPRECIATION237.77DPRCN
6321120000Software AmortizationDEPRECIATION237.78DPRCN
6321120000Software AmortizationDEPRECIATION237.78DPRCN
6409101000DonationDonation1,200.00INV00101
6409101000DonationDonation-1,200.00REVINV00101
6409101000DonationDonation1,200.00INV00101
6409101000DonationDonation-1,200.00REVINV00101

 

Future

Account CodeNameDescriptionBase AmountTransaction ReferenceOffset
6417210600Other Staff BenefitsEAP   11 10 2018 to 10 04-9,190.770001127528ARVOffset
6417210600Other Staff BenefitsEAP   11 10 2018 to 10 049,190.770001127528AOffset
6417210600Other Staff BenefitsEAP   11 10 2018 to 10 049,196.190001127528AANo offset
6436116010GST on claimable expensesEAP   11 10 2018 to 10 04-451.920001127528ARVOffset
6436116010GST on claimable expensesEAP   11 10 2018 to 10 04451.920001127528AOffset
6436116010GST on claimable expensesEAP   11 10 2018 to 10 04624.620001127528AANo offset
6321220100SRE-IT Software MaintenanceAug19:Accrual425,223.92ACC0819-TECOffset
6321220100SRE-IT Software MaintenanceAug19:Accrual-425,223.92RevACC0819-TECOffset
6321220100SRE-IT Software MaintenanceJul19:Accrual61,750.00ACC0719-FINOffset
6321220100SRE-IT Software MaintenanceJul19:Accrual55,207.24ACC0719-TECOffset
6321220100SRE-IT Software MaintenanceJul19:Accrual-61,750.00RevACC0719-FINOffset
6321220100SRE-IT Software MaintenanceJul19:Accrual-55,207.24RevACC0719-TECOffset
6321220100SRE-IT Software MaintenanceJun19:Accrual74,017.24ACC0619-TECOffset
6321220100SRE-IT Software MaintenanceJun19:Accrual-74,017.24RevACC0619-TECOffset
6321220100SRE-IT Software MaintenanceJun19:Accrual74,017.24RevACC0619-TECOffset
6321220100SRE-IT Software MaintenanceJun19:Accrual-74,017.24RevACC0619-TECOffset
6321120000Software AmortizationDEPRECIATION237.77DPRCNNo offset
6321120000Software AmortizationDEPRECIATION237.77DPRCNNo offset
6321120000Software AmortizationDEPRECIATION237.77DPRCNNo offset
6321120000Software AmortizationDEPRECIATION237.78DPRCNNo offset
6321120000Software AmortizationDEPRECIATION237.78DPRCNNo offset
6409101000DonationDonation1,200.00INV00101Offset
6409101000DonationDonation-1,200.00REVINV00101Offset
6409101000DonationDonation1,200.00INV00101Offset
6409101000DonationDonation-1,200.00REVINV00101Offset
15 REPLIES 15
vizAlter
12 - Quasar

Hi @Haokun — Try the attached solution.

 

vizAlter_0-1598375986834.png

vizAlter_0-1598376769329.png

 

(FYI, as per your data, "Base Amount" for (+)/(-) 74017.24 found two times, hence I simply repeated the main block of the workflow (as you did want to go with Macro). Check the workflow to know more.)

Haokun
8 - Asteroid

@grazitti_sapna @vizAlter 

hi, you might want to look at the data again if you can help me. I add one more scenario into the data set. Sorry about it..

Haokun
8 - Asteroid

@vizAlter 

Hi, surprisingly your method works!!!! even with so many transaction in my production data.

I need to learn your methodology.

Haokun
8 - Asteroid

@vizAlter 

Hi, I just checked my data and I found that there will be instance that there are more than 2 sets of offsetting. Do I need to repeat workflow 4 times to identify the offsetting transactions? For example,

 

Account CodeAccount NameAmount
6000000000Marketing100
6000000000Marketing100
6000000000Marketing100
6000000000Marketing100
6000000000Marketing-100
6000000000Marketing-100
6000000000Marketing-100
6000000000Marketing-100

 

Haokun
8 - Asteroid

@vizAlter 

I think for the subsequent re-check we can use Macro, do you know how to do that?

vizAlter
12 - Quasar

Hi @Haokun —  Thank you! Happy to know that!

 

Yes, add (and extend) like I have shown in the given workflow, or

Run the workflow multiple times (only on the target records, not all rows every time) until you get the final outcome.

 

Building a Macro would be a bit more tricky on this.

 

Labels