CONCAT different cells in the same column

Hello I have a column let's says its called 'Column A' and it looks like this:

 

COLUMN A

1

2

3

4

 

How do I concat so It shows in the same column like so:

 

COLUMN A

1,2,3,4

 

Is there a beast mode that can help me do that?

Thanks!

 

Comments

  • jaeW_at_Onyx
    jaeW_at_Onyx Budapest / Portland, OR 🟤

    Google LIST_AGG and GROUP_CONCAT.

     

    Alternatively look at PIVOT / UNPIVOT in a SQL context.  The same thing exists for Magic as Collapse and Uncollapse Columns 

  • Unfortunately, GROUP_CONCAT() is what you are looking for, but that is not available in a beast mode.

     

    You would need to aggregate COLUMN A in a dataflow using GROUP_CONCAT()

  • thanks! Any pointers on how to do it?

  • In case you are still looking for a solution, MAGIC ETL 2.0 now allows for a group_Concat functionality. So just add a group function and add group_concat on the column you want to merge.


    Best,

    TJ