We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Joing 2 Tables - With 3 variable conditions(Including one "Contains" condition)

lstalin
5 - Atom

Hi All,

 

I am loking for a solution toconbine 2 table. I have to consider 3 fields in joining condition. The below fields from tables 1 & 2 should match as the Company name and Entity is same and the description contains the key word Innvation.

 

Table-1   Table-2  
CompanyEntityKey Word CompanyEntityDescription
ABC LtdMini MartInnovation ABC LtdMini MartMini mart promote Innovation

 

I tried Join tool and Find&Replace tool as well but couldn't acheive this.

 

 

3 REPLIES 3
Qiu
21 - Polaris
21 - Polaris

@lstalin 
Maybe we can join the 2 tables with Company name and Entity fields first then use a filter tool with Contains Function to further filter the result?

If you can provide a larger dataset, we can prepare a quick sample maybe.

lstalin
5 - Atom

Please find the below table. Trying to add category from table-1 to table-2

 

Table-1    Table-2   
CompanyEntityKey WordCategory CompanyEntityDescriptionCategory
ABC LtdMini MartInnovationLaxuary ABC LtdMini MartMini mart promote InnovationLaxuary
ABC LtdMini MartTimekeeperEconomical ABC LtdMini MartNew Product DevelopmentEconomical
ABC LtdMini MartNew ProductEconomical ABC LtdSuper MartSuper Mario GameCheap
ABC LtdMini MartCheap ProductCheap     
ABC LtdSuper MartToymanCheap     
ABC LtdSuper MartSuper MarioCheap     
ABC LtdSuper MartSuper ManLaxuary     
ABC LtdSuper MartInnovationEconomical     
ABC LtdSuper MartNew ProductLaxuary     
Qiu
21 - Polaris
21 - Polaris

@lstalin 
Just quick sample and have not consider the exception processing given the data volume.

1109-lstalin.PNG

Labels
Top Solution Authors