Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Reconciling transactions (find which combination equals GL line amount)

Mwoody_05
7 - Meteor

I've attached some sample data. What I'm trying to do is figure out which combination of visa transactions make up the GL transaction amount. In the Result(Visa) tab you can see the expected output. I'm thinking I need to build some sort of macro to loop through combinations but was wondering if there's a different/easier way?


4 REPLIES 4
mceleavey
17 - Castor
17 - Castor

Hi @Mwoody_05 ,

 

Can you please provide some more information?

What is the key(s)? You have Company 1 matching to a GL transaction on 2022-10-20 for 34.82. However, that value on that date does not exist but does exist for 2022-11-07.

Can you please explain the required logic?

 

M.



Bulien

Mwoody_05
7 - Meteor

@mceleavey apologies, no real keys but company does need to match, date doesn't matter.

The Transaction amounts don't match 1:1 so I need to find the correct combination of visa transactions that equal the amount for that company on the GL. You can see in the results tab the answer (Which combination of amounts/company on visa equals the amount for the same company on the GL)

mceleavey
17 - Castor
17 - Castor

@Mwoody_05 ,

 

So you're saying there's no logic? There's no correlation other than randomly adding transactions together to try and find the combinations that add up to the amount in the GL?

 



Bulien

BenMoss
ACE Emeritus
ACE Emeritus

Hi @Mwoody_05 

 

One way this could be done is via the optimization tool. If we ignore companies for the time being, as this can be done using a batch macro, then the attached example shows how the optimization tool could be used to solve this for one GL transaction at a time. You could loop through each GL transaction again via a batch macro.

You could also do it the other way round, i.e. trying to match one VISA transaction against any number of GL transactions. 

Unfortunately many to many on either side is not something my brain wants to think about this late on a Tuesday night.

Of course the process may fail to consolidate in which case the optimization tool may throw a fatal error, again that is not something I'm considering with this single example!

Ben

Labels
Top Solution Authors