Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Build tables from master list

Kate Grzegorczyk August 20, 2018

I need to construct several tables on various pages that would always have the same first column with the same exact list. So I'm looking for some way of being able to create a table from a master list. Each master list entry would result in a row created, then I can add custom columns for each table. So if my master list had the following data: red, blue, orange:

 

Table 1:

COLOR |  MONTH | YEAR |

red        |  Aug        | 2011  |

blue      |  Jan         | 2014 |

orange |  Oct         | 2009 |

 

 

Table 2:

COLOR |  USER  | USED |

red        |  admin | yes     |

blue      |  editor  | no      |

orange |  admin  | n/a     |

 

To add to the fun, sometimes I need the custom columns to pull in the entry from a data snippet on a different pages. Eg. USED yes/no/na would be contained somewhere else in a table on a different page. Is any of this possible?

 

1 answer

1 vote
Natalie Paramonova _Stiltsoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 8, 2019

Hi Kate,

You can try the Table Filter and Charts app to resolve your issue.

You can use the Table Excerpt Include macro for multi-excerpt from any pages (child pages, specific pages, pages by labels, current page). Then you can use the Table Transformer macro to merge all the tables using the default presets or custom SQL queries.

The steps may be as follows:

1. Create a page and add the table with the master list. Wrap the table with the Table Excerpt macro.

2019-04-08_12h38_32.png

2. Excerpt the master list with the help of the Table Excerpt Include macro on any page.

2019-04-08_12h37_45.png

3. Add the table with the custom columns, place the Table Excerpt Include macro and the table with the custom columns in the Table Transformer macro body.

2019-04-08_13h43_39.png

5. Use the Lookup tables preset to merge tables by the Color column.

2019-04-08_12h39_41.png

2019-04-08_12h42_11.png

6. If you need to add the data from the separated page, use the Table Excerpt and Table Excerpt Include macros as well and merge these tables using the Table Transformer macro.

2019-04-08_12h43_41.png

2019-04-08_13h44_01.png

2019-04-08_13h28_32.png

Please let me know if you have any questions.

The macros are available in Confluence Server and Data Center for now.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events