public Nullable<double> GetPrevValue( Indicator indicator, User user )
Get the indicator value over the previous period
Syntax
public Nullable<double> GetPrevValue( Indicator indicator, User user )
Parameters
- indicator
- Type: Indicator
Indicator. Object. Access path: PublicAPI.KPI.Indicator
- user
- Type: User
User, if specified, then get the personal value. Object. Access path: PublicAPI.Portal.Security.User
Return Value
Type: Nullable DoubleIndicator Value over the previous period
Examples
//indicator - indicator, IIndicator type object //prevValue - Get the list of personal indicator responsibles var prevValue = PublicAPI.KPI.Indicator.GetPrevValue(indicator); //user - User, if specified, then get the personal value var prevValue = PublicAPI.KPI.Indicator.GetPrevValue(indicator, user);
See Also