I have a dataset in which one column is Branch-ID and other one is Branch Manager and it looks as follows in the given url. dataset
I want to combine the branch managers into one single column based on the branch-id. For example if Bob and Sandra are two different branch-managers but have the same branch id which is branch-id=1, then we should concatenate them together as Bob-Sandra and place them in a separately created column.
I have attached the expected output for the above dataset. expected_output_dataset
I am currently using Oracle Analytics Cloud Professional Version.
I don't know Oracle Analytics, but - if it has anything to do with an Oracle database and its capabilities, then
listagg
helps.Sample data in lines #1 - 10; query you might be interested in begins at line #11.