Revenue Types

Revenue Types semantic contract, efinition of different types of customer revenue changes.

Semantic Contract

Definitions

ColumnDescription
idUnique identifier for the period.
nameRevenue type name. Allowed values are New Booking, Upsell, Downsell, and Churn.
Revenue TypeDescription
New BookingRevenue from a brand-new customer.
UpsellRevenue increase from an existing customer.
DownsellRevenue decrease from an existing customer.
ChurnRevenue lost due to customers leaving or canceling contracts.

Sample & Implementation

A list of Revenue Types
idname
1new_booking
2upsell
3downsell
4churn
CREATE TABLE IF NOT EXISTS revenue_types (
    id INTEGER PRIMARY KEY,
    name VARCHAR NOT NULL CHECK (name IN ('new_booking', 'upsell', 'downsell', 'churn'))
)

Data Format

Field

Type

Dependencies

  • None.

On this page