Forum Discussion
Anonymous
3 years agoNot applicable
Average Headcount Measure for Fiscal Year
Hi, I'm getting a totally different figure below for my Average Headcount for Fiscal Year 23, can someone please check my measure below and correct where I've gone wrong. My page has a Fiscal Ye...
- Anonymous3 years ago
The below measure works and brings my average headcount to 10766 which matches the Excel calculation in my screen shot.
Avg. Headcount FY = AVERAGEX(VALUES(DimDates[Month & Year]),[Headcount])
amitchandak
Super User
3 years agoAnonymous , Try like
Avg. Headcount FY =
VAR v_fydates = DATESINPERIOD(DimDates[Date], MAX(DimDates[Date]),12,MONTH)
RETURN
calculate(AVERAGEX(Values(DimDates[Month Year]), [Headcount]),v_fydates)
Anonymous
3 years agoNot applicable
Hi amitchandak
I've appplied the above measure but the figure is comming up to 11112, any other ways to do this?