Skip to main content
Solved

Building and Exploding Lists help needed!

  • March 29, 2021
  • 4 replies
  • 89 views

johnk
Contributor
Forum|alt.badge.img+4

Hi FME team,

I want to create a list from attributes, retain the site IT and Metric - with the metric values. So effectively I will have a feature for each Site ID and Metric combination. I've tried ListBuilder and ListExploder but not working as I'd like. Attached is an example of what I have and where I need to get to. Any help would be very much appreciated! Thanks.

Best answer by ebygomm

You want to use the AttributeExploder to get your desired result

Capture

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.

4 replies

ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • Best Answer
  • March 29, 2021

You want to use the AttributeExploder to get your desired result

Capture


johnk
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • March 29, 2021

You want to use the AttributeExploder to get your desired result

Capture

Wow simple as that. Thanks @ebygomm​ for your super quick answer! 🙂


johnk
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • September 2, 2021

Hi @ebygomm​, I have another task i'm trying to and it's actually exactly the opposite of the one above which you solved. In terms of the examples above, I'm trying to take the 'desired output' format and convert it into the 'input data'. Any ideas? Thanks :)


JennaKAtSafe
Safer
Forum|alt.badge.img+8

Hi @ebygomm​, I have another task i'm trying to and it's actually exactly the opposite of the one above which you solved. In terms of the examples above, I'm trying to take the 'desired output' format and convert it into the 'input data'. Any ideas? Thanks :)

Hi @John Kreft​ , It would be helpful to start a new thread with an example of your list to get a sample workspace mocked up for you!

In the meantime I would suggest to check out this tutorial on Transposing Tables here: https://community.safe.com/s/article/transpose-a-table-using-fme. The TransposeAdvanced.fmwt might help your case.