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

Is there a way to merge content from multiple tables by only including rows with key words in them?

There are multiple pages with different tables on them. Our team is only interested in a few of the columns, across multiple documents. And in those columns, there are only certain rows tagged with new keywords that we're interested in.

Considering the pages are always being updated, new keywords being added, and even new pages with multiple tables being created constantly, is there a way to pull data into one central location to make it easier for us?

Any help would be appreciated. Thanks.

3 answers

Hi Hashem,

If you need to pull multiple tables (both manually created or generated with the help of the macros outputting tables), you can use the Table Excerpt Include macro that provides an ability to pull any tables from child pages, from specific pages, from pages by labels and more.

After that, you can use the Table Transformer macro to merge all the tables in one. 

The Table Filter macro can help you to hide unnecessary columns and filter rows by keywords.

The workflow may be as follows:

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.


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



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.



4. Add the Table Filter macro to the merged table to hide unnecessary columns and filter rows by keywords.


0 votes
Zak_Laughton Atlassian Team Jul 25, 2018

Hi Hashem,

There's not a native way in Confluence to monitor specific columns or rows in a table. If you know the keywords you are looking for, the best alternative I could think of would be to use a Search Results Macro on a page to show all pages that contain a certain keywords. Of course, this would search for the keyword anywhere on the page, not just within the specific rows and columns you are targeting. However, this could work, depending on your requirements and how unique the keywords are.


SQL-Powered Table Transformer will allow you to achieve the goal

Suggest an answer

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

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

327 views 9 7
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