Metrics: the first month counted is labelled as the existing customers
With a "Count from" month set, that month's cohort is everyone already paying then, not only those new that month. Both cohort tables now say "existing customers" under it, the help text explains, and both cohort CSVs add an existing_customers column. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
</nav>
|
||||
<div class="table-wrap"><table class="list compact cohorts">
|
||||
<thead><tr><th>First paid</th><th class="num">Customers</th>{{range $i, $_ := .Span}}<th class="num">{{$i}}</th>{{end}}</tr></thead>
|
||||
<tbody>{{range .Cohorts}}<tr><td>{{.Month}}</td><td class="num">{{.Customers}}</td>
|
||||
<tbody>{{range .Cohorts}}<tr><td>{{.Month}}{{if .Existing}} <span class="muted small">existing customers</span>{{end}}</td><td class="num">{{.Customers}}</td>
|
||||
{{if $d.Profit}}{{range .Margin}}<td class="num">{{if .Known}}{{usd .V}}{{end}}</td>{{end}}{{else}}{{range .PerCustomer}}<td class="num">{{if .Known}}{{usd .V}}{{end}}</td>{{end}}{{end}}
|
||||
</tr>{{end}}</tbody>
|
||||
</table></div>
|
||||
|
||||
Reference in New Issue
Block a user