2 points by Miceli_Baptiste 9 months | flag | 7 comments
Miceli_Baptiste 9 months | flag

Note that over can also be applied to any vector.
In this example: https://try.lokad.com/ku0dv1ujtnm66?tab=Output , we are computing all the sales done duriing a day before the ticket considered.

Miceli_Baptiste 9 months | flag

My script was private, please find here the sharable link: https://try.lokad.com/s/over_vector_example

Miceli_Baptiste 7 months | flag

Note that the interval over operates on is a value delimiter and not an index delimeter. In the example above ```envision
over Orders.OrdersDate = [-1..0]```
doesn't sum over the current and previous line but on all lines where the OrdersDate >= current OrdersDate - 1 and OrdersDate <= current OrdersDate