ChewCheeLim

[Average, [-11057] Not Enough Values For Calculation] Error

Discussion created by ChewCheeLim on Mar 24, 2014
Latest reply on Mar 26, 2014 by ChewCheeLim
Hi There, I am getting this error while retrieving data for computed values. --> hourly average. code snippet:- AFTimeRange oRange = new AFTimeRange(dtBegin, dtEnd);             IDictionary aPiValues = null;             try             {                 aPiValues = oAfAttribute.Data.Summary(oRange,AFSummaryTypes.Average ,AFCalculationBasis.EventWeighted, AFTimestampCalculation.Auto);                              } Hourly date range:- {3/15/2014 12:00:00 AM - 3/15/2014 1:00:00 AM } Error received in aPiValues object Count = 1 [0]: {[Average, [-11057] Not Enough Values For Calculation]} Is there a min PI data required for this Average computation? How about Min() and Max(). We are using those computed values as well. Many thanks!

Outcomes