Skip to content

Expression Lines

Valuation starts from a company’s reported financial statements, but those statements are prepared for accounting. Reporting standards decide how items are grouped and measured, and these choices rarely match what a valuation needs. Many reported lines are also totals that combine items with very different economics. Total assets, for example, can mix the assets that run the business with excess cash and financial investments.

To build a valuation model, the history has to be reshaped before the valuation engine can use it: totals are split into their components, items are reclassified, and adjustments are applied. The model must also describe how each line is expected to develop in the forecast years.

Expression lines serve both purposes. Each expression line has a formula, called an expression, that calculates its value from other financial lines, its own earlier values, arguments, and assumption curves.

Each business segment has its own income statement, balance sheet, and cash flow statement. Each statement is a hierarchy of financial lines, such as Balance Sheet › Assets › Current Assets.

An expression line sits under one of these financial lines, not under the segment as a whole. An expression line placed under Current Assets models part of that segment’s current assets.

A financial line can have several expression lines. Under Current Assets, a model might keep separate expression lines for cash, receivables, and inventory. Each follows its own logic, so receivables can move with revenue while cash follows a separate assumption.

To add an expression line, open the business segment, select the financial line it belongs under, and enter the formula in the Expression field. See Business Segments and Valuation Models for how segments and statements are organized.

An expression holds an economic relationship, such as “expenses are a share of revenue”. Arguments and assumption curves hold the expectations that feed it, such as the size of that share.

Because the two are kept apart, a scenario can change expectations without rewriting the model. Change the expression only when the relationship itself changes.

An expression only calculates years that have no actual value. Where a reported or derived actual value exists, DeepFinance uses that value instead. When a new report arrives, its actual values replace the forecast for those years, and the forecast continues from the refreshed figures using the same expression.

This expression grows a line from its previous year’s value:

this.PrevY * (1 + AssumptionCurve.RevenueGrowth)

this.PrevY is last year’s value of the expression line being calculated. AssumptionCurve.RevenueGrowth is the growth rate that the curve supplies for the year being calculated. If last year’s value is 100 and the curve supplies 0.05, the result is 105.

Rates are written as decimal fractions, and they should match the period being compared. In this example, 0.05 means 5% growth over one year.

The patterns below use illustrative argument and curve keys. Arguments ending in Key are string arguments that hold the key of a financial line.

An expense as a share of revenue:

Val(Args.RevenueKey, Cur.Year, 4) * Args.ExpenseRatio

With revenue of 1,000 and a ratio of 0.20, the result is 200. Choose the sign of the ratio to match the statement’s sign convention. The same form models a working capital balance from revenue.

Growth smoothed over recent years:

this.PrevY * (1 + MOVAVG(Args.GrowthRateKey, 3, PrevY.Year))

The average covers the three years ending in the previous year, so it never reads the value currently being calculated.

Growth kept within a range, with a fallback:

this.PrevY * (1 + CLAMP(COALESCE(AssumptionCurve.RevenueGrowth, Args.DefaultGrowth), -0.10, 0.20))

The default rate applies when the curve has no value for the year, and the result is held between -10% and 20%. A fallback should reflect a deliberate modelling choice rather than hide a missing input.