Solved

Append many to one, no common attribute


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!

icon

Best answer by daveatsafe 10 June 2022, 19:27

View original

2 replies

Userlevel 2
Badge +17

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

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!

Reply