Run statistics on data which originates in a remote excel file
Asked by Eyal Zmora:

I am using a "table from CSV" macro which is wrapped by a "Chart from table" macro to display graphical data.

Here is one example:

![graph.png](https://community.atlassian.com/t5/image/serverpage/image-id/181880i52FFD2C0D44C2945/image-size/large?v=v2&px=999 "graph.png")

I would like to display some statistics below the graph, like Average, STD etc.

For example, I would like to calculate what percentage of all data, does value "1" account for.

Is there any way to run such calculations and display them?

Thanks


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi there,

As this question mentions our [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=cloud&utm_source=atl_community) app, we are happy to introduce its new macro -- [Table Spreadsheet](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Spreadsheet+macro?utm_source=atl_community).

The macro allows you to work with fully functional Excel spreadsheets right in Confluence.

![](https://docs.stiltsoft.com/download/attachments/83100938/Conditional%20formatting.png?version=1&modificationDate=1641987630000&api=v2&effects=border-simple,shadow-kn)

You'll be able to use cells' formulas, filters, conditional formatting, etc., create pivot tables and charts from the page view and edit modes.

The Table Spreadsheet macro is available for Cloud and Server/Data Center.

comments: author: Eyal Zmora
body: Thanks [@Katerina Kovriga {Stiltsoft}](/t5/user/viewprofilepage/user-id/1464746)

Very handy!


author: Pramodh M
body: Hi [@Eyal Zmora](/t5/user/viewprofilepage/user-id/2480702)

Here's a great plugin that may meet your requirements

[https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=datacenter\&tab=overview](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=datacenter&tab=overview)

Let me know if you need further help

Thanks,  
Pramodh

comments: author: Eyal Zmora
body: Thanks [@Pramodh M](/t5/user/viewprofilepage/user-id/3691224) , but I am not sure this is part of the basic Confluence package I currently have at work.


author: Katerina Kovriga {Stiltsoft}
body: Hi [@Eyal Zmora](/t5/user/viewprofilepage/user-id/2480702) , the [Table from CSV](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+from+CSV+macro?utm_source=atl_community) and the [Chart from Table](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Chart+from+Table+macro?utm_source=atl_community) macros indeed belong to the [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) app, so it seems that you are using it successfully.

To have several aggregated tables/charts based on the one source table (manually created or coming from the CSV table), you may use the [Table Excerpt/Table Except Include](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Excerpt+and+Table+Excerpt+Include+macros?utm_source=atl_community) macros: reuse your source table several times, wrap the reused copies into other macros ([Pivot Table](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Pivot+Table+macro?utm_source=atl_community), another Chart from Table, etc.) and calculate whatever you need.

With the help of the Table Excerpt/Table Except Include macros you'll get a kind of a dashboard based on the one source table.


Tags: confluence-server

server

table