andrecosta

accumulated events pioledb

Discussion created by andrecosta on Apr 22, 2014
Latest reply on Apr 22, 2014 by Gopal

Hello

 

I need to get the accumulated events from piarchive between two dates.

 

Lets suppose the following events in piarchive

 

01-01-2014  10:00:00 - 10.0

 

01-01-2014  11:00:00 - 11.0

 

01-01-2014  12:00:00 - 12.0

 

So, If I query accumulated data from 01-01-2014  10:00:00 to 01-01-2014  12:00:00 with step 1h, I'd like to have:

 

01-01-2014  10:00:00 - 10.0

 

01-01-2014  11:00:00 - 21.0

 

01-01-2014  12:00:00 - 33.0

 

Is that possible to do that with a query pioledb?

 

Thanks!

 

 

 

 

 

 

 

 

 

 

Outcomes