How-to guide

How to Build a Power BI Deferred Revenue Schedule That Ties to the GL

A power bi deferred revenue schedule spreads every invoice across the months its service is delivered and tracks the balance still owed to customers as service. This guide is for the analyst or controller building that spread: the DAX that prorates partial months, how cancellations and credits change it, and the reconciliation that proves it ties to the general ledger.

A deferred revenue schedule answers an accounting question: of everything we have invoiced, how much have we earned, and how much is still a liability? That is a different job from the commercial view of a subscription business. If what you need is ARR, MRR movements, churn and net revenue retention for the board, that is a separate model, and our SaaS ARR and churn dashboard service builds it. This page stays on the revenue spread itself, and on the details that decide whether it matches the books.

The recognition policy itself, meaning when revenue is earned under ASC 606 or IFRS 15, is your controller’s and auditor’s decision. Everything below shows how to model the policy you already have, not which one to choose.

What does a deferred revenue schedule show in Power BI?

It shows, for every month, how much invoiced revenue was earned and how much is still owed to customers as service. Each invoice line is spread across its service period, and the month-end deferred balance equals everything billed to date minus everything recognized to date, which must match the GL liability account.

Finance teams usually read it as a rollforward. Each row below becomes one measure, and the closing balance of one month is the opening balance of the next.

Rollforward line What it contains Measure
Opening deferred balanceBilled minus recognized, up to the day before the period starts[Opening Deferred Balance]
BillingsInvoice and credit note lines dated inside the period, net of sales tax[Billings]
Recognized revenueThe share of each line’s service days that falls inside the period[Recognized Revenue]
Closing deferred balanceOpening balance plus billings minus recognized revenue[Deferred Revenue Balance]
GL differenceClosing balance minus the deferred revenue account in the ledger[Deferred Revenue Difference]

Where should the invoice data come from?

From the billing system’s invoice lines rather than the GL, because only the billing system knows each line’s service start and end dates. Check that your export carries those two dates before building anything. Where it does not, the schedule has to infer the term from plan names or contract records, and that inference becomes the weakest link.

Load one InvoiceLines fact table with a contract or subscription ID, the invoice date, ServiceStart, ServiceEnd and the line amount net of tax and discounts. Relate InvoiceLines[InvoiceDate] to the marked date table, and leave the two service dates unrelated: the recognition measure reads them directly. That keeps the model a plain star schema, as Microsoft recommends for Power BI (opens in new tab), with the date table as the only dimension the time logic depends on.

Stripe invoice line items carry a service period and mark proration adjustments as their own lines, which makes them a good source; our Stripe Power BI dashboard service covers the extraction. If you bill through Dynamics 365 Finance, Microsoft also publishes Power BI content for its subscription billing module (opens in new tab), which is worth checking before you build from scratch.

How do you spread an invoice across its service period in DAX?

Give every invoice line a service start and end date, then write a measure that counts how many of the line’s service days fall inside the visible period and multiplies the amount by that share. The measure handles any period length, so month, quarter and year columns all add up correctly.

Billings = SUM ( InvoiceLines[Amount] )

Recognized Revenue =
VAR _from = MIN ( 'Date'[Date] )
VAR _to = MAX ( 'Date'[Date] )
RETURN
CALCULATE (
  SUMX (
    FILTER ( InvoiceLines, InvoiceLines[ServiceStart] <= _to && InvoiceLines[ServiceEnd] >= _from ),
    VAR _s = IF ( InvoiceLines[ServiceStart] > _from, InvoiceLines[ServiceStart], _from )
    VAR _e = IF ( InvoiceLines[ServiceEnd] < _to, InvoiceLines[ServiceEnd], _to )
    VAR _termDays = DATEDIFF ( InvoiceLines[ServiceStart], InvoiceLines[ServiceEnd], DAY ) + 1
    RETURN InvoiceLines[Amount] * ( DATEDIFF ( _s, _e, DAY ) + 1 ) / _termDays
  ),
  REMOVEFILTERS ( 'Date' )
)

