Jump to content
The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now! See more information here ×

Concatenation a column of multiple rows


Pedro Manuel

Recommended Posts

HI all,

I would like to have some help, to do aconcatenation of acolumn that exist in multiple rows and transform in one row.

 

for example :

123 | west Africa | Africa

123 | est Africa | Africa

123 | Central Africa | Africa

 

what I want :

123 | west Africa, est Africa,Central Africa | Africa

Link to comment
Share on other sites

Col1, Col2, Col3

 

123, west Africa, Africa

 

123, est Africa, Africa

 

123, Central Africa, Africa

 

Insert>Calculated column>UniqueConcatenate(Col2)>Ok

 

After that go to your properties>Columns> and add the new calculated column to your table. If you want to eliminate the duplicate records used the Rowid() function to do that.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...