table-data get max value from column

Hi

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

 

Steve

3 answers

This widget could not be displayed.

Which reporting plugin, and which application is it for?

 

This widget could not be displayed.

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

Regards

Steve

This widget could not be displayed.

Hello!

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:

MAX(Table1.A2:C3)

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

Thanks!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

428 views 3 17
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