Three details matter. The period bounds are captured before CALCULATE, because the invoice-date relationship would otherwise limit the measure to lines invoiced inside the period, and an annual invoice raised in January would vanish from February onward. The FILTER keeps only lines whose service overlaps the period, so the clipped start can never fall after the clipped end. And both day counts add one, because service dates are inclusive: a line from the 1st to the 31st covers 31 days, while DATEDIFF counts the boundaries crossed between two dates (opens in new tab) and returns 30.

Which proration method should partial months use?

Use the method your accounting system already uses, because the Power BI schedule only ties to the GL if both spread revenue the same way. Daily proration is the most precise; equal monthly amounts and the mid-month convention are common simplifications. Ask the controller which one the revenue policy names before writing the measure. The same conventions apply to fixed assets, which our Power BI depreciation schedule guide spreads month by month from the asset register.

The table works one example through each method: a $12,000 annual invoice whose 365-day service period starts on the 15th of a 31-day month, so it ends on the 14th of the same month a year later and touches 13 calendar months.

Method How a month is calculated First month Full months Last month Change to the measure
DailyAmount × service days in the month ÷ days in the term$558.90 (17 days)$986.30 for a 30-day month, $1,019.18 for a 31-day month$460.27 (14 days)None — the measure above
Equal monthlyAmount ÷ months in the term; the start month counts in full$1,000.00$1,000.00Nothing; the 12 months end one month earlierCount months with DATEDIFF ( …, MONTH ) and weight each at one
Mid-month conventionHalf a month in the first and last month, a full month in between$500.00$1,000.00$500.00Weight the first and last months at 0.5

All three total $12,000; only the timing differs. If the Power BI schedule uses daily proration while the ledger posts equal monthly amounts, recognized revenue will differ every month by an amount that looks like an error but is a method mismatch, and it disappears once the measure follows the ledger’s rule.

How do you calculate the deferred revenue balance at month-end?

Subtract recognized revenue to date from billings to date, both measured from the first invoice up to the last day of the selected period. That is the same closing-balance pattern a balance sheet uses, and it returns the liability you report, so a year column shows the year-end balance rather than a total.

Deferred Revenue Balance =
VAR _end = MAX ( 'Date'[Date] )
VAR _billed = CALCULATE ( [Billings], REMOVEFILTERS ( 'Date' ), 'Date'[Date] <= _end )
VAR _recognized = CALCULATE ( [Recognized Revenue], REMOVEFILTERS ( 'Date' ), 'Date'[Date] <= _end )
RETURN _billed - _recognized

Opening Deferred Balance =
VAR _start = MIN ( 'Date'[Date] )
RETURN CALCULATE ( [Deferred Revenue Balance], REMOVEFILTERS ( 'Date' ), 'Date'[Date] < _start )

Watch for contracts billed in arrears. When service starts before the invoice date, recognition runs ahead of billing and the balance for that contract goes negative. That negative amount is unbilled revenue, an asset, and netting it against other customers’ deferred revenue understates the liability. Evaluate the balance per contract with SUMX ( VALUES ( InvoiceLines[ContractID] ), … ), then sum the positive results as deferred revenue and the negative ones as unbilled revenue. Use the contract rather than the invoice line as the grain, so credit notes net against the invoices they reverse.

How do you handle cancellations, credits and upgrades?

Never edit or delete the original invoice line. Book each cancellation, credit note or downgrade as its own negative line with a service period that starts on the effective date, and each upgrade as a new positive line. History then stays reproducible, and closed months keep the numbers that were reported.

Event How to record it Effect on the schedule
Cancellation with a refund or creditNegative line for the unused value, service from the cancellation date to the original end dateFuture recognition stops; the deferred balance falls by the credit
Cancellation with no refundIf policy recognizes the remainder at once: a negative line over the remaining term plus a positive line whose service starts and ends on the cancellation dateBillings net to zero; the remaining balance is recognized in the cancellation month
Mid-term upgrade or downgradeThe billing system’s proration lines as issued: a credit for the unused old plan and a charge for the new plan, each with its own service periodThe new rate applies from the change date; earlier months are untouched
Credit dated in a closed monthSet the credit’s service start to the first day of the open period, if that is your close policyThe catch-up lands in the open month instead of restating a reported one
Customer payment or cash refundNothing in this table; cash belongs in receivablesNone — deferred revenue moves on billing and recognition, not on cash

