Investigating Teamlane's data · Week 4 · ≈ 70 min
KPI definitions and month-over-month growth
Same week: The Teamlane decision: A metric tree for profitable MRR
Resources for this lab
- ↓ Dataset: saas_mrr.csvCSV · 446 KBTeamlane, one row per paying account per month, 2025 (synthetic)
- ↓ Data dictionaryMarkdown · 2 KBwhat each field means, how it is calculated, how to aggregate it
- ↓ Template: metric dictionaryWord · 36 KB · also Markdown, 1 KBTask 4
- ↓ Template: decision logWord · 36 KB · also Markdown, 1 KBthe closing exercise
- ◇ Your workbook Teamlane_L03from Lab 3; save this lab as Teamlane_L04
The founder's question this week: "Give me five numbers for the board, and make sure finance gets the same values."
In the lecture (week 4) two people computed churn from the same file and got 2.5% and 3.2%. A written metric contract settled it. Today you do the same in Tableau for five numbers: implement each definition, check it by hand, and prove that a filter changes the numerator and the denominator together.
You need: Teamlane_L03, saas_mrr.csv and the metric-dictionary template. Save as Teamlane_L04.
Time: 80 minutes (0–5 reopen the workbook, 5–15 brief, 15–75 the four tasks, 75–80 save and share one finding).
Deliverables: the KPI sheet, a month-over-month growth view with one manual check, a ratio-validation sheet, five
metric definitions and one filter reconciliation.
Adapted for Teamlane from the ProtoMarket version of Lab 4: same tasks, techniques and checkpoint.
Brief: from a definition to a calculation
A metric dictionary is a list of contracts. Each entry states the decision it informs, the formula with its numerator and denominator, the unit, the population and time window, the grain and source fields, filters and exclusions, how nulls and zeros are treated, the owner and refresh, the evidence type, known limits, and a manual check with a known answer. The test: two people with the entry and the data get the same value.
Three facts about saas_mrr.csv decide how the formulas are written:
- One row is one paying account in one month.
COUNTD([Account ID])counts accounts;COUNTof rows counts account-months. They agree only inside one month. - MRR is a monthly quantity.
SUM([MRR])over the whole year is revenue billed in 2025 (€1,649,633.80), not MRR. So the KPI sheet always has a month in scope, and ARPA =SUM([MRR]) / COUNTD([Account ID])is only ARPA when both are taken over the same month. - Ratios are computed as totals. Gross margin is
SUM([Gross Profit]) / SUM([MRR]), a ratio of totals. Tableau computesSUM()inside a calculated field over whatever rows are in scope (a month, a plan, a region), so one field gives the right ratio at every level of the view.
Growth needs a different tool. A table calculation works on the aggregated marks already in the view: it takes each month's SUM(MRR) and compares it with the previous mark. Two settings matter: addressing (which direction it moves: along Month) and sort order (oldest first). January has no previous month in the data, so its growth is blank, which means unknown, not zero.
Task 1 · A KPI sheet: steps
Goal: a Management summary for December 2025 with six numbers, each with its definition under it.
- Create the calculated fields (Desktop: Analysis › Create Calculated Field; browser: the data-pane menu ›
Create Calculated Field):
-
Paying Accounts=COUNTD([Account ID])-ARPA=IF COUNTD([Account ID]) > 0 THEN SUM([MRR]) / COUNTD([Account ID]) END-Gross Margin=IF SUM([MRR]) <> 0 THEN SUM([Gross Profit]) / SUM([MRR]) END(reuse it if you made it in Lab 2) - Make one small sheet per number: drag the measure to Text on the Marks card, format it (Format › Number › Currency or Percentage, one decimal), and enlarge the font. The six numbers: MRR = SUM(MRR), Gross profit = SUM(Gross Profit), Paying accounts, ARPA, Gross margin, New accounts = SUM(New Account).
- Add a Month filter (exact date, Month / Year), keep only December 2025, and apply it to all six sheets (filter menu › Apply to Worksheets › Selected Worksheets).
- On a dashboard, place the six sheets in a row and put a one-line definition under each, copied from your dictionary: "ARPA: MRR ÷ distinct paying accounts, same month".
- Before applying the filter, look once at the all-data values and write them down. You will need them in a moment.
No targets on this sheet. If you want one, it comes later and is labelled as an assumption.
Task 1 · Build it
Build the six KPI sheets and the summary dashboard following the steps above.
Task 1 · Checks and common mistakes
| KPI, December 2025 | Expected |
|---|---|
| MRR | €190,632.40 |
| Gross profit | €154,557.75 |
| Paying accounts | 505 |
| ARPA | €377.49 |
| Gross margin | 81.1% |
| New accounts | 46 |
The lecture's metric tree is a second check, because its links are identities. MRR = 505 × €377.49. Accounts: November's 475 + December's 46 new − November's 16 churned = 505.
Common mistakes. ARPA as AVG([MRR]) gives the average per row; inside one month that equals ARPA only because each
account has one row, and over a year it becomes the average per account-month, a different metric. ARPA divided by COUNT([Account ID]) counts rows. Gross margin as AVG of a row-level ratio
is the error Task 3 shows. And with no Month filter, every "MRR" tile is a year of billing.
With the Month filter on December 2025, what does your ARPA tile show, in euros, to the cent?
Dataset: saas_mrr.csv
How many new accounts started paying in December 2025?
Dataset: saas_mrr.csv
Before you add the Month filter, the ARPA tile shows €2,581.59 (€1,649,633.80 ÷ 639 accounts). What is this number?
Task 2 · Month-over-month growth: steps
Goal: MRR growth for every month, checked once by hand.
- Duplicate your monthly MRR sheet from Lab 2 (or build one: Month on Columns as exact Month / Year, discrete, and SUM(MRR) on Text or as bars).
- On the SUM(MRR) pill choose Quick Table Calculation › Percent Difference (same menu in the browser).
- Open Edit Table Calculation: compute using Specific Dimensions › Month, relative to Previous, months in ascending order. With one date dimension on Columns, Table (across) gives the same result, but naming the dimension keeps it right if you rearrange the view.
- Format as a percentage with one decimal. Drag a second SUM(MRR), without the calculation, onto Text or Tooltip so each growth figure sits next to the values it came from. Month-over-month growth is (this month − previous month) ÷ previous month.
- Pick November → December and compute it on a calculator from the KPI values. Write both results in your notes.
Then try the layout trap on purpose: move Month to Rows. If the calculation was set to Table (across), every cell goes blank, because across a single column there is no previous mark. Set it back to Month and the values return.
Task 2 · Build it
Build the growth view, do the manual check and the layout test following the steps above.
Task 2 · Checks and reading
| Month | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|
| MoM MRR growth | 5.2% | 8.6% | 7.3% | 4.3% | 9.3% | 3.5% | 1.3% | 5.0% | 5.9% | 12.6% | 6.9% |
January is blank. Over the year MRR grew from €97,200.80 to €190,632.40, +96.1%.
A growth rate says how much the total moved, not where the movement came from. To read November, filter the view to
New Account = 1 and put Plan on Rows: new accounts brought €21,491 of MRR in November against €10,876.80 in October,
with only three more accounts (43 against 40). The difference is the plan mix. Common mistakes: months sorted
alphabetically (April first), a calculation computed down a Plan dimension (that compares plans, not months), and a
blank January read as 0%.
What is the month-over-month MRR growth from November to December 2025, in percent with one decimal?
Dataset: saas_mrr.csv
Which month shows the highest month-over-month MRR growth?
Dataset: saas_mrr.csv
Filter to New Account = 1 and November 2025, with Plan on Rows. How much MRR did the new Business accounts bring in November, in euros?
Dataset: saas_mrr.csv
Which reading of November's +12.6% is supported by your views?
Task 3 · Validate the ratio: steps
Goal: show, on one sheet, why the average of row margins is not the gross margin, and keep it as an audit example.
- Create
Row Margin=IF [MRR] <> 0 THEN [Gross Profit] / [MRR] END. With noSUM()it is computed row by row. - New sheet, no Month filter (the whole of 2025): Plan on Rows; drag
Row Marginto Text and set its aggregation to Average; addGross Marginnext to it (Measure Names on Columns, Measure Values on Text). - Turn on totals (Analysis › Totals › Show Column Grand Totals). Title the sheet "Audit: row average vs ratio of totals; use the ratio".
- Write one sentence on why the two disagree, in terms of what each one weights.
Task 3 · Build it
Build the audit sheet following the steps above and write the sentence.
Task 3 · Checks and why
| Plan, 2025 | AVG(Row Margin) | Gross Margin (ratio of totals) |
|---|---|---|
| Starter | 35.7% | 43.2% |
| Team | 76.9% | 79.7% |
| Business | 85.2% | 86.5% |
| All rows | 57.4% | 81.0% |
The ratio of totals weights each account-month by its MRR: a €3,000 Business row counts 125 times as much as a €24 Starter row, as the euros do. The row average gives every row one vote. Starter has 2,326 of the 4,659 rows, and 143 of them have negative gross profit (a 3-seat Education account paying €14.40 still costs the €18 support fee), so the average sinks to 57.4%. Teamlane keeps 81 cents of each euro billed. The category values must be calculated in the view, never copied from the overall result. The audit sheet stays in the workbook, clearly labelled; the dashboard uses only Gross Margin.
On your audit sheet (all of 2025), what is AVG(Row Margin) for the Starter plan, in percent with one decimal?
Dataset: saas_mrr.csv
The audit sheet shows 57.4% (average of row margins) and 81.0% (ratio of totals) for the whole year. Why does the board get 81.0%?
Task 4 · The metric contract and one filter: steps
Goal: five dictionary entries, and proof that a filter leaves each definition intact.
- Fill in the metric-dictionary template for MRR, Paying accounts, ARPA, Gross margin and Monthly logo churn. A worked entry to copy the level of detail from:
| Field | ARPA |
|---|---|
| Decision it informs | whether growth comes from more accounts or bigger ones (right branch of the tree) |
| Formula | SUM([MRR]) / COUNTD([Account ID]); numerator MRR, denominator distinct paying accounts |
| Unit, window | euros per account per month; one calendar month |
| Grain and fields | account-month rows; MRR, Account ID, Month |
| Filters and exclusions | paying accounts only (the file has no trials); a filter applies to both parts |
| Null and zero | blank if no accounts in scope; never 0 |
| Owner, refresh | finance; monthly, after the month closes |
| Evidence type | synthetic (course data) |
| Limits | moves with the plan mix even when no price changes |
| Manual check | December: €190,632.40 ÷ 505 = €377.49 |
- Reconcile a filter. Add Region to the KPI dashboard filters, choose North, and record the December values. Then check them against the rows: right-click a KPI sheet tab › Duplicate as Crosstab, or View Data on a mark, and recompute MRR, the account count and ARPA from the filtered rows. Record the numerator and the denominator of gross margin. Reset the filter.
- Repeat on churn. On the churn view from Lab 2 (
SUM([Churned]) / COUNTDof account-months, January–November), add a Plan filter set to Starter and record churned accounts, account-months and the rate. If a filter changed the denominator in one view but not in another, write down which and why.
Task 4 · Write and reconcile
Write the five entries and run both filter reconciliations following the steps above.
Task 4 · Checks
North, December 2025: MRR €56,459.40 from 154 accounts, so ARPA €366.62; gross margin = €45,497.91 ÷ €56,459.40 = 80.6%. Starter, January–November: 102 churned ÷ 2,093 account-months = 4.87%, against 3.23% for all plans. In both cases the filter shrank the numerator and the denominator together, which is what the contract requires (filter scope). The usual failure is a filter applied to one sheet only: the ARPA tile shows North while the account tile still shows all 505.
With Region = North and Month = December 2025, what is ARPA, in euros, to the cent?
Dataset: saas_mrr.csv
With the Plan filter set to Starter, what is monthly churn for January–November 2025, in percent with two decimals?
Dataset: saas_mrr.csv
You add a Region filter set to North and apply it only to the ARPA and Gross Margin sheets. Which statements are true? Select all that apply.
An evidence statement and the decision log
Close with one evidence statement and one decision-log line. A statement gives the number, its scope and period, how it was computed, its evidence type, and a limit; it describes, it does not explain. Worked example:
Teamlane's MRR grew 6.9% from November to December 2025 (€178,324.20 to €190,632.40; SUM(MRR) per calendar month,
saas_mrr.csv, synthetic). New accounts added €13,708.20 of MRR in December. The data shows where the growth came from, not why; December churn cannot be observed yet.
For the decision log, record one interpretation that changed after using a ratio. For example: "Margin by plan: the row average suggested 57% overall and 36% for Starter; the ratio of totals gives 81.0% and 43.2%. Starter is still the weak plan, but the business as a whole is not."
Which evidence statement meets the lab's standard?
Checkpoint L04
Submit Teamlane_L04 with the KPI dashboard, the MoM growth view and your manual check, the labelled audit sheet,
the five dictionary entries and both filter reconciliations, plus your evidence statement and decision-log line. In the
course this becomes the "ready" column of the board slide: MRR, ARPA, churn and margin are defined and checked;
trial-to-paid and cost per new account wait for the data that arrives in week 5. The midpoint evaluation in week 6
builds on Labs 1–5.
Why Tableau does this: filters run before table calculations
Put the December filter from Task 1 on the growth sheet and December's +6.9% disappears. Tableau works in order: row-level calculations, then dimension filters, then aggregation, then table calculations on the marks that remain. Once November is filtered out, December has no previous mark.
To show only the latest month and keep its growth, filter after the table calculation. Create
Latest Month = LAST() = 0, drag it to Filters, keep True, and set Compute Using › Month. LAST() is itself a table
calculation, so it filters marks after the growth is computed, and December shows 6.9% again. The same order explains
why a Plan filter changes the growth figures (each month's MRR shrinks first) while a table-calculation filter does
not. Troubleshooting: blank everywhere → wrong direction; one blank too many → a filter removed a month; growth
restarts for each plan → Plan is in the view and partitions the calculation (right for growth per plan, wrong for
the total: remove Plan or compute along Month across the whole table).
You add the Month = December filter to the growth sheet and the +6.9% disappears. Why, and what is the fix?
A classmate has Plan on Rows and Month on Columns, with Percent Difference set to Table (down). What do the cells show?
Extension · Net revenue retention, twice
For the 292 accounts paying in January 2025, how much of their MRR is left in December? That is a twelve-month net and gross revenue retention (NRR, GRR) for the January base. Build it with a level-of-detail expression (level-of-detail (LOD) expression):
First Paid Month={ FIXED [Account ID] : MIN([Month]) }(one value per account, whatever the view).- New sheet: drag
First Paid Monthto Filters, keep January 2025 only; Month on Columns, SUM(MRR) on Text. Expected: January €97,200.80 (292 accounts), December €84,737.20 (198 accounts). - NRR = December ÷ January. Cross-check with a second route: filter
Signup Month≤ January 2025 instead; you should get the same 292 accounts, because no account in the file has a gap between paid months.
Compare your result with the lecture's figure, which was built from the movements: January MRR plus expansion, minus contraction and churned MRR. The two must agree, because the bridge is an identity; if they do not, one of the filters let in the wrong accounts.
Extension · NRR: build it
Build the January-base sheet and both cross-checks following the steps above.
For the accounts whose first paid month is January 2025, what is December's MRR divided by January's MRR, in percent with one decimal?
Dataset: saas_mrr.csv
Extension · A target as an assumption
- Create Parameter
Churn Target: float, current value 0.025, display as a percentage, range 0–0.10, step 0.005; show the parameter control. - Monthly churn sheet: Month on Columns,
SUM([Churned]) / COUNTD([Account ID])on Rows, December excluded (it cannot be observed). - Analytics › Reference Line › Table, value
Churn Target, label "Target (assumption, not a benchmark)", dashed.
At 2.5%, only May (1.67%) and June (1.83%) are below the line. Move the parameter and the line moves with it: a target is a value someone chose. It must never look like an observed value, or the board reads a wish as a fact.
Extension · Target: build it
Add the parameter and the labelled reference line following the steps above.
With the target at 2.5%, in how many of the months January–November 2025 is monthly logo churn above the target?
Dataset: saas_mrr.csv
Concepts in this chapter
Metric contractMonth-over-month growthTable calculationAverage revenue per account (ARPA)Net and gross revenue retention (NRR, GRR)Ratio of totalsFilter scopeChurn rate (logo churn)Level-of-detail (LOD) expressionEvidence typeEvidence statementKey performance indicator (KPI)GrainMonthly recurring revenue (MRR)Gross marginLevel of detail of a viewDashboardDimensions and measuresAggregation
Read further
- (2026), Lab 4: KPI definitions and growth trends (ProtoMarket version)
- (2026), Teamlane: one row per paying account per month, 2025 (synthetic)