MRR View

Monthly Recurring Revenue (MRR) at a given date and value type.

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).
net_new_mrrNet new MRR calculated as new customers plus upsell minus downsell minus churn, per date and value type.
cum_net_new_mrrCumulative sum of net_new_mrr.
current_baseMRR at the beginning of the period.
ending_balanceMRR at the end of the period.

Sample & Implementation

MRR View
datevalue_type_idnet_new_mrrcum_net_new_mrrcurrent_baseending_balance
2025-01-0121940001940001500000015194000
2025-02-0122542944482941519400015448294
2025-03-0122545847028781544829415702878
2025-04-0122548709577481570287815957748
2025-05-01225515112128981595774816212898
2025-06-01225542714683261621289816468326
2025-07-01225066517189911646832616718991
2025-08-01225092819699191671899116969919
2025-09-01225118822211071696991917221107
2025-10-01225144424725521722110717472552
CREATE TABLE IF NOT EXISTS mrr_view (
    date DATE NOT NULL,
    value_type_id INTEGER NOT NULL,
    net_new_mrr INTEGER NOT NULL,
    cum_net_new_mrr INTEGER NOT NULL,
    current_base INTEGER NOT NULL,
    ending_balance INTEGER NOT NULL,
    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 and value types:
PRIMARY KEY (date, value_type)

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.