Skip to main content
Solved

Append many to one, no common attribute

  • June 10, 2022
  • 2 replies
  • 19 views

Hello, I am looking for the equivalent to the "Append Fields" tool in Alteryx, where many rows from one table are replicated for each row of another table. For example:

Table 1:

Table 1Table 2:

Table 2Target Table:

Target TableI've searched and experimented, but can't seem to sort it out in FME. Any advice?

 

Thanks!

Best answer by daveatsafe

Hi @netsunnix​,

You can use a FeatureJoiner with the Join Mode set to Full to get the results you want. You will need a common attribute value on all the features to join on, but this is easily created with an AttributeCreator. In this case, I created the attribute _join and set the value to 1.

Screen Shot 2022-06-10 at 10.24.57 AMThe results:

Screen Shot 2022-06-10 at 10.25.34 AM

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • 1637 replies
  • Best Answer
  • June 10, 2022

Hi @netsunnix​,

You can use a FeatureJoiner with the Join Mode set to Full to get the results you want. You will need a common attribute value on all the features to join on, but this is easily created with an AttributeCreator. In this case, I created the attribute _join and set the value to 1.

Screen Shot 2022-06-10 at 10.24.57 AMThe results:

Screen Shot 2022-06-10 at 10.25.34 AM


  • Author
  • 1 reply
  • June 10, 2022

Hi @netsunnix​,

You can use a FeatureJoiner with the Join Mode set to Full to get the results you want. You will need a common attribute value on all the features to join on, but this is easily created with an AttributeCreator. In this case, I created the attribute _join and set the value to 1.

Screen Shot 2022-06-10 at 10.24.57 AMThe results:

Screen Shot 2022-06-10 at 10.25.34 AM

Fantastic, that worked! Thanks so much!