@isyear

Definition

Is a year

A relative time reference in @if statements.

Returns

  • True—if the period is a year or yearend

  • False—if not

Example

If 2007 is in years and 2008 is in quarters, this formula:

@if(@isyear, 1, 2)

returns 1 in 2007, and 2 for each quarter in 2008.

If this function was built using Using User-Defined Accounts with the None option, the 2008 year-end aggregate period returns 1.