Advent of Code is now back for a limited time only! Complete as many challenges as you can to earn those badges you may have missed in December. Learn more about how to participate here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Join Function Help

EmilAlteryx01
8 - Asteroid

I want to perform an Inventory Check using the Join Tool, but my data doesn't match exactly - it is contained within the column. The output should indicate whether I have sufficient inventory, eliminating the need to place an order with the head office.

 

Daily Input Check -  

Inventory Check DateInventory CountBrandAccount CodeAreaCode
05-May-2519Nike7520811181730A108
05-May-251230Nike7520811176425N101
05-May-25202Puma6563221170480Z301

 

Step1 - Area Code Check - I manually do a AreaCode check in excel - with the below AreaCode_intrl_Number - In Excel contains 81730A108 for e.g.,

Step 2 - Account Code - 75208111 should be equal to the Account below with -2 only ; so 752-08111-2 (All accounts with -2 are the only ones required

Step 3 - Qty Check - Inventory Count should be equal to the below QtyPlusCheck exactly (ONLY once Step 1 and 2 are satisfied)

Step 4 - Output - 2 Tabs - Output_Inventory Sufficient - If Step 1,2 and 3 are satisfied ; Output_Inventory Need to Order - if Step 1,2 and 3 are not satisfied

 


Inventory List - 

AccountAreaCode_intrl_NumberStoreLocationQtyPlusCheck
752-08111-181730A108000INZ5587
752-08368-581730A108000INZ50
798-00081-081730A108000INZ50
798-00081-181730A108000INZ60
798-00081-281730A108000INZ55
798-00081-581730A108000INZ22
798-00081-581730A108000INZ30
798-00081-095830A108000INZ140
752-08368-576425N101000INZ130
752-08368-281730A108000INZ30
752-08368-272130A108000INZ10
753-08368-270480Z301000INZ5
753-08568-270480Z301000INZ220
752-08111-281730A108000INZ19
752-08111-281731A108000INZ19
752-08111-276425N101000INZ1230
752-08111-281730A108000INZ550
752-08111-272130A108000INZ33
656-32211-270480Z301000INZ200
752-08111-281730A108000INZ25
752-08121-570480Z301000INZ80
752-08121-370480Z301000INZ100
656-32211-280580Z301000INZ112
656-32211-180580Z301000INZ12
686-32211-180580Z301000INZ44
656-32211-270480Z301000INZ10
656-32221-270480Z301000INZ10
897-32221-270480Z301000INZ10
897-32221-170480Z301000INZ10
897-32221-070480Z301000INZ5

 

1 REPLY 1
Qiu
21 - Polaris
21 - Polaris

@EmilAlteryx01 
Since the formatting is different in 2 lists for Account Code AreaCode so I have to assume that they can be unified somehow.
And I use the "Block Unti Done" tool to output the 2 sheets you need.

0512-EmilAlteryx01.png

Labels
Top Solution Authors