table-data get max value from column


I am trying to use within an eval-data filed in a table-data macro the maximum value from a 'column' of data.

The eval-data is adding 3 values, the first 2 are simple as they grab the relvant column from that particular row. However, the third value needs to do a loookup on the table and return the maximum value for a particular column.

I can get the value outside of the table within a grouping-reporter and grouping stats. The problem I have is when trying to grab the maximum value and read it into the table-data macro as another column

I hope this makes sense.

Column1 Column2 Max of column2 Calculation Column1 + Column2 + Column3
5                  4                   10                                             19
4                  4                   10                                            18
1                 10                 10                                             21
2                 6                  10                                                18



3 answers

0 votes

Which reporting plugin, and which application is it for?


Hi Nic

Sorry, my mistake it's actually Scaffolding, hence your response smile

It's Service Rocket Scaffolding for Confluence, using the table-data macro


Within that i need to somehow pass a value to the eval-data macro.

The alternative, might be to cheat and use Scaffolding to generate the data, then when in view mode,hide it and use reporting instead. Sounds clunky, do you know if this is feasible,

At the moment, i have tried just about every which way not possible




For any calculations in Confluence, including any manipulations with table data, you may use CelesteCS Math for Confluence.

SUM and MAX are simplest examples of using this macro.

Assume you have a table with three columns and three rows on your page – from A1 till C3, where row 1 is the header row. The MAX calculation formula for rows 2 and 3 will be simple:


There is a plenty of other functions in the macro, so you may perform any calculations using formulas in EXCEL style.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

349 views 0 1
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you