Younium model

Account cmrr

Current committed MRR, ACV and TCV per customer account, as Younium computes them, with each account's share of total CMRR.

Grain
one row per account, as of the last sync
Built from
  1. 1
    Raw tables
  2. 1
    Staging
  3. 1
    Core
  4. 1
    Analytics
Reads from Younium
account
Ships as
Weld and dbt SQL, open source on GitHub
core.younium.account_cmrr
1-- core.younium.account_cmrr
2-- Current committed MRR, ACV and TCV per customer account, as Younium computes
3-- them, with each account's share of total CMRR.
4-- Grain: one row per account, as of the last sync. Not history: for movements over
5-- time use core.younium.mrr_movements.
6--
7-- cmrr is in the account's own currency; cmrr_base and the share are in the
8-- Younium base currency, so they add up across accounts.
9
10SELECT
11    account_id,
12    account_number,
13    account_name,
14    account_type,
15    parent_account_id,
16    country,
17    is_inactive,
18    created_at,
19    currency,
20    cmrr,
21    base_currency,
22    cmrr_base,
23    cmrr_base * 12                                        AS carr_base,
24    acv_base,
25    tcv_base,
26    SAFE_DIVIDE(cmrr_base, SUM(cmrr_base) OVER ())        AS share_of_total_cmrr,
27    RANK() OVER (ORDER BY cmrr_base DESC)                 AS cmrr_rank
28FROM {{staging.younium.account}}

This model and the 2 it depends on. Deploy them together; refs like {{staging.…}} resolve to the matching folders in Weld, and the dbt view uses source() and ref().

Notes

How it counts. And where it stops.

cmrr is in the account's own currency; cmrr_base and the share are in the Younium base currency, so they add up across accounts.

Raw tables it reads

  • raw.younium.account

Put Younium in front
of your agents.

Connect Younium, deploy the models, and ask questions in Claude, Cursor or ChatGPT. Free for 14 days, no credit card.