Forum Discussion

JohnFonz's avatar
JohnFonz
Frequent Visitor
4 years ago

Dynamically joining distinct nested tables based on a common column

Hi guys, 

 

I am working on a dataset where I want to combine multiple nested tables into one big table. The nature of the nested tables are in the attached screenshots below; each nested table contains a "Unique" column which is common to all of them and I want the end result to contain one Unique column and all the rest of the columns from each nested table in one table.

 

I think I am right in saying that, I am trying to join all these tables dynamically.

 

I would really appreciate it if you could suggest me a way.

 

Many thanks,

John ðŸ˜Š

 

Example table 1

 

Example table 2

 

Below is a screenshot of the end goal.

 

End goal

 

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    not completely clear what you want, but I would try this strategy:
    1) expand the column of tables
    2) group the data of the large table obtained on the Unique column and choose not to aggregate on any column but to keep all the rows.

     

    If you attach a file with some dummy tables I can write you the single steps in detail.