How to sum a timeseries (with start/end filters) in function?

I have a time series that I need to access from a function. I want to perform multiple operation on this timeseries: min, max, sum, etc.

Is it possible ? How can I get the min/max/sum of a time-series filtered to some time window ?

1 Like