Forum Discussion

significant's avatar
significant
Frequent Visitor
8 years ago

Calculate weekly moving average for blank values and beginning of year

I need to create a rolling avarage with a window of 5 weeks.   The following measure: CALCULATE(if(countrows(values(logData[dateStampWeek])) = 1, CALCULATE( AVERAGEX(VALUES(logData[dateStampWe...