Alteryx Designer Desktop Discussions

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

Join on every row, not the first only

romanzdk
6 - Meteoroid

Hello, I have table like this

 

IDJoinKeySome other detail
2ICT3foo
3ICT3foo
4ILM1foo
5ILM2foo

 

I need to join it with this table

 

IDJoinKeyValue
1ICT320
2ILM110
3ILM230
4ICT250

 

What is the actual result I get:

 

IDJoinKeySome other detailValue
2ICT3foo20
4ILM1foo10
5ILM2foo30

 

The result I need:

 

IDJoinkeySome other detailValue
2ICT3foo20
3ICT3foo20
4ILM1foo10
5ILM2foo30

 

So basically my Join joins only first occurence of the JoinKey but not the others. I use regular Join tool with Join by Specific Fields configuration by JoinKey.

 

How can I solve this please?

6 REPLIES 6
Thableaus
17 - Castor
17 - Castor

Hi @romanzdk 

 

It seems you're using "ID" as a Key Field, and for your case, you should just use the "JoinKey" field to get the expected results.

 

Check your Key Fields in the Join tool again, that might be the problem.

 

Cheers,

romanzdk
6 - Meteoroid

I use JoinKey for the joining tool

Thableaus
17 - Castor
17 - Castor

@romanzdk 

 

If that's the case, I recommend you to check leading and trailing whitespaces in your JoinKey field.

 

The Join Tool requires an exact match - it's also Case Sensitive, so, double check that on both datasets.

 

Cheers,

romanzdk
6 - Meteoroid
Data are cleaned but it looks I have to deal with Many-To-Many relationship.
TonyA
Alteryx Alumni (Retired)

I copied your data and did the join. I got the result you said you were expecting. I'm attaching my workflow. I suggest you compare it to yours and see what's different.2019-10-16_17-22-07.png

romanzdk
6 - Meteoroid

Thank you all very much. Problem was I had in first table some keys like "ICt3" and in the second one were all "ICT3" so the case was the case.

 

Thank you all again.

Labels