A metric is a single number or time series chart, calculated automatically from your accounts and shown as a card at the top of the Apps tab. Instead of opening a report, doing arithmetic, or checking your ledger every time you want to know something like your average monthly spend or how many months of cash you have left, you build the calculation once, and Tenseri keeps it up to date every time you post a transaction. This guide covers building a metric, choosing the right time period for it, and a set of ready-made formulas for common questions.
Every metric is a small formula, made of up to three kinds of building blocks:
These blocks are combined with the operators +, -, \*, and /, using the ordinary order of operations: multiplication and division are evaluated before addition and subtraction, the same way you would work out the formula on paper.
1. Open the Apps tab.
2. Click + Create, then choose Metric.
3. Give the metric a name, such as "Monthly Spend Budget".
4. Under Date Period, choose how much of your ledger the metric should look at. See the next section for what each option means.
5. Under Formula, add the building blocks that make up the calculation, described below.
6. Check the Live Preview at the bottom of the builder, which shows the metric's current value as you build it.
7. Click Add Metric.
The metric now appears as a card on the Apps tab, recalculated automatically as new transactions are posted.
The Date Period setting controls which transactions the metric's account values are drawn from. Fixed numbers and time helpers are not affected by it.
| Period | Use it when you want to know |
|---|---|
| All Time | A running total or balance since the account was first used, such as total lifetime revenue. |
| This Month / This Year | How much has happened so far in the current month or year, updating each day as new entries are posted. |
| Last Month / Last Year | A completed period for comparison, such as reviewing last month's actual spend against this month's budget. |
| Specific Month / Specific Year | One fixed historical period that will not change as time passes, useful for a figure you want to keep as a permanent record. |
| Custom Range | Any other stretch of time, such as a project or a quarter that does not line up with a calendar month or year. |
| Time Series – Monthly / Yearly | How a number has changed over several periods, shown as a trend rather than a single value. See "Track a trend over time" below. |
1. Under Add Account Value, select the account.
2. Choose the value type:
3. Click Add.
The net value type is worth understanding carefully, because it is a plain subtraction, not the account's natural balance. For an asset or expense account, a positive net value lines up with how that account normally behaves, since those accounts increase with debits. For a liability, equity, or revenue account, which normally increase with credits, the net value will typically come out negative, because it is measuring debits minus credits regardless of the account's type. If a formula involving one of these accounts is producing a sign you did not expect, this is usually why; using debits total or credits total on its own, rather than net, avoids the confusion.
Under Add Fixed Number, enter a value and click Add. This is useful for percentages, such as a dividend rate, or for a target figure you want the formula to compare against.
Under Add Time Helper, choose one of the following and click Add:
| Time helper | Value |
|---|---|
| Months remaining in year | How many months are left, including the current one. |
| Months elapsed in year | How many months have passed, including the current one. |
| Current month number | 1 through 12. |
| Current year | The current calendar year. |
| Days in current month | The total number of days in the current month. |
| Days remaining in month | How many days are left in the current month. |
Time helpers are what make a metric answer a question like "how much can I spend per month for the rest of the year", since the same formula automatically adjusts as the year goes on, without needing to be rebuilt each month.
A few examples of problems a metric can solve, using the building blocks above:
Cash account (debits) ÷ Months remaining in year
Net Profit account × a fixed number, such as 0.4 for forty percent
Expenses account (debits) ÷ Months elapsed in year
(Revenue account − COGS account) ÷ Revenue account × 100
Build each of these by adding the account values, operators, and time helpers in order, exactly as they read left to right.
Each card on the Apps tab shows the metric's name, its current calculated value, the time period it is drawn from, and a small summary of the formula underneath, so you can tell at a glance what a figure represents without opening the builder. If a metric cannot be calculated, for example because it references an account that was later archived, the card shows a dash instead of a value.
Choosing Time Series – Monthly or Time Series – Yearly as the date period turns a metric into a chart instead of a single number. Set a From Year and To Year, and the metric recalculates the formula separately for each month or year in that range, plotting the results as a line so you can see whether a number is growing, shrinking, or holding steady.
Click Show data table underneath a time series chart to see the exact value for every point on the chart, along with the average across the whole range.
Because a time series recalculates the same formula many times over, it is best suited to formulas that make sense to compare period over period, such as monthly revenue or expense totals, rather than formulas that depend heavily on a fixed number meant for a single point in time.
Click Edit on a metric's card to reopen the builder with its current settings, make changes, and click Save Changes. Click Delete to remove the metric entirely; this only removes the calculation, not any of the underlying transactions or accounts it was drawn from.