The no-refund row is a policy choice, not a modeling one. Some policies keep recognizing to the original end date when service technically remains available; confirm which applies before adding the paired lines.

How do you reconcile the schedule to the general ledger?

Compare two numbers every month-end: the schedule’s closing deferred balance against the GL deferred revenue account, and recognized revenue against the GL subscription revenue accounts. Put both differences on a validation page. A difference that is not zero points to a specific break, such as manual journals, tax in the amount or invoices outside billing.

The GL side uses the inception-to-date closing-balance measure from our Power BI balance sheet guide, filtered to the deferred revenue account. Deferred revenue is a liability, so it arrives from the ledger as a credit and needs its sign flipped:

GL Deferred Revenue = - CALCULATE ( [Closing Balance], Account[AccountName] = "Deferred Revenue" )

Deferred Revenue Difference = [Deferred Revenue Balance] - [GL Deferred Revenue]

Recognized revenue is checked the same way against the subscription revenue line of the Power BI profit and loss statement. When either difference is not zero, its pattern usually names the cause:

Pattern in the difference Usual cause Fix
Equals the sales tax on the period’s invoicesThe line amount includes tax, which is a liability to the tax authority, not revenueLoad the amount net of tax
Appears in one month and reverses the nextAn invoice dated in one period in billing was posted to the next period in the GLUse the GL posting date for billings, or align the cutoff
A constant amount from the first month onAn opening balance migrated into the GL as a journal when billing systems changedLoad one opening line per contract with its remaining service period
Small and recurring, every monthA different proration method in the ledgerMatch the method, as in the proration table above
Irregular, on specific datesManual journals and reclasses booked only in the GLBring them in as adjustment lines with a source column, so they stay visible

Putting it together

Load invoice lines with their service dates, spread each one with a day-share measure that ignores the invoice-date filter, pick the proration method the ledger uses, and compute the deferred balance as billed to date minus recognized to date at contract grain. Record every cancellation and upgrade as a new line rather than an edit. Then reconcile the first closed month to the GL; once both differences read zero, every later month inherits the same logic.

FAQ

Frequently asked questions

Start with the measure, because it works at any period grain and needs no refresh-time expansion. Build a materialized monthly schedule table, in Power Query or upstream in the warehouse, when finance needs to export line-by-month detail or when the invoice volume makes the measure slow on large visuals.

The customer was billed in arrears, so service started before the invoice date and recognition ran ahead of billing. That amount is unbilled revenue, an asset, not deferred revenue. Calculate the balance per contract and report positive balances as deferred revenue and negative balances as unbilled revenue on separate lines.

Yes. The measure only needs the service start and end dates, so a three-year term billed on day one spreads across all thirty-six months automatically. Consider showing the balance that will be recognized within the next twelve months separately, because many balance sheets split deferred revenue into current and non-current portions.

No, and it should not. A Power BI report reads data rather than posting to the ledger. Use the schedule to calculate and review each month's recognition, then post the entry in the accounting system or let its revenue module do it, and use the reconciliation page to confirm both agree.

Want a revenue schedule that matches the ledger at month-end?

Bring your billing export and chart of accounts to a free demo. Building the spread measure, the rollforward and the GL reconciliation on your own data is exactly the kind of task prepaid Flex hours cover — Starter $2,500, Growth $4,600 or Power $8,000, or hourly from $100. We scope it, you approve, and most focused builds land in 3–5 business days.

Scope approved before any hours are used · Hours never expire

Book a free demo

See what your Power BI reporting would take

Tell us the task. We reply within one business day, and you get a scope estimate and the hours needed before any work begins.

Step 1 of 2: What do you need?

How can we help? Pick one

Tap to add, or type your own:

Step 2 of 2: Where should we reply?

Used only to contact you about this inquiry.

We reply within one business day. Scope approved before any hours are used. We don’t sell your information.

Tell us the task. We scope it, you approve, and a senior consultant delivers — typically in 3–5 business days. Prepaid hours that never expire.

  • Prepaid hours from $100/hour — and they never expire
  • Senior-led delivery — 20+ years on the Microsoft platform
  • Typical 3–5 business day turnaround
  • Full refund if you’re unhappy in your first 4 hours
Book my free demo