Skip to main content
Solved

I would like to transpose the attached data structure. I have tried using the attribute transposer without luck. The attached excel has the input structure and the desired output. Many Thanks, Andrew


I would like to transpose the attached data structure. I have tried using the attribute transposer without luck. The attached excel has the input structure and the desired output. Many Thanks, Andrew

Best answer by geomancer

Create a list with ListBuilder (Group By: ID), and feed it to the custom transformer ListKeyValuePairExtractor from FME Hub. Finally expose the new attributes with the AttributeExposer. See the attached workspace (FME 2020.0)

fmetransposeNote: ListKeyValuePairExtractor uses Python under the hood.

View original
Did this help you find an answer to your question?

2 replies

geomancer
Evangelist
Forum|alt.badge.img+48
  • Evangelist
  • Best Answer
  • August 2, 2021

Create a list with ListBuilder (Group By: ID), and feed it to the custom transformer ListKeyValuePairExtractor from FME Hub. Finally expose the new attributes with the AttributeExposer. See the attached workspace (FME 2020.0)

fmetransposeNote: ListKeyValuePairExtractor uses Python under the hood.


  • Author
  • August 2, 2021
geomancer wrote:

Create a list with ListBuilder (Group By: ID), and feed it to the custom transformer ListKeyValuePairExtractor from FME Hub. Finally expose the new attributes with the AttributeExposer. See the attached workspace (FME 2020.0)

fmetransposeNote: ListKeyValuePairExtractor uses Python under the hood.

Thanks geomancer! It works like a charm.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings