GASP

Capacity

Capacity: Total billable hours available in period.

Formula

Capacity = Consultants × Available hours per consultant

Computable definition

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

sum(field.available_hours)

Unit: hours

Notes: Sum over consultants of available hours.

Data requirements

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

Field Dataset Type
available_hours consultant decimal
period_start consultant date
Example SQL (Postgres)
SELECT (SELECT COALESCE(SUM(available_hours), 0) FROM consultant WHERE period_start >= :period_start AND period_start <= :period_end) AS capacity

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

Try searching for:

↑↓navigate↵select