PublicAPI.KPI.Indicator.GetCurrentValue ELMA API Documentation
Get the indicator value over the current period
 
 
Syntax

public Nullable<double> GetCurrentValue(
	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 Double 
Indicator Value over the current period
Examples

//indicator - indicator, IIndicator type object 
//currentValue - Get the list of personal indicator responsibles 

var currentValue = PublicAPI.KPI.Indicator.GetCurrentValue(indicator);

//user - User, if specified, then get the personal value 
var currentValue = PublicAPI.KPI.Indicator.GetCurrentValue(indicator, user);
See Also