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

Reconcilation Logic

vijaylnyadav
8 - Asteroid

Hi, Please help me to build the logic as I am unable to find the logic.

 

Input Data: - 

Check NumberEMPLIDCheck DateAmount
1010000083383901-08-2017-201.02
1030000085823501-11-2017372.36
1020000085626601-08-2017-1,064.40
1030000085823501-11-2017-372.36
1050000086587701-08-2017-392.32
1040000086587601-01-2018420.12
1020000083535801-08-2017-1,064.40
1040000086587601-01-2018-420.12
1050000086587701-08-2017392.32
1010000083383901-08-2017201.02
1030000085823501-11-2017-372.36
1040000086587601-01-2018-420.12

 

Condition: - 

If same check number have same amount with different sign then it is reconciled and it is deleted from data. It should be 1 to 1 matching.

 

here I cant use multirow tool to achieve this.

Is there any other way to achieve.

 

 

Desired Output: - 

Check NumberEMPLIDCheck DateAmount
1020000085626601-08-2017-1,064.40
1020000083535801-08-2017-1,064.40
1030000085823501-08-2017-372.36
1040000086587601-01-2018-420.12
5 REPLIES 5
Jean-Balteryx
16 - Nebula
16 - Nebula

Hi @vijaylnyadav ,

 

Here is a workflow doing what you need.

 

Basically it creates a column with absolute amount to sort the data then using a Multi-Row Formula tool it adds a fiel telling ifthe row needs to be removed based on whether the row before or after is the negative of it.

vijaylnyadav
8 - Asteroid

Hi @Jean-Balteryx  thanx for your feedback.

 

Here, I cant use multi-row formula due to some business requirements.

 

Do we have alternate solution for this to achieve?

Jean-Balteryx
16 - Nebula
16 - Nebula

I can't think of one right now, I'll see if i can find one. Maybe @atcodedog05 can help you with this !

HomesickSurfer
12 - Quasar

hi @vijaylnyadav 

 

This works.  'Like' and 'Accept as Solution' if you agree.

 

Capture.PNG

atcodedog05
22 - Nova
22 - Nova

Nicely done @HomesickSurfer 🙂 Maybe we were just over complicating stuff 😅

 

I thought of summarize but left out to groupby date.

Labels
Top Solution Authors