Build a table from other tables

Maria Martinho
Contributor
January 11, 2019

Is there a way to build a table based on tables on different pages without using the  Multiexcerpt macro?

When we update one of those tables, automatically update the consolidated table?

Thank you. 

4 answers

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.
March 28, 2019

Hello Maria,

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

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

2019-03-28_18h14_32.png

2019-03-28_18h09_44.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.

2019-03-28_18h22_47.png

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

2019-03-28_18h11_16.png

2019-03-28_18h27_21.png

Please let me know if it helps.

Maria Martinho
Contributor
April 11, 2019

Thank you Natalie. I'm going to test it.

0 votes
George Ivanov
Contributor
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
Vladyslav Darmenko January 3, 2020

Hi there. Not sure if previous solutions helped you. I've mixed couple advises from other people: filters.png

So each meeting we had a table with Agenda.

The task was to show on one page all meeting agendas for the past one year. 

 

Solution is: 

1. Convert individual agenda tables into Table Excerpt. 

2. Get all tables on one page through Table Excerpt Include.

3. Assemble ONE table from many by using Table Transformer macros

4. On top of this Table give users the ability to sort and filter Data on that Table. 

 

Maybe there are more elegant ways to deal with that task but I found the solution in 10 min by browsing answers at Atlassian Community. 

 

Good luck! 

0 votes
Davin Studer
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.
January 11, 2019

Have you looked into the page properties and page properties report macros?

Maria Martinho
Contributor
January 14, 2019

Hi David

Yes, I already try that, but only shows the first line of the table.

Thank you.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events