← Back to the blog
Custom KPIs

Build Any KPI You Want, on Your Own Live QuickBooks Data

Every finance team has "the one metric" the board keeps asking for that no off-the-shelf tool has a tile for. The KPI builder reaches any P&L line, any GL account, any unit-sales figure — combined into whatever formula the question actually needs.

The 12 working capital KPIs we ship built-in cover a real, common set of questions. They don't cover all of them. A per-unit freight cost. A discount rate as a percent of gross revenue. A trade spend ratio your specific investor asks about every quarter that isn't a standard ratio anywhere. Those need a formula nobody could have pre-built for you, because it's specific to how your business actually gets asked about.

How the formula actually works, mechanically

A KPI is a numerator and a denominator, each built from one or more signed terms, combined with one of four operators — add, subtract, multiply, or divide. Each term can pull from three different places:

A numerator isn't limited to one term, either — "Gross Revenue minus COGS" is two signed terms summed together before anything else happens to it, which is what makes something like a margin-on-margin ratio possible without a workaround.

A real example

Say the question is: "what's our freight cost as a percentage of Net Revenue, trailing three months?" That's a numerator pulling straight from the GL account booking freight spend, a denominator pulling from the company's own computed Net Revenue line, divided, over a T3M window:

Build a KPITrailhead Foods Co.
Numerator
+6120 · Freight Out
Operator
÷
Denominator
+Net Revenue
Period
Trailing 3 months
Category: Efficiency
4.8%
Freight % of Net Revenue
Illustrative example. The account, the subtotal, the operator, and the period are all picked from your own live company data, not a fixed template.

See the answer before you save it

The builder shows a live preview while you build. Pick the lines and the operator and it computes the formula on your own data straight away: the value as it will display, every input, the formula written out in words, and the monthly trend. If a line can't be found or a denominator is zero, you get a plain message instead of a blank card, so you find out before the KPI reaches a board package.

You don't have to start from a blank form either. Starter KPIs such as gross margin %, EBITDA %, marketing as a share of net revenue, and net revenue, COGS or gross margin per unit are one click away. DrillFi offers only the ones your books can support, built from your own line names, and you can change anything before you save.

The number format follows the formula. Dollars over dollars shows as a percentage, dollars over units shows as dollars per unit, and you can override it if you want something else.

Every KPI next to its budget and last year

A single number rarely settles anything. Where your budget or last year's figures exist for the same months, each KPI card shows them underneath: Marketing 11.3% of net revenue, budget 10.0%, last year 9.4%. The same line appears in the monthly package. Unit sales and some detailed GL accounts carry no budget, so those KPIs show whichever comparisons can be computed honestly, and none at all when neither can.

Time windows that actually mean what they say

Every custom KPI runs over Month-to-Date, Last Month, Trailing 3 Months, Trailing 12 Months, or Year-to-Date — and every one of those is scoped to whatever "As Of" period the rest of the app is showing, the same as the built-in working capital tiles. A T12M ratio checked in April looks at the trailing twelve months ending in April, including the tail of the prior fiscal year if fewer than twelve months have closed yet — not a truncated, silently-wrong window that only becomes "real" once a full year has passed.

Grouped the same way the built-ins are

Custom KPIs organize into named categories — Efficiency, Profitability, whatever grouping actually matches how your board reads a deck — the same titled-section pattern the working capital tiles use for Liquidity, Collections & Payables, Inventory, and Cash. Your own metrics sit alongside the built-in ones on the same KPI tab, not in a separate, disconnected part of the app.

Four ways to see the same number

The same KPI doesn't have to look the same way twice. Each one can render as any of four formats, picked per KPI, not locked in at creation:

Same underlying formula, same live data, four different lenses on it — pick whichever one actually answers the question being asked.

ProfitabilityTrailhead Foods Co. · one KPI, four formats
⠿⠿TILE
GROSS PROFIT
$920,000
Trailing 3 months
⠿⠿CALCULATION
GROSS PROFIT
Gross Revenue$2,650,000
− COGS$1,730,000
Gross Profit$920,000
⠿⠿BAR GRAPH
GROSS PROFIT
$330K
Nov
$360K
Dec
$255K
Jan
$270K
Feb
$315K
Mar
$335K
Apr
⠿⠿LINE GRAPH
GROSS REVENUE OVER TIME
$1.2M $600K $0 Nov Dec Jan Feb Mar Apr
Illustrative data for a hypothetical company. Bar totals and the calculation card foot to the same $920,000 T3M Gross Profit; the line chart plots the Gross Revenue that Gross Profit is built from.
Related

Start with the 12 that are already built in

DSO, DPO, Cash Conversion Cycle, and nine more — computed live, every formula visible, before you ever need to build your own.

Bring your own metric.

Connect your QuickBooks Online company and see your own variances. Free while DrillFi is in early access. No credit card.

Start free trialor try the KPI builder in the live demo