Hide table columns while using excerpt macro
Asked by diego.orozco:

Hi,  

Im using the excerpt macro tu add one table from one page to another, but i need to hide some columns.   

How can i do this?


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hi Diego,

You can apply [Table Filter](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) macro to the included table to [hide columns](https://docs.stiltsoft.com/display/public/TableFilter/Managing+Look+of+the+Table+and+Filtration+Pane#ManagingLookoftheTableandFiltrationPane-HidingTableColumns).

comments: author: preeti arun
body: [@Andrey Khaneev \[StiltSoft\]](https://community.atlassian.com/t5/user/viewprofilepage/user-id/781696) - When I am using excerpt Include for mirroring the master table to another page .. in the edit mode I don't see the table .. I only get to see the excerpt Include macro and edit option for that.. how can one apply the filter to the tables which are mentioned under excerpt include Macro???

Same issue I am facing with Table excerpt Include Macro.

My requirement is I have a table with 7 different columns on page 1 and Page 2 I want 3 of the original 7 but add a few more extra columns.


author: preeti arun
body: [@Andrey Khaneev _StiltSoft_](/t5/user/viewprofilepage/user-id/781696) - I can add the filter but how can I add new columns to the mirror table??


author: Jeffry Gamba
body: Hi Diego,

I think there is no way to hide the columns if you are using an excerpt. Better copy the table and remove the columns you want to hide.

Thanks!


author: preeti arun
body: [@Andrey Khaneev _StiltSoft_](/t5/user/viewprofilepage/user-id/781696) - When I am using excerpt Include for mirroring the master table to another page .. in the edit mode I don't see the table .. I only get to see the excerpt Include macro and edit option for that.. how can one apply the filter to the tables which are mentioned under excerpt include Macro???

Same issue I am facing with Table excerpt Include Macro.

My requirement is I have a table with 7 different columns on page 1 and Page 2 I want 3 of the original 7 but add a few more extra columns.

comments: author: Andrey Khaneev _StiltSoft_
body: There are two approaches:

1. Let's use three pages: Page A with 7 columns, Page B with 3 + 3 columns and Source Page with 10 columns. Source Page contains Table Excerpt macro with a 10 columns table:

![2019-12-04_15h28_34.png](https://community.atlassian.com/t5/image/serverpage/image-id/75001iA689642B587914DE/image-size/large?v=v2&px=999 "2019-12-04_15h28_34.png")

Page A includes this table and hides columns 8-10:

![2019-12-04_15h29_39.png](https://community.atlassian.com/t5/image/serverpage/image-id/75002i02477440DAFA5AED/image-size/large?v=v2&px=999 "2019-12-04_15h29_39.png")![2019-12-04_15h30_13.png](https://community.atlassian.com/t5/image/serverpage/image-id/75003i68001BECD4121A79/image-size/large?v=v2&px=999 "2019-12-04_15h30_13.png")![2019-12-04_15h30_43.png](https://community.atlassian.com/t5/image/serverpage/image-id/75004i41F1B8E37D37E872/image-size/large?v=v2&px=999 "2019-12-04_15h30_43.png")

Page B is similar to Page A, but hides columns 4-7.


author: Andrey Khaneev _StiltSoft_
body: The second approach consists of two pages: Page A and Page B.

Page A has a table with 7 columns:

![2019-12-04_15h33_33.png](https://community.atlassian.com/t5/image/serverpage/image-id/75005iC9249187E7D59C34/image-size/large?v=v2&px=999 "2019-12-04_15h33_33.png")

The numbering column is used further on Page B. Page B has:

1. Table Excerpt Include macro.
2. The second table with 3 new columns and the numbering column.
3. Table Transformer to lookup tables with 7 and 3 columns. The numbering column is used as an ID for lookup.
4. Table Filter macro hides columns 4-7.

![2019-12-04_15h41_13.png](https://community.atlassian.com/t5/image/serverpage/image-id/75009iDFFB64EC743232EA/image-size/large?v=v2&px=999 "2019-12-04_15h41_13.png")![2019-12-04_15h41_31.png](https://community.atlassian.com/t5/image/serverpage/image-id/75010i74EB1876F1CE441B/image-size/large?v=v2&px=999 "2019-12-04_15h41_31.png")![2019-12-04_15h42_03.png](https://community.atlassian.com/t5/image/serverpage/image-id/75011iD2E6A04A66388277/image-size/large?v=v2&px=999 "2019-12-04_15h42_03.png")


author: preeti arun
body: Thanks much [@Andrey Khaneev _StiltSoft_](/t5/user/viewprofilepage/user-id/781696) for clear instruction, i was able to figure it out but unfortunately my organization is yet to upgrade the Table filter and Chart for confluence plug-in. We are still on *Version: 4.5.3"*

*Once the version is upgraded i'll work as you suggested and post my query (if any).*


Tags: filter

table