Plain-language questions
Ask for production lead time 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 · Inventory, purchasing and production
Production lead time is the time between starting a production order and the product being finished. It covers not just processing time but also waiting, moving and inspection between steps. A shorter lead time makes you more responsive and reduces work in progress.
Sum of (completion time − start time) across finished production orders ÷ number of finished production orders
In May 2026 Acme Groothandel completed three production orders for a private-label product. From start to finish they took 20, 28 and 36 hours. The average production lead time is (20 + 28 + 36) ÷ 3 = 28 hours.
Fictitious figures for Acme Groothandel, a sample wholesaler.
A shorter lead time means faster delivery and less capital tied up in work in progress. Compare lead time with pure processing time: the difference is waiting, and that is usually where the biggest gains are. Compare by product or product family with your own earlier periods and look at the spread too.
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 date_trunc('month', finished_at) AS month,
COUNT(*) AS production_orders,
ROUND(AVG(EXTRACT(epoch FROM finished_at - started_at) / 3600)::numeric, 1) AS avg_lead_time_hours,
ROUND(AVG(run_minutes / 60.0)::numeric, 1) AS avg_run_hours,
ROUND((PERCENTILE_CONT(0.9) WITHIN GROUP (
ORDER BY EXTRACT(epoch FROM finished_at - started_at) / 3600))::numeric, 1) AS p90_lead_time_hours
FROM production_orders
WHERE finished_at IS NOT NULL
GROUP BY 1
ORDER BY 1;Finished Orders = CALCULATE(COUNTROWS(Production), NOT ISBLANK(Production[FinishedAt]))
Production Lead Time (hours) = DIVIDE(SUMX(FILTER(Production, NOT ISBLANK(Production[FinishedAt])), DATEDIFF(Production[StartedAt], Production[FinishedAt], MINUTE)) / 60, [Finished Orders])In ENABLE
Ask for production lead time 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 finished production order, subtract the start time from the completion time and take the average. Decide what counts as the start: releasing the order or the first operation. Apply that definition consistently.
Processing time is the time someone or something is actually working on the product. Lead time is the total time from start to finish, including waiting and moving. The share of processing time in lead time is often called flow efficiency.
Start by finding where orders wait, because that is usually most of the lead time. Smaller batches, less work in progress at once and a bottleneck that never stands idle often help. Measure after each change whether lead time and its spread really fall.
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.