Headcount and FTE in Power BI: snapshots and DAX

How to report headcount and full-time equivalents correctly, heads against FTE, headcount on a date as a balance, average headcount for a period, movements from opening to closing (hires, leavers, transfers), FTE from contracted hours, the DAX from hire and leave dates or monthly snapshots, and a headcount bridge chart.

Short answer: headcount counts people employed on a given date; FTE (full-time equivalent) adds up contracted hours divided by full-time hours, so two half-time employees are 2 heads and 1.0 FTE. Both are balances: report them at a date (usually month end) and use the average over a period as the base for rates, never the sum of months. A headcount bridge (opening headcount + hires - leavers ± transfers = closing headcount) explains every change.

Headcount looks like the simplest HR number until two reports disagree: one counts contractors, one counts people on leave, one sums months. Defining it once avoids that.

How do heads and FTE differ?

EmployeeContract hours per weekFull-time hoursFTECounted in headcount
Ana40401.00yes
Ben20400.50yes
Chen30400.75yes
Dana (parental leave)40401.00yes, as on leave
Eli (contractor)4040no, external
Total3.254 heads
Five employees on 30 September

Decide and write down: are people on long leave counted (usually in headcount, sometimes not in active FTE)? Are apprentices and interns counted? Contractors are usually reported separately.

How do you show the change over a period?

050100150200250186Opening 1 Jul+22Hires-11Leavers+3Transfers in-3Transfers out197Closing 30 Sep
Headcount bridge, Q3

Transfers matter at department level and cancel out for the company.

What is the DAX?

From an Employees table with Hire Date, Leave Date and contract hours (or a monthly snapshot table, which also captures changes in hours):

Headcount =
VAR D = MAX ( 'Date'[Date] )
RETURN
    COUNTROWS (
        FILTER (
            Employees,
            Employees[Hire Date] <= D
                && ( ISBLANK ( Employees[Leave Date] ) || Employees[Leave Date] > D )
                && Employees[Worker Type] = "Employee"
        )
    )

FTE =
VAR D = MAX ( 'Date'[Date] )
RETURN
    SUMX (
        FILTER (
            Employees,
            Employees[Hire Date] <= D
                && ( ISBLANK ( Employees[Leave Date] ) || Employees[Leave Date] > D )
                && Employees[Worker Type] = "Employee"
        ),
        DIVIDE ( Employees[Contract Hours], Employees[Full Time Hours] )
    )

Average Headcount =
AVERAGEX ( VALUES ( 'Date'[Year Month] ), CALCULATE ( [Headcount] ) )

Opening Headcount =
CALCULATE ( [Headcount], DATEADD ( FIRSTDATE ( 'Date'[Date] ), -1, DAY ) )

Headcount at a quarter or year level returns the value at the period's last date, which is what a balance should do. With monthly snapshots (one row per employee per month with FTE), the measures become CALCULATE ( SUM ( Snapshot[FTE] ), LASTDATE ( 'Date'[Date] ) ); see opening and closing balances.

What goes wrong?

  • Summing monthly headcount. 200 people for 12 months is not 2,400; use the closing value or the average.
  • Heads as the base for cost or output. Use FTE for productivity and cost per employee.
  • Hours changes lost. A table with only current hours rewrites history when someone goes part-time; keep monthly snapshots.
  • Different definitions in finance and HR. Agree on who counts and use one source.

Where can you check this?

Where do you start?

Write down who counts in headcount, then build Headcount, FTE and the quarterly bridge. Employee turnover uses the average headcount as its base.

Keep reading

More from the blog.

Every post

Next

Building this? Say hello.

A question about this post, a pattern you would build differently, or the next thing you want written out: Behnia reads every message.