Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Group By - What is best way to Concatenate strings separated by , - but UNIQUE vals?

$
0
0
All -

I use Group By and have many aggregate fields that contain "duplicate" values. Since I have multiple columns that will aggregrate arrays, I can not simply sort and do a unique steps.

Example:

hostname,column1, column2,column3
host123,"a,b,b,c,d,d,","e,e,f,f,g","x,y,y,z"
...

I would like to have the following:

hostname,column1, column2,column3
host123,"a,b,c,d,","e,f,g","x,y,z"

Thanks in advance for suggestions!

KP

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>