Alteryx Designer Desktop Discussions

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

Joining Unmatched records in alteryx .

Alteryxexpert
7 - Meteor

I have two tables Actual & Forecast as below,

 

                                Actual                             Forecast
Item2024 20252026Item202420252026
1122454221245230210
215025648882300320340
Monitor222254987USB140280420
31002003003200400600
Keyboard444334164Web Cam130260390
Table203040Table406080

 

I need to join/union  both the tables and need a output like below, Is this doable in Alteryx, please help

 

Item202420252026202420252026
112245422245230210
21502564888300320340
3100200300200400600
Table203040406080
Monitor222254987000
Keyboard444334164000
USB000140280420
Web Cam000130260390
9 REPLIES 9
Qiu
20 - Arcturus
20 - Arcturus

@Alteryxexpert 
For start, Alteryx does not allow same column name😁

ShankerV
17 - Castor

Hi @Alteryxexpert 

 

One way of doing this..

 

Screenshot 2024-04-23 131017.png

Many thanks

Shanker V

ShankerV
17 - Castor

Hi @Alteryxexpert 

 

Step 1:

 

1.png

 

 

Step 2:

 

2.png

 

 

Step 3: 

3.png

 

 

Step 4:

4.png

 

Many thanks

Shanker V

ShankerV
17 - Castor

Hi @Alteryxexpert 

 

Step 5:

 

5.png

 

Step 6:

 

6.png

 

 

Step 7:

7.png

 

 

Step 8:

8.png

 

 

Step 9:

 

9.png

 

 

Step 10:

10.png

Many thanks

Shanker V

flying008
14 - Magnetar

Hi, @Alteryxexpert 

 

FYI.

 

录制_2024_04_23_15_51_06_331.gif

 

Actual    Forecast   
Item202420252026 Item202420252026
112245422 1245230210
21502564888 2300320340
Monitor222254987 USB140280420
3100200300 3200400600
Keyboard444334164 Web Cam130260390
Table203040 Table406080
         
         
Output        
Item2024_AC2025_AC2026_AC2024_FC2025_FC2026_FC  
112245422245230210  
21502564888300320340  
3100200300200400600  
Keyboard444334164000  
Monitor222254987000  
Table203040406080  
USB000140280420  
Web Cam000130260390  
Alteryxexpert
7 - Meteor

Can you attach the workflow please

flying008
14 - Magnetar

Hi, @Alteryxexpert 

 

IIF(IsEmpty([_CurrentField_]), 0, [_CurrentField_])

 

录制_2024_04_23_16_20_30_798.gif

Alteryxexpert
7 - Meteor

Thanks you, Is there a way to compute difference between AC and FC Columns, A Variance Computation, 2024 AC-2024FC  & so on?

flying008
14 - Magnetar
of course,  like this ? maybe you can transpose it .
 
Item2024_AC2025_AC2026_AC2024_FC2025_FC2026_FC2024_AC-FC_DF2025_AC-FC_DF2026_AC-FC_DF
112245422245230210-123224-188
21502564888300320340-1502244548
3100200300200400600-100-200-300
Keyboard444334164000444334164
Monitor222254987000222254987
Table203040406080-20-30-40
USB000140280420-140-280-420
Web Cam000130260390-130-260-390
 
 
Labels