Category:

Database related

Statistical (aggregate)

Standard

RReturns count of non-empty values in a dataset field.

Syntax

dataset_count(
  StepNo Integer,
  GroupLevel Integer,
  FieldName String
): Integer

Parameters

StepNo specifies the export step, in which the function must be calculated. It is used in HTML export context only; in other cases this parameter is ignored.

GroupLevel is reserved for future use and currently must be 0.

FieldName is the name of the field to calculate.

Return value

Type: Integer.

Examples of using

dataset_count(1, 0, 'LastPaymentDate')