You can use the SumTimeGridRow business rule to calculate the sum of a time grid row in a given time span. The result is displayed in the business rule container attribute. If the values in the row change, the sum is automatically updated. The cells to be included in the calculation must either be date or attribute, and not a mix of both.
Before you begin
To use the SumTimeGridRow business rule, you need the following information:
▪ The names of the time grid attribute, sheet, and row to calculate the sum for.
▪ The start date and end date, either as references to attributes containing start and end dates, or on the format "YYYY-MM-DD". If you do not specify a start or stop date, the entire row is used.
Procedure
1 Create an integer attribute.
2 In the integer attribute, enter your business rule in the following format:
The sum of the time grid row is calculated as a decimal number, and displayed in the integer attribute.
▪ SumTimeGridRow is calculated as a decimal. To display the sum as a decimal, enter the business rule in a float attribute instead.
▪ SumTimeGridRow business rule is not supported in the link aggregate time grid.
Example
▪ From the Financial time grid attribute, you can calculate the sum of the Expenditures row in the Budget sheet. The calculation starts in cell A1 for the period that is specified in the Start Date and End Date attributes in the Phoenix element in the Projects module: