Alteryx Designer Desktop Discussions

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

Join tool- Duplication of data , how to avoid duplication

harithad1
7 - Meteor

 

Hi, I created a Summarize tool for creating a pivot customer wise  (Input 1) from various other inputs. Later used Join tool to get other data. But its creating multiple lines with same customer and same values and my balances are also duplicated because of that and giving a wrong output for aging. What should i do get avoid duplication. The region will be unique for the customer, however there are multiple lines in the input data. Below example is similar to my data.

 

 

Input 1 - Aging Pivot     
Customer Name0-3030-6060+  
A123  
B456  
116  
D053  
E086  
F413  
      
Input 2     
Customer numberRegionPO#Order QtyUnit PriceTotal price
100Asia1140000.3881552
300Africa2280000.6265008
500NA3316000116000
100Europe4480000.241920
200Africa5540000.4921968
300Australia6640000.4921968
400Europe775500211000
600SA886700320100
200Africa9923000.872001
300Australia1090000.998910
100Asia1456700.2381349.46
Many more lines like these     
      
Inut 3 - Customer list     
Customer numberCustomer Name    
100A    
200B    
300C    
400D    
500E    
600F    
      
Expected Result     
Customer Name0-3030-6060+RegtionTotal 
A123Asia6
B456Africa15
116Australia8
D053Europe8
E086NA14
F413SA8
1 REPLY 1
alexnajm
17 - Castor
17 - Castor

This is happening because your Input #2 is not unique based on your key (which I am assuming is Customer Number) - use a Summarize tool here and you'll reduce the risk of "duplication"

Labels