Upsell Rate
Upsell Rate: The percentage of customers eligible for an upgrade at period start who upgraded in the period.
Formula
Upsell Rate = Eligible customers at start of period who upgraded in the period / Customers eligible for upgrade at start of period × 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.customer_id where field.amendment_type = 'upgrade') / count_distinct(field.customer_id where field.upgrade_eligible = true) at period_start over cohort(field.customer_id, period_start where field.upgrade_eligible = true) Unit: percent (the formula yields an unscaled ratio)
Notes: Over the customers active and eligible for an upgrade on the first day of the period (cohort method): a customer counts when an upgrade amendment of theirs falls in the period. A customer who joins or becomes eligible inside the period and upgrades in it is outside this rate.
Data requirements
Grain: Customer cohort at period start · Frequency: Monthly · Aggregation: cohort (month) · Staged: yes, a cohort or prior-period comparison that a staged dataset makes cheaper · Main source: Billing.
| Field | Dataset | Type |
|---|---|---|
amendment_type | amendment_event | string |
customer_id | amendment_event | string |
customer_id | customer | string |
customer_status | customer | string |
event_date | amendment_event | date |
snapshot_date | customer | date |
upgrade_eligible | customer | boolean |
Example SQL (Postgres)
SELECT (CAST((SELECT COUNT(DISTINCT customer_id) FROM amendment_event WHERE event_date >= :period_start AND event_date <= :period_end AND amendment_type = 'upgrade' AND customer_id IN (SELECT customer_id FROM customer WHERE snapshot_date = :period_start AND customer_status = 'active' AND upgrade_eligible = TRUE)) AS DOUBLE PRECISION) / NULLIF((SELECT COUNT(DISTINCT customer_id) FROM customer WHERE snapshot_date = :period_start AND upgrade_eligible = TRUE AND customer_id IN (SELECT customer_id FROM customer WHERE snapshot_date = :period_start AND customer_status = 'active' AND upgrade_eligible = TRUE)), 0)) AS upsell_rate From an agent: with the GASP MCP server, call
lookup_metric({ "name": "Upsell Rate" }) or generate_query({ "metric": "Upsell Rate", "adapter": "<your adapter JSON>" }).
What It Tells You
How well you turn upgrade headroom into upgrades.