Alteryx Designer Desktop Discussions

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

Creating a Pivot and bringing multiple columns and doing vlookup

sriniprad08
11 - Bolide

Hi Team,

 

Two things i would like my workflow to do.

 

1) Create a pivot on the File A with below format output.

2) Vlookup on the file A with file B with the common key as ID.

3) Final output where ids are matching in A and B.

 

I have created a pivot but i am not sure how to bring "Vendor name" into the final output.

sriniprad08_0-1603962319428.pngsriniprad08_1-1603962514060.png

 

15 REPLIES 15
Emil_Kos
17 - Castor
17 - Castor

Hi @sriniprad08,

 

If you are asking about output B I believe you need to use join tool and join the data on the ID column 

Emil_Kos
17 - Castor
17 - Castor

Hi @sriniprad08,

 

I have prepared a mock-up for you.

 

Emil_Kos_0-1603962990809.png

and the output:

Emil_Kos_1-1603963008763.png

 

Please mark as an answer it is something helpful

sriniprad08
11 - Bolide

hi @Emil_Kos ,

 

Thank you. How can i solve Output A. Where I need to bring Vendor name as well?

 

Cheers,

Sriniv

 

 

atcodedog05
22 - Nova
22 - Nova

Hi @sriniprad08 

 

Sorry my bad to get vendor name also.

 

Just select column in join tool.

 

But it looks more like a grouby ID & name and sum of cost. Numbers match.

Emil_Kos
17 - Castor
17 - Castor

Hi @sriniprad08,

 

Please let me know if this the desired output:

 

Emil_Kos_0-1603963303306.png

 

Emil_Kos
17 - Castor
17 - Castor

Hi @sriniprad08


Thank you for marking my post as an answer.

 

Highly appreciate!

atcodedog05
22 - Nova
22 - Nova

Hi @sriniprad08 

 

I would suggest using find and replace instead of join for vlookup.

 

Join will create 1-many match there by creating multiple rows

 

Here is the workflow

Output A:

atcodedog05_0-1603963674669.png

Output B: Find and replace

atcodedog05_2-1603963904863.png

Join: creates more rows.

atcodedog05_3-1603963951736.png

Workflow:

atcodedog05_4-1603963978099.png

 

Hope this helps 🙂


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

 

sriniprad08
11 - Bolide

Thank you @Emil_Kos . Really helpful

 

sriniprad08
11 - Bolide

Thank you @atcodedog05  Perfect 👌

Labels