Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to build a table from other tables

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

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

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

tim

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

I will check it out, thanks!

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

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.

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!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

463 views 24 9
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you