Annual function
Applies to: TBM Studio 12.0 and later
Returns the value of a specified metric in the same table for a specified fiscal or calendar year, summing the values for the entire year. If no year is specified, the function is evaluated for the current year. This function returns the total for the entire year regardless of what month it is viewed in.
Annual is different from the YearToDate function, which sums data up to the month selected.
Where to use
- Calculated metrics and reports with metric columns
- Formula columns in report tables
- Dynamic text
Syntax
Annual(metric[,delta[,type]])
Arguments
metric
A metric in the same table. The function returns the sum of this metric for entire year.
delta
The number of years to look forward or backward if delta is negative. If not specified, delta defaults to 0.
type
- FY = Fiscal Year (Use for 445 variant and 13 period calendar projects)
- CY = Calendar Year (Use for Gregorian calendar projects only)
If not specified, type defaults to FY.
Return type
Number
Example
The following example returns the total Cost for the current year.
=Annual(Cost)
=Annual(Budget,0,"CY