Confluence - macro of statistics/reports
Asked by ortal ohayon:

Hi,

I'm willing to find macro or report of statistics. to get some insights from a dynamic chart we work with in confluence   
(this is the page, hope you can see it [https://wiki.clicksoftware.com/display/SSDFC/Service+Edge+POD+Change+Management+Log?\&pagepropertiesreport.serverrender](https://wiki.clicksoftware.com/display/SSDFC/Service+Edge+POD+Change+Management+Log?&pagepropertiesreport.serverrender))

We would like to know:

1. How many PCMs (each row in the chart which in status New) are opened each week?
2. How long does it take for a PCM to be finished? Distribution per days
3. How are the PCMs divided between the teams (per the assigneee column)

Hope you can guide me how to use it in Confluence instead of adding the data to excel table and process there.

Much appreciated!


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

The page you shared is not permitted for external users.

Do you use [Table Filter and Charts](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/server/overview) add-on? If not, you can try out this add-on. It has [Pivot Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Pivot+table+macro?src=contextnavpagetreemode) maro for different calculations, [Chart from Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Chart+from+Table+macro?src=contextnavpagetreemode) macro to build a dynamic chart and [Table Filter](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Table+filter+macro?src=contextnavpagetreemode) macro to filter table and calculate totals. Hope this will help you.

comments: author: ortal ohayon
body: Hey Andrey,

How can I share with you the above page we use?

[https://wiki.clicksoftware.com/display/SSDFC/Service+Edge+POD+Change+Management+Log?\&pagepropertiesreport.serverrender](https://wiki.clicksoftware.com/display/SSDFC/Service+Edge+POD+Change+Management+Log?&pagepropertiesreport.serverrender)

So that we can be more productive

Thanks,

Ortla


author: Andrey Khaneev _StiltSoft_
body: There are several ways:

1. You can create a temporary account for me and send to my email credentials.
2. You can set an anonymous access to a page or a space. In this case it is better to create a new space with a copy of a page (or a similar page without confidental data).
3. You can login to our [demo site](https://demo.stiltsoft.com/display/tblfilter/Table+Filter+and+Charts+Demo?utm_source=demo&utm_medium=referral&utm_content=table-filter-link&utm_campaign=traffic-sources) as a Guest and create a similar page.
4. You can create a private [support ticket](https://stiltsoft.customercase.com/forums/support-requests/ideas/create?category=Table%2BFilter%2Band%2BCharts%2Bfor%2BConfluence) in our support system where you can share some screenshots of what you have even if it has any confidetial data.


author: ortal ohayon
body: I've created a page in your demo site with copy of our chart:

<https://demo.stiltsoft.com/display/tblfilter/Service+Edge+POD+Change+Management+Log>

Our chart based on ![](https://wiki.clicksoftware.com/plugins/servlet/confluence/placeholder/macro?definition=e2RldGFpbHNzdW1tYXJ5OmhlYWRpbmdzPU9wZW5lZCwgUmVxdWVzdGVyLCBJbXBsZW1lbnRlciwgU3RhdHVzLCBQT0RFViwgUkUtMDEsIFJFLTAyLCBOQSBTQiwgRVUgU0IsIEFVIFNCLCBOQSBQUiwgRVUgUFIsIEFVIFBSLCBMYWJ8c29ydEJ5PVRpdGxlfHJldmVyc2VTb3J0PXRydWV8Y3FsPWxhYmVsID0gInBjbSIgYW5kIHNwYWNlID0gY3VycmVudFNwYWNlKCkgYW5kIHBhcmVudCA9ICI4OTA5NjkzNiJ9&locale=en_GB&version=2)

each row of the chart is lnk to another page which is based on template we've created

We would like to know:

1. How many PCMs (each row in the chart which in status New) are opened each week?
2. How long does it take for a PCM to be finished? Distribution per days
3. How are the PCMs divided between the teams (per the assigneee column)


author: Andrey Khaneev _StiltSoft_
body: I'm in the process of creating reprorts. Please, join this page to discuss details (we can use comments on this page).


author: Andrey Khaneev _StiltSoft_
body: The page was removed by a backup process. There is a [copy](https://demo.stiltsoft.com/display/tblfilter/PCM).


author: ortal ohayon
body: Thanks Andrey!

Can I copy this page content to my conluence even though I don't have these paid macros yet?

If not, how can i copy this?

Thanks!


author: Andrey Khaneev _StiltSoft_
body: The best way is to use free Source Editor add-on. In this case you can save a page as text file somewhere and then restore it in several clicks.

If you copy and paste contents of the editor to Confluence instance with those macros, you can loose contents of those macros while saving a page (Confluence can clean it up, I faced with this problem several times).


author: ortal ohayon
body: OK. I would be very much appreciateed if you can provide me with the accurate steps how to use free Source Editor add-on (save a page as text file , restore it , etc)

Thanks


author: Andrey Khaneev _StiltSoft_
body: To copy page storage click this button on a page

![2017-06-07_14h52_06.png](https://community.atlassian.com/t5/image/serverpage/image-id/1935i047A62C66AF2C905/image-dimensions/270x208?v=v2 "2017-06-07_14h52_06.png")

and copy all the text from an opened window, save it somewhere for the future needs.

After you istall Source Editor add-on you'll find a new button in the editor (it appears only if the page is saved, so if you create a new page, save it blank and edit again)

![Source_Editor_button.png](https://community.atlassian.com/t5/image/serverpage/image-id/1936i2F1458C27973BEE3/image-dimensions/790x87?v=v2 "Source_Editor_button.png")clik the button and replace the contents of a modal dialog with previosly saved storage format

![2017-06-07_14h52_51.png](https://community.atlassian.com/t5/image/serverpage/image-id/1937i83B5806E45FCC9A3/image-dimensions/334x177?v=v2 "2017-06-07_14h52_51.png")


Tags: macro

report