Forum Discussion
Anonymous
3 years agoNot applicable
Average Headcount Calculation
I need to calculate average headcount Will need help in arrving at below number in power bi. My excel look this Month Closing Headcount Avergae HC - Average function Oct 3585 3585 ...
- 3 years ago
Anonymous
1. you need to have a date column or year month column
2. you can create a column
Column = AVERAGEX(FILTER('Table','Table'[year month]<=EARLIER('Table'[year month])),'Table'[Closing Headcount])or a measure
Measure = AVERAGEX(FILTER(all('Table'),'Table'[year month]<=max('Table'[year month])),'Table'[Closing Headcount])pls see the attachment below
ryan_mayu
3 years agoSuper User
Anonymous
1. you need to have a date column or year month column
2. you can create a column
Column = AVERAGEX(FILTER('Table','Table'[year month]<=EARLIER('Table'[year month])),'Table'[Closing Headcount])
or a measure
Measure = AVERAGEX(FILTER(all('Table'),'Table'[year month]<=max('Table'[year month])),'Table'[Closing Headcount])
pls see the attachment below
- Anonymous3 years agoNot applicable
Thanks , this worked
- ryan_mayu3 years agoSuper User
you are welcome