Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
stevemills04
Regular Visitor

Average Employee Count

Hi All! First time PBI user. I have a report that contains Employee Names, Unique ID, Hire Date, Termination Date and Status (Active, Terminated). My goal is to calculate monthly, quarterly and yearly average headcount. Internally, we calculate monthly headcount by taking the number of active employees on the 1st of the month, 15th of the month and last day of the month and dividing by 3. Then, the quarter and yearly are the sum of the monthly averages divided by the number of completed months. How do I go about calculating this in Power BI so that I can use a month/qtr/year slicer on my visuals? I don't know where to begin.
3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

 

Share a dataset and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Ashish, thanks for the reply. Here are some screenshots of what I do in Excel and I am trying to translate it to Power BI. There are the exact files I am connecting to.

 

Screenshot of what I use to calculate average employees3y0jj7N

 

 

 

 

 

 

Screenshot of my Terminations ListszVGhf3

 

 

 

 

 

 

And finally, the summary page of my results as they appear in Excel (Would use a combo of tables and visuals in Power BI)pn9xmGY

 

 

Hi,

 

I cannot understand anything from those screenshots.  I will need to see that Excel file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.