Pedro Manuel Posted August 5, 2019 Share Posted August 5, 2019 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 More sharing options...
Richard Pobi Posted August 5, 2019 Share Posted August 5, 2019 Add a calculated column and use the function, UniqueConcatenate(the col you want to concat) Link to comment Share on other sites More sharing options...
Pedro Manuel Posted August 5, 2019 Author Share Posted August 5, 2019 Hi, Can I get a example Link to comment Share on other sites More sharing options...
Richard Pobi Posted August 5, 2019 Share Posted August 5, 2019 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 More sharing options...
Pedro Manuel Posted August 5, 2019 Author Share Posted August 5, 2019 Unfortnetly I don't have that option in my view. Only appear delete and rename option. Link to comment Share on other sites More sharing options...
Motsu Aboshi Posted August 6, 2019 Share Posted August 6, 2019 Would LISTAGG() combined with a GROUP BY clause work for your use case Link to comment Share on other sites More sharing options...
Pedro Manuel Posted August 6, 2019 Author Share Posted August 6, 2019 Works Perfect! Thanks foor all! ;-) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now