MRR and ARR: monthly recurring revenue in DAX

How to calculate monthly recurring revenue and annual recurring revenue from subscriptions, normalising annual and quarterly plans to a month, the MRR movements new, expansion, contraction, churn and reactivation, an MRR bridge as a waterfall, and the DAX on a subscriptions table.

Short answer: MRR (monthly recurring revenue) = the sum of all active subscriptions' monthly value on a date: an annual plan of 1,200 counts as 100 a month, not 1,200 in the month it was paid. ARR = MRR × 12. One-off fees (setup, services) are not recurring and stay out. The change in MRR from one month to the next splits into new, expansion (upgrades), contraction (downgrades), churn (cancellations) and reactivation: shown as a waterfall, this MRR bridge says how the business grew.

Invoiced revenue jumps when annual plans renew; MRR moves only when customers really join, change or leave. That makes it the main growth number for subscription businesses.

How do the movements add up?

MovementMRRCustomers
Opening MRR, 1 Sep200.02,000
New+12.0105
Expansion+6.560
Reactivation+1.08
Contraction-2.525
Churn-5.050
Closing MRR, 30 Sep212.02,063
MRR movements in September (k)
050100150200250200Opening MRR+12New+6.5Expansion+1Reactivation-2.5Contraction-5Churn212Closing MRR
MRR bridge, September (k)

Net new MRR = 12 + 6.5 + 1 - 2.5 - 5 = +12k, a growth of 6% in the month; ARR = 212 × 12 = 2.54M.

What is the DAX?

A Subscriptions table with one row per subscription period: Customer ID, Start Date, End Date (blank while active), Plan Price, Billing Months (1, 3 or 12):

-- calculated column: the monthly value of each subscription row
Monthly Value = DIVIDE ( Subscriptions[Plan Price], Subscriptions[Billing Months] )

MRR =
VAR D = MAX ( 'Date'[Date] )
RETURN
    SUMX (
        FILTER (
            Subscriptions,
            Subscriptions[Start Date] <= D
                && ( ISBLANK ( Subscriptions[End Date] ) || Subscriptions[End Date] > D )
        ),
        Subscriptions[Monthly Value]
    )

ARR = [MRR] * 12

MRR Opening = CALCULATE ( [MRR], DATEADD ( FIRSTDATE ( 'Date'[Date] ), -1, DAY ) )

For the movements, compare each customer's MRR at the start and end of the month:

MRR Movements (by type) =
VAR PStart = MIN ( 'Date'[Date] ) - 1
VAR PEnd = MAX ( 'Date'[Date] )
VAR T =
    ADDCOLUMNS (
        VALUES ( Subscriptions[Customer ID] ),
        "@Start", CALCULATE ( [MRR], 'Date'[Date] = PStart ),
        "@End", CALCULATE ( [MRR], 'Date'[Date] = PEnd )
    )
RETURN
    SUMX (
        T,
        VAR S = [@Start]
        VAR E = [@End]
        RETURN
            SWITCH (
                SELECTEDVALUE ( 'MRR Step'[Step] ),
                "New", IF ( ISBLANK ( S ) && NOT ISBLANK ( E ), E ),
                "Expansion", IF ( S > 0 && E > S, E - S ),
                "Contraction", IF ( S > 0 && E > 0 && E < S, E - S ),
                "Churn", IF ( S > 0 && ISBLANK ( E ), - S )
            )
    )

'MRR Step' is a small disconnected table (Step, Order) for the waterfall's categories. "New" here includes reactivated customers; to separate them, test whether the customer had any subscription before PStart. Each CALCULATE with 'Date'[Date] = ... replaces the period filter with a single day, where MRR takes its MAX date.

What goes wrong?

  • Booking annual plans in one month. Normalise to a monthly value.
  • One-off fees in MRR. Setup and services inflate it; keep them in a separate revenue line.
  • Discounts. Use the price actually charged; a 100% discount is not MRR.
  • Free trials. Not MRR until they pay.
  • Currencies. Convert at a fixed rate for MRR trends, or exchange-rate moves look like expansion.

Where can you check this?

Where do you start?

Add a monthly value column to your subscriptions, build MRR at month end, then the bridge. Net revenue retention uses the same movements for existing customers.

Keep reading

More from the blog.

Every post

Next

Building this? Say hello.

A question about this post, a pattern you would build differently, or the next thing you want written out: Behnia reads every message.