Hi,
I'm using the User Chart in 3.6 to plot a metric and then a moving average of this metric.
The Moving Average function accepts a parameter for a choice of Backward, Forward, Centered.
I am calculating a moving average over 7 days, and when I choose Backward I expect it to average today's value, plus the previous 6 days' values. If I choose Forwards I expect it to average today's value plus the next 6 day's values.
However it seems to be working the other way round. Forwards looks at today plus previous 6 days, and Backwards is today plus the 6 days into the future. Have I got my expectations the wrong way round? Now that I've figured out the way it works I can use Forwards all the time, but I wanted to check. Example of the formula I'm using is below (this is running against a user metric I added)
smooth(measures("Body", "Body_Battery"),sma, forward,7)
David