Start Free Trial

Alteryx Designer Desktop Discussions

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

Quantity Input from separate sheet

pbresney
7 - Meteor

I am currently attempting to automate a task for myself by Typing in the quantities for a specific product into a small easily navigated sheet, and have the correct quantities be uploaded into the correct column within the master file.

 

For Example:

I Would like to take all of the quantities with the "Reg" Rep_Type as well as the "City" Rep_Type and input them into the master file so it matches by the identifier of "Rep_Type". Within the Master File the only thing that needs to be adjusted is the Quantity.

INPUT TABLE

pbresney_1-1644359615137.png

DESIRED OUTPUT TABLE

pbresney_3-1644360564821.png

I am doing this to avoid the tedious input of the various quantities. I currently have a formula that works, however it looks messy and I would like to input into the "input table" above, rather than edit the code the make any changes to the quantities every time. Thanks for the help! I am still new to alteryx so this information is a major help for me

3 REPLIES 3
gabrielvilella
14 - Magnetar

I don't understand why you need to adjust the quantity if the numbers are matching on both tables for each combination of product name and rep type.

Qiu
21 - Polaris
21 - Polaris

@pbresney 

Where the name column comes from? 🙄

RolandSchubert
16 - Nebula
16 - Nebula

Hi @pbresney ,

 

if I got you right, you want to update column "Quantity" depending on product and rep_type. My approach would be to read both tables (master file and input table) using Input Data tools, remove duplicates from input (may be not necessary,  but just in case), join both tables based on the common fields (product and rep_type), update the quantity column with your input and write back to the master file.

2022-02-09_08-30-12.jpg

 

What do you think? Let me know if it work for you.

 

Best,

 

Roland

Labels
Top Solution Authors