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

Alteryx Designer Desktop Discussions

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

Multi Condition Matching Statements

mustufa2019
8 - Asteroid

I am trying to create a multi factor match on the below fields. I want to create a flag/report showing if all the following fields match Invoice, Invoice Date, Supplier, but Pay Amt is different. if these fields match and "Pay Amt" field is different, I would like to see them in a separate report. Below is a sample data table I created for reference. The rows in bold below have the above condition as reference.

 

Any help would be highly appreciated!

VoucherInvoiceInvoice DateSupplierDue DateEnteredPay AmtUserLocation
23434231-a10/5/20186567/1/20195/1/20185,000.00JkhanNYC
98715431-15/2/20195456/3/20196/1/20183,000.00MaliLA
32114231-a10/5/201865612/2/20187/2/20194,000.00SsmithSF
47215671-011/2/20197276/1/20195/1/20183,000.00JsmithLA
23114321-b4/2/20194315/4/20186/2/20171,000.00DhudsonOH
75635671-05/6/20187275/2/20194/12/20192,000.00MrichardsonFL

 

 

 

 
5 REPLIES 5
AndrewS
11 - Bolide

hi @mustufa2019, I would approach this by splitting into two flows and then comparing or a count distinct and join. Both options are attached.

 

MultiCondition.PNG

MultiCondition2.PNG

fmvizcaino
17 - Castor
17 - Castor

Hi @mustufa2019 ,

 

Pretty much the same idea as previous post.

First, we need to check if there are any duplicates with identical pay amt and after that we do our process of identification of duplicates with different pay amt.

 

Best,

Fernando Vizcaino

mustufa2019
8 - Asteroid

@fmvizcaino thanks for sharing this. One question, why do we need to have step 2 and 3 before we ran the additional condition of duplicates with different supplier (see screenshot 1)? Is there a way I can have this condition in a separate workflow?

 

I have multiple conditions I am trying to create, see screenshot 2. I used your workflow as a guide but wanted to see what the purpose of the first two steps are and if I can have separate workflows with my different conditions.  

 

 

Screenshot 1:

screenshot1.PNG

 

 

Screenshot 2

 

 

 

fmvizcaino
17 - Castor
17 - Castor

Hi @mustufa2019 ,

 

It seems your screenshot 2 didn't get uploaded.

The first unique tool is used to make sure that when I use the second one, all the pay amt are going to be different.

 

LEt me know if you need further help.

Best,

Fernando Vizcaino

mustufa2019
8 - Asteroid

@fmvizcaino Makes sense. i think this should do it. thank you for the help! The second screenshot can be seen below:

screenshot2.PNG

Labels