Skip to main content
New Idea

String aggregation Function - List to Array

  • August 14, 2024
  • 0 replies
  • 31 views

john.cowles
Forum|alt.badge.img+3

On multiple occasions, we have had a need to aggregate rows of data in a data designer or a rule where we wanted to flatten some string data during the aggregation into a single string array.  For example:

 

Starting Data:

ID

Company

Order Type

ARR

1

Acme

Software

100

2

Acme

Software

200

3

Acme

Support

50



When aggregating data in a transformation group by, it would be nice if you could designate a string field to be Flatten or something like below.  Even better would be to have the option to Flatten Distinct also.  This way the example below would be “Software, Support”. 

 

ID

Company

Order Type

ARR

1

Acme

Software, Software, Support

450