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
ponraj
13 - Pulsar

Sample workflow. Hope this is helpful. 

 

Capture.PNG

 

 

vizAlter
12 - Quasar

Hi @Haokun — Hope, the attached solution will help you.

 

You need to use "Sort" and "Multi-Row Formula":

vizAlter_0-1598334142119.png

 

 

 

grazitti_sapna
17 - Castor

Hi @Haokun , try this if it works for you.

grazitti_sapna_1-1598333985991.png

 

Sapna Gupta
Haokun
8 - Asteroid

Sorry, there is another set of transaction I forgot to include, are you able to help me again based on the updated transactions?

Haokun
8 - Asteroid

hi @grazitti_sapna @vizAlter @ponraj 

There is an update to the sample data, would you please take a look again? I am so sorry for the inconveniences.

grazitti_sapna
17 - Castor

Hi @Haokun, try this.

 

grazitti_sapna_0-1598340043157.png

 

Sapna Gupta
vizAlter
12 - Quasar

Hi @Haokun —  In your updated table, what is the logic behind "Journal No."?

Do you want to identify unique records based on "Account Code" + "Base Amount", or are you referring to the entire row?

 

vizAlter_1-1598342299166.png

 

And, last 5 rows showing "No offset":

vizAlter_0-1598342879897.png

 

Haokun
8 - Asteroid

@vizAlter 

you can't use this journal number unfortunately...there is no other identifier

Haokun
8 - Asteroid

@grazitti_sapna 

thank you so much!!!

but unfortunately when I am checking for the total offset and no offset amount, the total offset amount is not zero. I am checking where goes wrong. I have 80k over transactions, I am not sure if there is any rule not yet build in to cause the variance.

Labels