If you want to use the months as a dimension you can't use set analysis expressions because the sets are calculated per chart and not per dimension value. You can try using an AsOf table. See this document: Calculating rolling n-period totals, averages or other aggregations. It looks like you want a rolling 12-month total. The AsOfTable Examples document has an example of that.