Skip to main content
Question

combine values from multiple records based on number

  • June 10, 2020
  • 5 replies
  • 14 views

curtisd54
Contributor
Forum|alt.badge.img+5

I have used String Searcher to find data with the name BORDER

However,

I am struggling finding the right transformer which will combine the two records into 1 :

 

this is based on number.

ie - combine

40_BORDER_QB

40_QD_BORDER

then rename the record afterwards

to : ie - 40_QD_QB

this will also have to be done for 65_GF_CR and 67_GF_CR

 

 

 

then merging with Provider data.

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.

5 replies

takashi
Celebrity
  • 7843 replies
  • June 10, 2020

Try using the Aggregator, setting an attribute storing the number to the Group By parameter.


curtisd54
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • 28 replies
  • June 10, 2020

thank you Takashi!

how do i store the number to the Group By? It only lets me add in my field name


curtisd54
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • 28 replies
  • June 10, 2020

Try using the Aggregator, setting an attribute storing the number to the Group By parameter.

@takashi let me know if you can explain more, see my post above. thanks!


takashi
Celebrity
  • 7843 replies
  • June 10, 2020

thank you Takashi!

how do i store the number to the Group By? It only lets me add in my field name

If every StationSeriesName always begins with its number (some consecutive digits), you can extract the number with a StringSearcher and store it into a new attribute (e.g. called "_number"), as in:


curtisd54
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • 28 replies
  • June 10, 2020

If every StationSeriesName always begins with its number (some consecutive digits), you can extract the number with a StringSearcher and store it into a new attribute (e.g. called "_number"), as in:

it is taking all the records though, I want only the 6 records which are then merged to 3 records

40_QD_QB , 65_GF_CR and 67_GF_CR