Skip to content

basalt / dashboard/src / churnRate

Function: churnRate() ​

> churnRate(canceledInPeriod, activeAtStart): number

Defined in: dashboard/src/metrics.ts:74

Churn rate over a period: customers lost ÷ customers at the start. Returns a fraction in [0, 1]; 0 when there were none at the start.

Parameters ​

canceledInPeriod ​

number

activeAtStart ​

number

Returns ​

number

Released under the MIT License.