I have the following problem: how to get the cumulative sum of, say, sales from january to current month. I managed to do that using rangesum and above. It works if you do not have any selection (first graph in the attached file).
I you select a subset of months, I am able to cumulate NOT since year start, but only for selected months (second graph).
I indeed would like to have the third graph in the file (which is "fake" right now). Possibly not writing LAOD scripts, since the real problem is much more complex than the example in the file.
I am aware that using set analysis and forcing the expression to consider all months, the graph then shows all months used in the set expressions, not only those selected (as in the first graph).