How to build a table from other tables

Tim Freehill March 23, 2018

I have a series of status pages that each contain a table of data, such as project milestones. I'd like to have an additional page that pulls the rows from each of the tables on those individual pages and builds a master table that contains all of them in a single table, using something like a multi-excerpt type macro. I do not have access to the Table-excerpt macro, however, so I need a solution that doesn't use it.

Any ideas?

tim

4 answers

1 accepted

1 vote
Answer accepted
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 23, 2018

Hi Tim,

This is not possible in Confluence without a 3rd party add-on. Have a look at this past question for a list of suggestions:

Otherwise, you might be able to get the Page Properties Report macro to work for your needs, but it would need to pull from a single Page Properties macro on another page.

Regards,

Shannon

Tim Freehill March 23, 2018

Thanks, Shannon - you probably saved me hours of thrashing!

tim

Craig Castle-Mead
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.
March 24, 2018

The page properties / reports macro is great - definitely worth checking out.

Tim Freehill March 26, 2018

I will check it out, thanks!

3 votes
Katerina Rudkovskaya _Stiltsoft_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
July 16, 2020

Hello,

I think I have a solution for your use case if you use Confluence Server or Data Center. The Table Excerpt Include macro of the Table Filter and Charts app supports multi-export from pages by labels . The app also includes the Table Transformer macro that provides merging tables and any other kinds of table transformation:

1. Insert the Table Excerpt macro, set the 'Excerpt name' parameter, and place the tables within the macro body on every page.

2020-07-16_13h48_18.png2020-07-16_13h48_27.png
2. Add labels to the pages.

2019-03-28_18h15_43.png

3. Add the Table Excerpt Include macro on the page where you want to have a data table and select the option 'From pages by labels', specify 'Excerpt name' and 'Page labels' parameters.

2020-07-16_13h48_50.png

4. Wrap the Table Excerpt include macro in the Table Transformer macro, use '
Merge tables' preset to merge all the tables in one.

2020-07-16_13h48_58.png2020-07-16_13h49_06.png

Best regards,
Katerina
Stiltsoft

0 votes
George Ivanov July 16, 2020

Hi there,

for the server option of Confluence you can use "SQL-Powered Table Transformer" macro (https://marketplace.atlassian.com/apps/1219300/sql-powered-table-transformer) along with the standard Excerpt/Excerpt include macro

Put each of the tables inside the Excerpt macro container.

On the summary page add the SQL-Powered Table Transformer macro container, then inside the container link all the tables from other pages using the Excerpt Include macro.

Adjust the SQL Query in the SQL-Powered Table Transformer macro properties to pull the needed rows from the needed tables. Table names will be TABLE_1, TABLE_2, etc. (according to the order you put them into the SQL-Powered Table Transformer)

Cheers!

0 votes
John Corwith September 25, 2019

How about using the Office Excel macro using spreadsheet pages for your tables? The first sheet combines all the others (in your Excel file) and is on your parent page. Each child page gets a subsequent sheet in the spreadsheet file. When you use the spreadsheet macro, you can specify the sheet.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events