Partner-Influenced Revenue
Partner-Influenced Revenue: Revenue from deals where partners were involved (but may not have originated).
Formula
Partner-Influenced Revenue = Sum of closed revenue where partner = involved Computable definition
The canonical formula in the GASP formula grammar. The MCP server compiles it to SQL over the datasets listed below.
sum(field.opportunity_amount where field.partner_id is not null and field.opportunity_stage = 'closed_won' and in_period(field.close_date)) Unit: currency
Notes: Includes partner-sourced deals.
Data requirements
Grain: Per event, aggregate monthly · Frequency: Monthly · Aggregation: aggregate (month) · Staged: no · Main source: CRM.
| Field | Dataset | Type |
|---|---|---|
close_date | opportunity | date |
opportunity_amount | opportunity | decimal |
opportunity_stage | opportunity | string |
partner_id | opportunity | string |
snapshot_date | opportunity | date |
Example SQL (Postgres)
SELECT (SELECT COALESCE(SUM(opportunity_amount), 0) FROM opportunity WHERE snapshot_date = :period_end AND ((partner_id IS NOT NULL AND opportunity_stage = 'closed_won') AND (close_date >= :period_start AND close_date <= :period_end))) AS partner_influenced_revenue From an agent: with the GASP MCP server, call
lookup_metric({ "name": "Partner-Influenced Revenue" }) or generate_query({ "metric": "Partner-Influenced Revenue", "adapter": "<your adapter JSON>" }).
What It Tells You
Total partner impact on revenue.