Rev Starting Balance

Revenue facts defining the initial customer volume and price level at a given date and value type, used as the baseline for revenue evolution.

Facts

Definitions

ColumnDescription
dateDate in YYYY-MM-DD format, reference to Dates.
value_type_idType of value measured (links to Value Types, e.g., actuals, budget).
nr_of_customersVolume variable with number of customers contributing to this revenue change.
mrr_per_customerPricing variable, monthly recurring revenue.
total_mrrTotal Monthly Recurring Revenue as defined as volume (nr_of_customers) x price (value_per_customer)

Sample & Implementation

Revenue Starting Balance
datevalue_type_idnr_of_customersmrr_per_customertotal_mrr
2024-12-31230005000.00
CREATE TABLE IF NOT EXISTS revenue_starting_balance (
    date DATE NOT NULL,
    value_type_id INTEGER NOT NULL,
    nr_of_customers INTEGER NOT NULL,
    mrr_per_customer DOUBLE NOT NULL,
    total_mrr DOUBLE,
    FOREIGN KEY (date) REFERENCES dates(date),
    FOREIGN KEY (value_type_id) REFERENCES value_types(id),
    PRIMARY KEY (date, value_type_id)
)

Data Format

Field

Type

The primary key is formed by constrainst on dates, revenue types, and value types:
PRIMARY KEY (date, value_type_id)

Dependencies

On this page

Star us on GitHub

If you enjoy this content and find it useful, give us a star on GitHub to show your support and stay updated with our latest improvements.