web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Capturing Active # of Employees Per Month

(0) ShareShare
ReportReport
Posted on by 70

In Power BI, I have the following metric:

I need to calculate the average number of total number of employees in the fiscal year (Nov. 2020-Oct. 2021) based on the maximum number of employees in one month. Obviously this number changes weekly. This number is not captured in any way. 

There are two dates of interest:

The employee start date and employee inactivated date. In addition, the users active status.

So is this possible to do in SQL? Would you recommend writing a stored procedure that populates a table?

Categories:
I have the same question (0)
  • Suggested answer
    Josh Page Profile Picture
    on at

    The 3 datapoints you noted are all in the UPR00100 (plus one alternate date you may want).

    select STRTDATE,LASTDAYWORKED_I,DEMPINAC,Inactive,* from UPR00100

    The columns above map to the following in the employee Maintenace window.

    STRTDATE: Hire date

    LASTDAYWORKED_I: last day worked (not a required field)

    DEMPINAC: Date inactivated.

    Inactive: Is the employee active (0) or inactive (1).

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 565 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans