I have used the Table Transformer macro by Stiltsoft to combine three tables into one, see screen shot. But the content comes on three rows, which is undesirable for my purposes. I need the three rows to be combined into one for this to be useful to me. The reason is that the table is supposed to be used in a bigger report table on a parent page.
The macro accepts SQL for transformation purposes. But I don't know enough SQL to perform the desired transformation. Is it possible? Does anyone have working code? Any help would be greatly appreciated.
Hi @Bjørn Tennøe ,
The Table Transformer macro can lookup as many tables as you need by the default Lookup preset, but you need a column with unique data (for example, issue keys, employees' names, etc.) to match the corresponding cells into the same rows.
As you can see, here I combine my result report from three separate tables (manually created or reused with the help of the Table Excerpt/Table Excerpt Include macros - it doesn't matter) and use the Project column with unique project names for the lookup feature.
Maybe you can provide the screenshots of your original tables? Because I see that criteria, phase, status and summary are the description of something (projects? products? issues?) and we need to match them by this 'something'.
P.S. If you want to merge your tables by the table headers, just choose the default Merge preset:
Hi @Katerina Kovriga _Stiltsoft_, thank you for your swift, thoughtful and useful reply. I did as you said and added a column with dummy data. I gave it the name "__" (two underscores; for some reason, one underscore didn't work). While it looks a little bit weird for passers-by, I think we can live with it :-) Again thanks!
@Bjørn Tennøe , you may hide your additional column with the help of the Table Filter macro.
Wrap your Table Transformer macro in the Table Filter macro body:
And check the Hide columns box into the Filters tab:
Then go to the Filtration tab -> Set filters' default values section and choose what columns you want to hide:
Hope this will help your case.
Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond. A long time favorite, Team Cale...
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