Forum Discussion
Hiring, termination, Active Headcount based on historical data
Hi, Anonymous
Please check the below picture and the sample pbix file's link down below.
Active Headcount =
CALCULATE (
DISTINCTCOUNT ( Data[id] ),
FILTER (
Data,
OR ( Data[end_date] >= MIN ( Dates[Date] ), Data[end_date] = BLANK () )
&& Data[start_date] <= MAX ( Dates[Date] )
)
)
https://www.dropbox.com/s/l9uhw7owv0z5xjg/kunalv2.pbix?dl=0
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
- Jihwan_Kim5 years ago
Super User
Hi, Anonymous
Sorry, I am not sure whether your response is a question.
- Anonymous5 years agoNot applicable
Jihwan_Kim Also, if you could assist with the logic behind calculating hire & termination count . The situation looks like for event in progress scenario. Many thanks.