LookML view · dating-platform
The user_score view: lead score, expected LTV and lead value per user
At a glance
Why Ranks users and leads by predicted worth, so acquisition and product teams can compare cohorts by expected value. Trust: InferredGrain One row per user. id is a hidden primary key that the model joins to user ids. Trust: Inferred
Source dating_platform/customer_score.view.lookml 50 lines
Source: customer_score.view.lookml L1-10
Shape Trust: Source-defined
Every field as declared, with the dashboard tiles that read it. Computed from the source; nothing here is edited.
Table: public.user_score
Relationships Trust: Source-defined
Relationships of user_score
This Block No relationship declared
Text version user_score is joined into transactions: as user_score, fk users.id (no relationship declared) user_score is joined into tests: as user_score, fk user_metrics.id (no relationship declared)
Worth noticing
expected_ltv hides a condition Trust: Source-defined
expected_ltv reads expected_ltv_if_converted. It is the lifetime value if the user converts, not a probability-weighted value.
Source: customer_score.view.lookml L13-16
Joined only for keys Trust: Source-defined
The transactions and tests explores join user_score with fields: [], so none of its fields can be selected there.
Source: enterprise.model.lookml L17-19
What can change the answer 3
!
Caution: Average expected LTV overstates valueTrust: Inferred
avg_expected_ltv averages a value that assumes conversion. Leads who never convert count at their full converted value.
What goes wrong: A cohort chart of average expected LTV reads like revenue per user when most users never pay.
Source: customer_score.view.lookml L34-38
!
Caution: The dashboard asks for a view named scoresTrust: Source-defined
The Average Expected LTV tile requests scores.avg_expected_ltv from a users explore. No view or join is named scores, and no model declares a users explore.
What goes wrong: The only dashboard use of this view cannot run.
Read the guide: Missing tables and stale references
Source: company_overview.dashboard.lookml L90-100
i
Note: value is a lead-stage valueTrust: Source-defined
value reads value_of_lead. The short field name hides that it is a lead-stage value.
Source: customer_score.view.lookml L25-28
Related
Guides built on this file Related source files Source model