Semantic Layer
    Topic

    Semantic Layer

    A Semantic Layer isn't just code; it's the translator between raw data and business logic. We architect the layer that guarantees a Single Source of Truth.

    The Operational Definition

    A Semantic Layer is the only technical barrier preventing your Finance and Sales teams from presenting contradictory revenue figures to the Board. It is the translation engine that converts raw, indecipherable database schemas into the business logic your stakeholders actually speak. Without it, you do not have a data strategy; you have a collection of ad-hoc SQL queries held together by hope and manual intervention. It is the mechanism that ensures 'Gross Margin' is calculated identically, regardless of who asks the question.

    The Series B Trap: Logic in the Wrong Place

    In early-stage startups, analysts write raw SQL for every specific request. As you scale to Series B, this approach collapses. Business logic gets hardcoded into individual reports, leading to severe Dashboard Sprawl. You end up with a fragmented reality where 'Churn' means three different things depending on which visualisation tool was used. This inconsistency is the primary driver of Data Trust Issues—when stakeholders stop believing the dashboard and revert to their own spreadsheets to find the 'real' number.

    Architecting the Single Source of Truth

    At NorthStar, we treat the Semantic Layer as a product, not a project. We move business logic out of the visualisation tool and into a governed, version-controlled layer (often utilising Looker or dbt). This ensures that whether a metric is queried via a dashboard, a Self-serve Analytics exploration, or an API, the answer is mathematically identical.

    We architect this layer to enforce strict Metric Definition consistency. By centralising your business rules, we eliminate the ambiguity that kills decision-making velocity, ensuring your data infrastructure scales as fast as your revenue.