What problem does it solve?
Analysts repeatedly re-derive the same lookups (country, region, plan, date) across queries, causing duplicated JOINs, inconsistent naming, and fan-out errors from non-unique dimension keys. This Skill builds each dimension once as a clean, one-row-per-entity table that every fact model reuses.
Core Features & Use Cases
- Three sourcing patterns: upload/seed a CSV lookup, sync from a system of record via a warehouse source, or derive dimensions from event properties like $geoip_country_code.
- Shaping and materialization: aliased HogQL views or dbt models with unique/not_null tests, materialized on slow schedules since dimensions change rarely.
- Join attachment: saved joins or person joins so dimension columns read as native fields on revenue, conversion, and usage facts.
- Use Case: Enrich revenue events with plan tier and price by building a dim_plan view deduped with argMax, then attaching it via a saved join so tier-level revenue breakdowns need no repeated JOINs.
Quick Start
Ask the AI to build a country dimension table from PostHog event geoip properties enriched with an uploaded country-to-region lookup, materialized on a weekly schedule.