Hi,
I am trying to run a LTM (Last 12 Months) analytics on my dataset using date range filters. To do this I use windowSum(sum(Revenue),[SaleDate ASC],12,0)
However the windowSum calculates the window sum within the filter range. I require the windowSum to calculate the window sum outside the date range filter.
Hi Max,
Thanks for your attempt to help. Unfortunately both suggestions didn’t work.
Your first suggestion the calculated fields still run the window within the filtered range and the second solution blows the sum out quite significantly.
This is what I am currently using
Based on the calculated field I am using, it starts the calculation within the filtered range and the GTV value for the last 12months starts at 0. The data set goes all the way back to 2010 so I need to be able to calculate the last 12months outside of the filtered range. PRE_FILTER would be able to resolve what I want to achieve however I am getting errors using windowSum.
Hope this makes sense.