Plain-language questions
Ask for average employee tenure per month, customer or product in the SQL Explorer with AI. The AI writes the SQL, you see the query and run it yourself; the AI only receives metadata.
KPI · HR
Average employee tenure is the average number of years that current employees have worked for the organisation. For each employee you take the time since their start date and calculate the mean. It says something about stability, accumulated knowledge and the make-up of your workforce.
Sum of (reference date − start date) across all current employees ÷ number of current employees
On 1 October 2026 the 150 employees of Acme Groothandel had 1,035 years of service between them. Average employee tenure is 1,035 ÷ 150 = 6.9 years.
Fictitious figures for Acme Groothandel, a sample wholesaler.
A longer average tenure points to a stable workforce with a lot of company knowledge. A short tenure can reflect rapid growth, but can also signal high turnover. Look at the spread: an average of seven years can hide a core group with twenty years of service and many new starters.
SQL & DAX
Two examples on a fictitious data warehouse for Acme Groothandel: a PostgreSQL query and a measure for a Power BI model. Adjust table and column names to your own model.
SELECT department,
COUNT(*) AS headcount,
ROUND(AVG((CURRENT_DATE - hire_date) / 365.25), 1) AS avg_tenure_years,
COUNT(*) FILTER (WHERE CURRENT_DATE - hire_date < 365) AS under_one_year
FROM employees
WHERE hire_date <= CURRENT_DATE
AND (termination_date IS NULL OR termination_date > CURRENT_DATE)
GROUP BY ROLLUP (department)
ORDER BY department NULLS LAST;Avg Tenure (years) =
VAR d = MAX ( 'Date'[Date] )
VAR Active = FILTER ( ALL ( Employees ), Employees[HireDate] <= d && ( ISBLANK ( Employees[TerminationDate] ) || Employees[TerminationDate] > d ) )
RETURN DIVIDE ( SUMX ( Active, DATEDIFF ( Employees[HireDate], d, DAY ) ), COUNTROWS ( Active ) * 365.25 )In ENABLE
Ask for average employee tenure per month, customer or product in the SQL Explorer with AI. The AI writes the SQL, you see the query and run it yourself; the AI only receives metadata.
Define the KPI as a measure in your Power BI model and show it in the portal, with "Last refreshed" next to it. Access profiles and optional row-level security decide who sees which figures.
Add the KPI as a tile to a custom dashboard, compared with last year. The Dashboard Builder is a pilot and can be switched on per client.
With the built-in Targets app you set a target for the KPI per month, so you see actuals and target side by side.
FAQ
For each current employee, calculate the years between their start date and the reference date. Add these up and divide by the number of employees. Use days divided by 365.25 for an accurate result.
It depends on your situation. Long tenure means retained knowledge and stability, but can also point to little movement and few new ideas. Look at turnover and the spread across ages and roles as well.
Average tenure is a snapshot of the current workforce. Retention rate measures how many people stayed over a period. A fast-growing organisation can have a short average tenure and still a high retention rate.
In an online demo we show how ENABLE makes your data securely available and how you build on it: describing an app in the AI Builder, plain-language questions, dashboards and APIs. And how we set it up and manage it for you.