given accumulated data matrix table, ?make previous 5-day average?
Hi,
I have a load statement that works and finds the accumulated values of an attribute over days.
X1:
load attribute, a_date, count(customer_id) as Accum
resident Input_Table
group by attribute, a_date;
But what I need now is a load statement to make a new table that calculates, for every a_date and attribute, the average of the Accums for the previous 5 days. ?Can you help me please?
Now, I can do this in a pivot-table using the RangeAvg function just fine, but you can't access the results of that nice pivot table by anything in QV at all, so I need a resident table that I can refer to later on.