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

Stiltsoft macro: Combine three tables into one with content on one row only

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.

image.png

1 answer

1 accepted

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.

Mon 1-1.pngMon 1-2.pngMon 1-3.pngAs 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:

Mon 1-4.pngMon 1-5.pngMon 1-6.png

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:

Tue 1-1.pngAnd check the Hide columns box into the Filters tab:

Tue 1-2.pngThen go to the Filtration tab -> Set filters' default values section and choose what columns you want to hide:

Tue 1-3.pngHope this will help your case.

Suggest an answer

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

Announcing Team Calendars in Confluence Data Center

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...

198 views 0 6
Read article

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