I have a set of products with different data fields, one of which is product group. I want to create csv files for each product group, grouped by a diameter field, where similar text in merged fields are not duplicated, but where different values in fields are concatenated with a token.
For instance:
- Name, Group, Coating, Diameter, Length
- Product A, Rebar, None, M20, 5000
- Product B, Rebar, PC-Coat, M20, 5000
- Product C, Rebar, PC-Coat, M20, 6000
- Product D, Rebar, PC-Coat, M22, 5000
- Product E, Rebar, PC-Coat, M22, 6000
- Product F, Rebar, PC-Coat, M22, 7000
Given a concatenate token of " / ", from this I would expect a result like:
- Name, Coating, Diameter, Length
- Product A / Product B / Product C, None / PC-Coat, M20, 5000 / 6000
- Product D / Product E / Product F, PC-Coat, M22, 5000 / 6000 / 7000
How can I go about making this happen in EDT?