GVD Returns the number of daily violations in the date range specified by the Offset and Grouping for the variable. Counts all values that are above the Daily Max Limit (DMAX) and all values that are below the Daily Min Limit (DMIN). See Limits Setup for information on entering limits.
SYNTAX:
GVD(VarNum,GroupOffset/StartDate,Grouping/EndDate)
VarNum: The variable number to get the average for.
GroupOffset/StartDate: Used with the Grouping parameter to set the dates to calculate the stat for. Sets the number of Groups (set by the Grouping Parameter) to be added to set the dates. See examples below. If this field is a date string (i.e. "07/16/2004") or refers to a cell with a date in it, it is assumed to be the start date to calculate the stat for.
Grouping/EndDate: Used to set which dates to calculate the stat for. If the Grouping is a date literal string (i.e. "07/16/2004") or refers to a cell with a date in it, it is assumed to be the end date to calculate the stat for. Common Groupings are:
"D" Days
“M” Monthly
"R" Report Dates
Click here for availiable Grouping options
NOTES:
In Design, Spread Reports use Locate, Group Summary to place this formula on a report.
EXAMPLES:
GVD(1,2,"M") Returns the number (count) of daily violations for variable 1, of the 2nd month of the report.
GVD(11,"1/1/04",1/7/04") Returns the number (count) of daily violations for variable 11 from 1/1/04 through 1/7/04.