Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds a general KPI value as a row in the data table.
Syntax
protected void addGeneralCountKPIValue(
Name _kpiName,
real _goalValue,
str _queryName,
TableId _tableId,
FieldId _rangeField,
date _firstFromRange,
date _firstToRange,
date _secondFromRange,
date _secondToRange,
SMAKPIIndicatorType _indicatorType,
boolean _isCustomerReturn)
Run On
Server
Parameters
- _kpiName
Type: Name Extended Data Type
The name of the label for the KPI that is to be added.
- _goalValue
Type: real
The goal value for the KPI.
- _queryName
Type: str
The query name that is used to get the KPI value.
- _tableId
Type: TableId Extended Data Type
The table ID for which to apply the range.
- _rangeField
Type: FieldId Extended Data Type
The field ID for which to apply the range.
- _firstFromRange
Type: date
The first from range.
- _firstToRange
Type: date
The first to range.
- _secondFromRange
Type: date
The second from range.
- _secondToRange
Type: date
The second to range.
- _indicatorType
Type: SMAKPIIndicatorType Enumeration
The type of KPI, which can be positive or negative.
- _isCustomerReturn
Type: boolean
A Boolean value that specifies whether the specified KPI is the KPI for customer returns.