Forum Discussion
Anonymous
3 years agoNot applicable
Calculating 28day Rolling Average for Run Time
Hi, I used this formula to calculate AVG run-time: ------------------------------------------------------------------- AVG RunTime(secs) = AVERAGEX( 'Run Time', DATEDIFF('Run Time'[StartTim...
- 3 years ago
Anonymous , Join start or end date with the date of date table and try (Date without time stamp)
Rolling 28 = CALCULATE(AVERAGEX( 'Run Time',
DATEDIFF('Run Time'[StartTime],'Run Time'[EndTime],SECOND)
),DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-28,DAY))
amitchandak
Super User
3 years agoAnonymous , Join start or end date with the date of date table and try (Date without time stamp)
Rolling 28 = CALCULATE(AVERAGEX( 'Run Time',
DATEDIFF('Run Time'[StartTime],'Run Time'[EndTime],SECOND)
),DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-28,DAY))