Share via


SMAKeyPerformanceIndicatorsDP.getTrendIndicator Method [AX 2012]

Retrieves the value of the trend indicator.

Syntax

public int getTrendIndicator(real _prevValue, real _currentValue)

Run On

Server

Parameters

  • _prevValue
    Type: real
    The value for the previous time period
  • _currentValue
    Type: real
    The value for the current time period.

Return Value

Type: int
The indicator of the trend, which can be up, flat, or down.

Exceptions

Exception Condition
Error

An unexpected indicator type was found.

See Also

Reference

SMAKeyPerformanceIndicatorsDP Class