I expanded on an idea from http://www.quickintelligence.co.uk/qlikview-accumulate-values/ to accumulate values by creating an associated period table. So far example, April 2015 refers to January to April of 2015, and November 2014 refers to January to November of 2014.
I've got a couple problems I'm looking to simplify with my script though:
there are several null values that are created in the A.Periods table
I've tried using Len>0 , but that doesn't seem to work
periods should be created to the most recent month (August 2015) but my script continues to December 2015
Should I use more if statements or is there a more simple approach?
//Creates periods from January 2011 to August 2015