Hello,
I believe you could calculate this by using two of the periodic operators in VA:
CumulativePeriod will return the year-to-date value for each quarter if you specify ByQuarter as the inner interval and ByYear as the outer interval.
Period will return the value for the current year if you specify ByYear as the interval.
So, you could make an expression like this:
CumulativePeriod(_Sum_, 'Expenses'n, _IgnoreAllTimeFrameFilters_,
'Quarter'n, _ByQuarter_, _ByYear_, 0, 1, _Full_, {Date}) / Period(_Sum_, 'Expenses'n, _IgnoreAllTimeFrameFilters_, 'Quarter'n,
_ByYear_)
And get a result like this:
This is not exactly the same thing as the data in your opening post. You need the quarter and year to be the same column for this to work. In addition, your report object can only have one date column it for the periodic functions to work. You could work around this somewhat by making an extra character column with the years, for example.
Let us know if that helps,
Sam
... View more