In confluence - how to combine four tables
Asked by Rama:

I've four tables which are results from two dimensional stats and i would like to combine 4 tables into one.

For example: For each project based on fixversion, i have set of results that needs to be combined in one table. These tables columns and rows are not same. Please find below.


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@Rama](/t5/user/viewprofilepage/user-id/4457193) ,

You may use our [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=server&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) app and its [Table Transformer](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Transformer+macro?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macro that supports the Two-Dimensional Chart macro.

You may use the standard merge preset:

![Wed 2-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/205807i5AF15CEDC4737199/image-size/large?v=v2&px=999 "Wed 2-1.png")![Wed 2-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/205806iFD79E0F6B01C87C2/image-size/large?v=v2&px=999 "Wed 2-2.png")

The unwanted "Status T:" column and "Total Unique Issues:" rows can be further hidden with the help of the [Table Filter](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Filter+macro?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macro.

comments: author: Rama
body: Thank you [@Katerina Kovriga {Stiltsoft}](/t5/user/viewprofilepage/user-id/1464746) I did exactly what you described before i started this conversation here. Here is the result table.

I assume this is because of fixversion field which is unique for each project in JIRA?


author: Katerina Kovriga {Stiltsoft}
body: Yes, it seems that all the Fix Versions' names are unique so your result table is combined as it is in my example.

If, for example, you think that the "Accepted" status for the first project is the same as the "Ready" status for the second project, then you may use an additional Table Transformer macro for the second Two-Dimensional Chart macro and rename its columns. And then merge your table with the external Table Transformer macro.

But if your statuses are really different then you may leave everything as it is.


author: Rama
body: Status are different, can't we convert as standard table from two dimensional macro result and merge?

Do we have any other options that could work in this scenario?   

My requirement is quite simple - in a combined view across 4 projects in PI-1 how many issues are covered under each status.


author: Katerina Kovriga {Stiltsoft}
body: Maybe then its better to use the Jira Issues macro and the Pivot Table macro? Select the required projects in the Jira Issues macro and then group the issues by statuses directly?


author: Jack Brickey
body: Is this a one time thing? In which case manually doing this would be the right answer. If this is something that you want done automatically then you have to find someway to script it with a third-party add-on application.


Tags: confluence-server

server