Since 6.6. SP2 you can calculate a total value (SUM) of the Input of a number value, including Object Customs, in Financial, User and Object Reports.
We have added the ability to add a sum value in the Footer section of Financial, Object and User Reports.
This total sum can be calculated from any number field from any sections/group in the Print Designer, and even from any number value, from custom fields.
This is very helpful if you use string operators to break out numbers from different categories to different columns. Before you could not get a total of these "break out" values but now this is possible.
The command is added like this:
In the first Footer section, create a new Text Element by clicking on the green plus icon, and in the Text field write:
SUM([the name of the element you want the sum for])
This is an example when using a Custom field:
In this example we have Objects with a custom field called Purchase Price and you want to see the total value of the Purchase Price for all Objects in the report. When you design your Financial report one of the Groups could be ‘Object’.
In the Footer of the report you create a new Text Element from the green plus icon, and write (don't add a space after the word SUM):
The SUM element CANNOT be exported to excel
The SUM element cannot be used in a String Operator
The SUM value will only show decimals higher than .00 (e.g. will show .92, but not .00)
This command can be used for any field where the Input of that element is a number (whether it’s a money, Quantity or typed number in any form).
In 6.7 we also added to Project and Invoice Report to create Totals based on elements created with String Operators or values from Custom fields.
If you have created some new elements in the Project/Invoice Report Details or Element Row section using string operators or if you have number values added to custom fields you can create a Total of these values in the Project and Invoice Reports.
In the Report Total section click on the green plus icon and select "Text". In the Text box add the word SUM followed by a parenthesis containing the name of the element that should be summed up, for example if you created a new element called "Sell Row Editors", then the formula in the Text field should be SUM(Sell Row Editors). This will sum up all values from the selected element.
Note that if the number is round, i.e. does not have any decimals, the total will not show 00 for decimals.