Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

How to match multiple rows to values in columns from another file?

vmadyala
6 - Meteoroid

Hi all, i am trying to match multiple rows in Table1 to Table2 values in columns from another file. Also in the end i would like to add a column of sum of those values for that row like in Table3.

 

Table1:

ABC
ABCCDFEFG
ABDCDEEFH
ABCCDKEFH

 

Table2:

ABC1
ABD5
CDF10
CDE20
CDK5
EFG3
EFH

5

 

Table3:

ABCSum
ABCCDFEFG13
ABDCDEEFH30
ABCCDKEFH11

 

Thanks in advance!

 

5 REPLIES 5
afv2688
16 - Nebula
16 - Nebula

Hello @vmadyala ,

 

Here you have:

 

Untitled.png

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Regards

ThomasHagen
7 - Meteor

Hi!

 

Look at the attached workflow to achieve what you requested.

vmadyala
6 - Meteoroid

Perfect!....thanks for your help.

vmadyala
6 - Meteoroid

I have another question. Now, i want to add a fixed number, let's say 10, across sum_field columns and i want that fixed number input to be dynamic for example i should be able to input a different number each time i run. Could you please help?

afv2688
16 - Nebula
16 - Nebula

Hello @vmadyala,

 

yes, you can indeed. You just need to add a constant to the workflow:

 

Sin título.png

 

Sin título1.png

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Regards

Labels