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

Join and Sum

RT4
7 - Meteor

Hello! 

 

Have two tables to join and sum based on multiple columns:

 

The first table is:

RT4_0-1606472737537.png

 

The second one is:

RT4_2-1606472872275.png

 

How to get the results as following?

 

RT4_3-1606472932537.png

 

Thanks in advance!

 

 

 

 

 

10 REPLIES 10
PhilipMannering
16 - Nebula
16 - Nebula

So the process for this would be to pivot table 1 (Transpose Tool) then join the two tables (Join Tool) and add up the amounts per D-code (Summarize Tool). If you wanted to share the data, I'm sure someone can mock up a solution for you.

 

Thx

Phil

RT4
7 - Meteor

Hi Phil,

 

thanks for your fast response.

 

Not really sure how to join correctly after the transpose.

 

attached the inputs.

 

Thanks!

atcodedog05
22 - Nova
22 - Nova

Hi @RT4 

 

Can you explain the logic of the process.

RT4
7 - Meteor

Hi

 

Sure, updated the sample file.

 

I think now it's more clear.

 

There are two inputs with new codes, which are combining a few old ones.

 

And the second table has the sums per old code.

 

The result should be as an output in the sample.

 

Hope now it's more clear=)

atcodedog05
22 - Nova
22 - Nova

Hi @RT4 

 

Replace old codes with new codes and add up is right?

 

I am on it.

PhilipMannering
16 - Nebula
16 - Nebula

Perhaps something like this?

PhilipMannering_0-1606476213379.png

 

Thx

Phil

atcodedog05
22 - Nova
22 - Nova

Hi @RT4 

 

Here is a workflow for the task.

Output:

atcodedog05_0-1606476705466.png

Workflow:

atcodedog05_1-1606476732127.png

 

Hope this helps 🙂 Feel to ask if you have any questions


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

RT4
7 - Meteor

Thanks a lot! Looks great😊

RT4
7 - Meteor

Thanks for the fast help!🙂

Labels