Skip to main content
Solved

I have a somewhat complicated question to resolve. I have this data set to translate (attached image). How can I merge the repeating values in the first attribute in this case?

  • December 25, 2020
  • 2 replies
  • 16 views

giuseppecfgeo
Participant
Forum|alt.badge.img

I would like to merge them keeping the first value of the other attributes but, the main problem is that the values that repeat "two by two" must be merged in pairs and sometimes the pair of values repeats, so the "group by" solution is not valid, because it would group all the identical pairs into a single value. Advice? I hope I was clear.Question_FME_community

Best answer by debbiatsafe

Hi @giuseppecfgeo​ 

If the input data is always paired and already ordered, then I would recommend using the custom transformer GroupCounter (group size: 2) and then a Group By on the output _group attribute.

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

debbiatsafe
Safer
Forum|alt.badge.img+21
  • Safer
  • 648 replies
  • Best Answer
  • December 25, 2020

Hi @giuseppecfgeo​ 

If the input data is always paired and already ordered, then I would recommend using the custom transformer GroupCounter (group size: 2) and then a Group By on the output _group attribute.


giuseppecfgeo
Participant
Forum|alt.badge.img
  • Author
  • Participant
  • 22 replies
  • December 25, 2020

Oh my god, thank you so much for this answer, that's probably just what I need! Thanks so much!!!😲 💎