I\'m struggling to build a query that dynamically constructs a cumulative sum using a date range.
To put the question metaphorically, I\'m looking to calculate the av