Skip to main content
Solved

Aggregate function of average not resulting the correct value


Hello Cognite team,

 

Greetings! Below is a screen shot of 4 data points available for a specific timeseries id in a duration of 1 hour

 



For the above mentioned data points when i select the aggregate function (similar value being resulted from aggregate function api) i see an average value which is significantly higher than the original value (calculated manually) The data interval for the below points is for every 15 mins the first 4 data points for this timeseries is what you see in the below screen shot

 

 

Best answer by Dilesha Kodithuwakku

Hi @Manish Nethi ,

The average aggreation in CDF is defined as the ntegral of time series divided by the size of time range. So the average function computes the time-weighted average value of the time series per time range. Please refer to the documentation for further information.

Best regards,

Dilesha

 

View original
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+1

Hi @Manish Nethi ,

The average aggreation in CDF is defined as the ntegral of time series divided by the size of time range. So the average function computes the time-weighted average value of the time series per time range. Please refer to the documentation for further information.

Best regards,

Dilesha

 


  • Seasoned Practitioner
  • 223 replies
  • October 12, 2023

Hi @Manish Nethi,

Did the above help you? 


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings