Hi,
I have to define the workflow for reconciliation please help me in this.
Condition: -
1. We cant use Multi-row formula.
2. First it will check for same check number in the same column (Check Number1), if it is found then it will search for same amount present in same column(Amount1) with opposite sign then it is reconciled and deleted from the data.
For e.g.
102 | A102 | -200 | ||
102 | A102 | 200 |
the above data is reconciled.
3. Then, it will check for same check number in the same column, if it is found then it will search for same amount present in another column(amount2) with same sign then it is reconciled and deleted from the data.
For e.g.
102 | A102 | -200 | ||
102 | A102 | -200 |
the above data is reconciled
Input Data: -
Check Number1 | EMPLID | Amount1 | Check Number2 | Amount2 |
101 | A101 | -100 | ||
103 | A103 | -300 | ||
102 | A102 | -200 | ||
102 | A102 | -200 | ||
101 | A101 | -100 | ||
102 | A102 | -200 | ||
102 | A102 | 200 | ||
103 | A103 | -300 | ||
103 | A103 | -300 | ||
103 | A103 | 300 | ||
103 | A103 | -300 | ||
104 | A104 | 400 | ||
104 | A104 | -400 | ||
104 | A104 | -400 | ||
105 | A105 | -500 | ||
106 | A106 | -600 | ||
106 | A106 | -600 | ||
106 | A106 | -600 | ||
107 | A107 | -700 | ||
107 | A107 | -700 | ||
107 | A107 | 700 |
Desired Output: -
Check Number1 | EMPLID | Amount1 | Check Number2 | Amount2 |
101 | A101 | -100 | ||
101 | A101 | -100 | ||
102 | A102 | -200 | ||
103 | A103 | -300 | ||
104 | A104 | -400 | ||
105 | A105 | -500 | ||
106 | A106 | -600 | ||
107 | A107 | 700 |
Solved! Go to Solution.
Thanks @atcodedog05 for your reply/
We cant use it because it is the business requirement. We cant use it anyway.
Please suggest some another workflow if possible by alteryx.
Sometimes when things are complicated with a MultiRow formula, they can be done simply with a few joins. This is good when the datasets are variable or just writing the formula would be a nightmare. I usually put a RecordId on the records before I start this stuff to make it clear what is going where. Join the data back to itself on CheckNumber and possibly EmpNo (depending on your rules) You will get a RECORD and a TEST record and I sometimes rename the records so I can tell them apart. You can then test using simple IF statements. Flag the records and use a FILTER to remove or keep what you want.
If
thnx @john_watkins for reply.
I tried this way also but i can achieve this because i am stuck with which join to use. If you can explain with some workflow it will help a lot.
thanks @Christina_H .
Yea i have missed that. Thanks for noticing it. I will check the solution now and will revert you shortly
Thanks @Christina_H it worked for me and hence marked as solution.
If in future if something went wrong then i will contact you via this post.
Thanks a lot.
I would like to thank @Christina_H for providing this excellent solution.
This workflow have a 100% accuracy.
You are genius. I have become huge fan of your Alteryx knowledge.
Thanks a lot.
Hi @Christina_H ,
I have found one bug with this workflow.
Please see the workflow attached.
if we have 4 records of Check number say 101 which has two -300 value in amount1 column and two -300 value in amount2 column.
According to the condition it should be reconciled but they are not reconciled. Please help me on this.
User | Count |
---|---|
18 | |
15 | |
13 | |
9 | |
8 |