Alteryx Designer Desktop Discussions

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

Reconciliation - Unique Identification for each Match in the output

Manohar053299
6 - Meteoroid

I have 2 sets of data, name and amount. I have do the reconciliation by keep them as separate outputs.  We need a status column as Matched or Not Matched and an Unique Identification for each Match in the output.  How do we do this in macros?

 

Input 1:-

NameAmount
A10
A10
B10
C30
D40
E50

 

Input 2:-

NameAmount
A20
C30
D40
D60
E50

 

Output 1:-

NameAmountResultMatching Code
A10Match1
A10Match1
B10Not Matched
C30Match2
D40Not Matched
E50Match3

 

Output 2:-

NameAmountResultMatching Code
A20Match1
C30Match2
D40Not Matched
D60Not Matched
E50Match3
3 REPLIES 3
AngelosPachis
16 - Nebula

Hi @Manohar053299 ,

 

I've mocked up a workflow for you that I think does what you are looking for. However I don't see why "D" from Input 1 would not match "D" from Input 2 in your example. Can you clarify why this might be?

 

Output 1

result1.jpg

 

Output 2

 

result2.jpg

Manohar053299
6 - Meteoroid

D cannot be matched as total amount in input 1 is for D 40 vs input 2 is 100. However even if we do a line by line match we should still get D 60 in input 2 as not matched.

 

 

AngelosPachis
16 - Nebula

Oh I see. Thanks for the extra info @Manohar053299 , I have amended the workflow to compare the total amounts in inputs 1 and 2 and I have converted it into a macro since you were interested in one. 

 

Screenshot 2020-10-28 144825.jpg

 

Hope that helps 🙂

 

Regards,

 

Angelos

Labels