Skip to content

feat: add prospect funnel semantic model + metrics#5

Open
benjamin-shi-tql wants to merge 1 commit into
mainfrom
feat/prospect-semantic-layer
Open

feat: add prospect funnel semantic model + metrics#5
benjamin-shi-tql wants to merge 1 commit into
mainfrom
feat/prospect-semantic-layer

Conversation

@benjamin-shi-tql

Copy link
Copy Markdown
Collaborator

Summary

First dbt semantic model (MetricFlow / dbt Semantic Layer) in the project, built on fct_prospects. Governs leasing-funnel metrics so they are defined once and consumed consistently.

Semantic model prospects

  • Entities: prospect (primary), property/unit (foreign)
  • Dimensions: contact/applied/move-in time + status, funnel stage, lead source, desired beds, agent, property name/region/fund
  • Measures: prospect/toured/applied/approved/leased counts + ratio helpers

Metrics

  • Volume: total_prospects, leased_prospects
  • Funnel ratios: tour_rate, application_rate, approval_rate, lead_to_lease_conversion
  • Velocity: avg_days_to_apply, avg_days_to_movein, avg_desired_rent

Validation (live Yardi (Demo))

Metrics reproduced by lead_source from the underlying fct logic. APARTMENTS.COM / REFERRAL lead conversion (~26-27%) vs GOOGLE (~5%); ratios and velocity compute correctly with div0 guards.

Requires dbt Semantic Layer / MetricFlow (dbt 1.6+). Pairs with PR #4 (PROSPECT stg/int/mart).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant