I've not tried it, but think I might have a solution in mind for this.
I'm sure it's not the most efficient way, so please let me know if there's any better suggestions.
Create a trigger set to run every refresh and create several variables, maybe 60 in my case, and one additional variable for the average.
Variable1 = Variable2
Variable2 = Variable3
Variable3 = Variable4
Variable4 = Variable5
So on...
Variable60 = back_amount
Average_variable = (Variable1 + Variable2 +... + Variable60) / 60
Maybe I'm missing something but I'll give it a try.