I want to aggregate the table from different pages to summary page
Asked by Siva:

I am having two different page, each page has table of same header. In the summary page i want to merge the other two page table content as a aggregate table.


Answers:
author: Natalie Paramonova [Stiltsoft]
body: Hi Siva,

I have a solution for you. You can use the combination of the [Table Excerpt Include](https://docs.stiltsoft.com/display/TFAC/How+to+use+Table+Excerpt+and+Table+Excerpt+Include+macros?utm_source=atl_community) and [Table Transformer](https://docs.stiltsoft.com/display/TFAC/How+to+use+Table+Transformer+macro?utm_source=atl_community) macros. Table Excerpt Include provides an ability to pull any tables from child pages, from specific pages, from pages by labels and more. Table Transformer merges all the tables in one.

1. Insert the Table Excerpt macro, set the Excerpt name parameter, and place the tables (or the macros outputting tables) within the macro body on every page.

![2019-03-28_18h09_44.png](https://community.atlassian.com/t5/image/serverpage/image-id/50546i1E754046DA5AC0C3/image-dimensions/458x254?v=v2 "2019-03-28_18h09_44.png")

2. Add the Table Excerpt Include macro on the summary page, specify Excerpt name and select an appropriate Excerpt source.

![2019-03-28_18h22_47.png](https://community.atlassian.com/t5/image/serverpage/image-id/50547i648EF83B9FBEB51D/image-dimensions/508x325?v=v2 "2019-03-28_18h22_47.png")

3. Wrap the Table Excerpt include macro in the Table Transformer macro, use the default presets or custom SQL queries to merge all the tables in one.

![2019-03-28_18h11_16.png](https://community.atlassian.com/t5/image/serverpage/image-id/50548i12192DD8F57EDD53/image-dimensions/371x168?v=v2 "2019-03-28_18h11_16.png")

![2019-03-28_18h27_21.png](https://community.atlassian.com/t5/image/serverpage/image-id/50549i54B0523422BE108F/image-dimensions/559x361?v=v2 "2019-03-28_18h27_21.png")

The macros are available only in Server and Data Center versions of the app for now.


author: George Ivanov
body: Hi Siva,

there is another macro that can help - SQL-Powered Table Transformer:

[https://marketplace.atlassian.com/apps/1219300/sql-powered-table-transformer](https://marketplace.atlassian.com/apps/1219300/sql-powered-table-transformer?hosting=server&tab=overview)


author: Robert Reiner _smartics_
body: I assume that you need the assistance of a [User Macro](https://confluence.atlassian.com/doc/writing-user-macros-4485.html) or a third-party add-on.

The (commercial) [projectdoc Toolbox](https://www.smartics.eu/confluence/x/1YEp) provides macros to deal with tables.

Here is a tip on how the *projectdoc Toolbox* allows to merge tables and lists: [Merging Tables and Lists](https://www.smartics.eu/confluence/x/kIDAB)

You'll also find [products by other vendors](https://marketplace.atlassian.com/search?query=table) on the Atlassian Marketplace that are more focussed on uses case with tables. I would like to recommend to check out these specialized third-party solutions by other vendors, since the *projectdoc Toolbox's* main concern is the support of dynamic lists and transclusion. Use cases with tables are along these main features. Unfortunately I cannot recommend one particular product, since my simple use cases are fully covered by the [Table Merger Macro](https://www.smartics.eu/confluence/x/TIDAB).

**Biased alert:** I'm one of the authors of the *projectdoc Toolbox* . The [projectdoc Toolbox is available on the Marketplace](https://marketplace.atlassian.com/1212629) for *Confluence Server*.


author: Jivan Roquet
body: Same problem here, Interested in a solution as well.