Share via


SMAKeyPerformanceIndicatorsDP.addGeneralRatioKPIValue Method [AX 2012]

Adds a KPI value as a row to the input data table.

Syntax

protected void addGeneralRatioKPIValue(
    Name _kpiName, 
    real _goalValue, 
    real _defaultValue)

Run On

Server

Parameters

  • _goalValue
    Type: real
    The goal value for the KPI.
  • _defaultValue
    Type: real
    The default value for the KPI, which is used when there are no data in the database.

Remarks

This method is applicable for KPI that are the ratio of two values that can be retrieved from two Microsoft Dynamics AX queries. The value is calculated as the first query divided by the second query.

See Also

Reference

SMAKeyPerformanceIndicatorsDP Class