Table Filter and Charts - Expand macro not working in one scenario
Asked by Craig.Harley:

Hi, I have been working on an API catalogue of sorts.

Initially just using a page properties report, but then adding filtering

Worked really well and looked good.

![no table merge 1.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/289930iE9309D1780FE60C3/image-dimensions/387x115?v=v2 "no table merge 1.PNG")

I then wanted to pull in lifecycle info from Jira into the same table , so created a Jira issues table and using table transformer to merge the tables got what I wanted.

Unfortunately there was one slight issue, the Description Column was pulling through the expand macro

![expand macro.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/289940i782C01CA028648DB/image-dimensions/133x29?v=v2 "expand macro.PNG")

that contained the description text (some descriptions were quite lengthy so needed to make the layout concise in the table view) and the expand macro no longer opens to display the description.

![table merge 1.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/289933i1FB19DE1040D6445/image-dimensions/399x111?v=v2 "table merge 1.PNG")![table merge 2.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/289934i3A2ADDAEA2136BCA/image-dimensions/153x138?v=v2 "table merge 2.PNG") The query used is

SELECT  
T2.'URI',  
T1.'Lifecycle',  
T1.'EoSL Date',  
T2.'Description',  
T2.'Consumer Contract With',  
T2.'API Component',  
T2.'WS Communication Protocol',  
T2.'Technology',  
FROM  
T1  
JOIN  
T2  
ON T1.'Summary' = T2.'URI'

Is this a limitation I have hit? or is there anything that can be done to perform the table merge between the page properties report and the Jira Issues table without losing the Expand macro functionality containing the description (the descriptions are too large to just put as free text, as it messes up the layout of the table)


Answers:
author: Stiltsoft support
body: Hi [@Craig.Harley](/t5/user/viewprofilepage/user-id/4615003) ,

The issue seems to be in Cloud Confluence itself: as I see, your tags point to Cloud and you use the Table Toolbox macro to nest macros.

In comparison with Server/Data Center, Confluence Cloud doesn't allow to nest macros. You can't wrap macros directly one into another.

That's why the Table Toolbox macro was designed, otherwise you won't be able to create macro sequences at all.

So, seems that's the reason why your Expand macro breaks.

comments: author: Craig.Harley
body: OK,

so let me just summarise what you are saying here for my understanding

Each of my page properties uses the expand macro as well as Jira, Status and Date

This all gets pulled into a page properties report and then into a Table Toolbox, Table Filter everything works without issue

However, if i do exactly the same with page properties, join a Jira Issues table to it using Table Toolbox, Table Transformer and then embed this within Table Filter, only the expand macro stops working and this is due to using Confluence Cloud and it not allowing the nesting of Macro's?

If this is correct, do I need to take this up with Atlassian?


author: Stiltsoft support
body: Yes, you got it correct. You may raise a [support ticket](https://stiltsoft.atlassian.net/servicedesk/customer/portal/14) with us and attach the page storage format (upper right corner -\> menu ... -\> View storage format) of the master page and the page with your Page Properties macro, we'll try to look into the macro conflict.


author: Stiltsoft support
body: Hi [@Craig.Harley](/t5/user/viewprofilepage/user-id/4615003) ,

Meanwhile, I've tried to reproduce the issue: I've collected my Page Properties Report macro (had two Page Properties that contained Expand macros and Jira Issue macros as a single issue) and inserted the Jira macro in a tabular view.

Then I wrapped these two macros in the Table Toolbox macro and wrapped them into the Table Transformer macro for joining and then in the Table Filter macro for filtering.

The Expands are always opening for me.

So, it seems that we really need your data to investigate the issue.

Please also check where Expands break for you: do they work properly if you remove the Table Filter macro and leave only the Table Transformer macro?


author: Craig.Harley
body: Ok removed the table filter and just left table transformer, expand still does not work

removed table transformer and jira issue table to leave page properties in table filter, expand starts working again


author: Stiltsoft support
body: Please refer to our support then.

I indeed have the similar query inside my Table Transformer macro:

SELECT  
T1.'Key',  
T2.'Title',  
T2.'Column 1'  
FROM T1 JOIN T2 ON T1.'Key' = T2.'ID'

And for me the Expand macro opens just right:

![Fri 7-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/290039i501BEA95A46065B2/image-size/large?v=v2&px=999 "Fri 7-1.png")


Tags: cloud

confluence-cloud

filter

table