GASP

Project Escalation Rate

Project Escalation Rate: Percentage of projects with escalations.

Formula

Project Escalation Rate = Projects with escalations / Total projects × 100

Computable definition

The canonical formula in the GASP formula grammar. The MCP server compiles it to SQL over the datasets listed below.

count_distinct(field.project_id where field.escalated = true) / count_distinct(field.project_id)

Unit: percent (the formula yields an unscaled ratio)

Data requirements

Grain: Weekly snapshot · Frequency: Weekly · Aggregation: snapshot (week) · Staged: no · Main source: PSA.

Field Dataset Type
escalated project boolean
project_id project string
snapshot_date project date
Example SQL (Postgres)
SELECT (CAST((SELECT COUNT(DISTINCT project_id) FROM project WHERE snapshot_date = :period_end AND escalated = TRUE) AS DOUBLE PRECISION) / NULLIF((SELECT COUNT(DISTINCT project_id) FROM project WHERE snapshot_date = :period_end), 0)) AS project_escalation_rate

From an agent: with the GASP MCP server, call lookup_metric({ "name": "Project Escalation Rate" }) or generate_query({ "metric": "Project Escalation Rate", "adapter": "<your adapter JSON>" }).

Try searching for:

↑↓navigate↵select