Start Free Trial

Alteryx Designer Desktop Discussions

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

Join Tables with Condition when a target column is blank then Join with next available

Parthasarathi
8 - Asteroid

Hi All,

 

I am trying to Join a table instead of VLookUp, but Join resulting in duplicates including blank/null values in the Target columns.

But I want to skip the null/blank then to have only the output rows with values on the Target columns. Thanks in advance.

 

Table 1: Master Table
CompanyParent
Company1Parent1
Company2Parent2
Company3 
Company3Parent3
Company4 
Company5 
Company5 
Company5Parent5

 

Table 2: Input data
Company nameGroup
Company1G1
Company2G2
Company3G3
Company4G4
Company5G5

 

Expected Join Component Output:
Company nameGroup/Parent
Company1Parent1
Company2Parent2
Company3Parent3
Company4Company4
Company5Parent5
7 REPLIES 7
messi007
15 - Aurora
15 - Aurora

@Parthasarathi,

 

Please see below :

 

messi007_0-1664521050974.png

 

I don't understand one thing, you need to skip null/blank and in the expect result I see company 4 however it's blank in the input master table.

 

Attached the workflow,

Regards

Parthasarathi
8 - Asteroid

messi007,

 

The column4 is available only once that too blank, so using the Company name as the Group without any master table reference.

Qiu
21 - Polaris
21 - Polaris

@Parthasarathi 
What is the use for your input table 2?

messi007
15 - Aurora
15 - Aurora

@Parthasarathi,

 

Attached the updated workflow.

messi007_0-1664522024595.png

 

Parthasarathi
8 - Asteroid

messi007,

 

Thank you for your workflow. But when I have two Parent name it is giving duplicate, actually if more than one Parent then I need to pick the first available value.

 

Parthasarathi_0-1664525317386.png

 

Parthasarathi
8 - Asteroid

Qiu,

 

For the Table-2 only I need to get the matching values from the Master table.

Hamder83
11 - Bolide

Hamder83_0-1664538493518.png

 

Labels
Top Solution Authors