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.

Joining Multiple Fields into One sheet as per common criteria

Vicky92
7 - Meteor

I have to combine datasets as per common fields/criteria into the same sheet. In my example (Record ID & Record ID type )  are common fields. I have attached input & output required tab for reference.

 

Input Tab :-

 

Record ID - IRecord ID Type ISales% -ARevenue %-ARecord ID - IIRecord ID Type IISales%-BNet Income %-BRecord ID - IIIRecord ID Type IIIRevenue %-CNet Income %-C
10A18%8%10A16%8%20B28%8%
20B25%6%20B28%6%30C36%6%
30C32%7%30C34%7%40D47%7%
40D41%5%40D42%5%50E55%5%
    50E58%8%60F65%8%
    60F65%5%    
    70G72%2%    
    80H81%6%    
    90I91%7%    

 

Output Tab Required :-

 

Record IDRecord ID TypeSales% -ARevenue %-ASales%-BNet Income %-BRevenue %-CNet Income %-C
10A18%8%6%8%  
20B25%6%8%6%8%8%
30C32%7%4%7%6%6%
40D41%5%2%5%7%7%
50E5  8%8%5%5%
60F6  5%5%5%8%
70G7  2%2%  
80H8  1%6%  
90I9  1%7%  

 

 

2 REPLIES 2
tochy
8 - Asteroid

tochy_0-1602307036848.png

 

vstefano
7 - Meteor

A simple way to solve it with a formula tool... 

 

vstefano_0-1602326494126.png

 

Labels