misstoffeepenny
New Member
- Joined
- Jan 18, 2021
- Messages
- 19
- Office Version
- 365
- 2016
- 2011
- Platform
- Windows
Hi all, I've been trying to calculate the rolling average of 'employee count' to use in within another calculation but the formula I have doesn't appear to take the last 12 months but the entire column average, any help appreciated.
Formula:
=CALCULATE((sum('Accident Log'[Count RIDDOR])/AVERAGE(EmployeeCount[Employee Count])*100000),DATESINPERIOD('Calendar'[Date],Max('Calendar'[Date]),-12,MONTH))
Note all my tables have linked relationships and link through a calendar table.
Formula:
=CALCULATE((sum('Accident Log'[Count RIDDOR])/AVERAGE(EmployeeCount[Employee Count])*100000),DATESINPERIOD('Calendar'[Date],Max('Calendar'[Date]),-12,MONTH))
Note all my tables have linked relationships and link through a calendar table.