Business Intelligence: Architectural Trade-offs and the Semantic Layer

Modern Business Intelligence (BI) has shifted from traditional ETL/OLAP cubes to ELT workflows on cloud data warehouses. The core architectural decision for a data team is the choice between Kimball-style dimensional modeling and the One Big Table (OBT) approach, managed via a unified Semantic Layer.

1. Modeling Architectures: Star Schema vs. OBT

Star Schema (Kimball Methodology)

The Star Schema organizes data into central Fact tables (quantitative events) and surrounding Dimension tables (descriptive attributes).

One Big Table (OBT)

OBT involves denormalizing dimensions directly into the fact table to create a single, wide dataset.

Technical Recommendation: Use dbt to maintain a normalized Star Schema in the marts layer of your warehouse, then generate OBT views specifically for high-performance BI tool consumption.

2. The Semantic Layer: Metrics as Code

The Semantic Layer is the abstraction between the physical data models (Star/OBT) and the end-user. It provides a consistent definition for metrics across the entire organization.

Core Components

Modern Tooling

3. The Modern Data Stack (MDS) Workflow

A standard, high-density BI workflow follows this pattern:

  1. Ingestion (Fivetran/Airbyte): Extracting raw data from SaaS apps and DBs into the warehouse.
  2. Storage (Snowflake/BigQuery/Databricks): The centralized repository for raw and transformed data.
  3. Transformation (dbt): Using SQL to clean, join, and model data into Star Schemas or OBTs.
  4. Semantic Layer: Defining the business logic (e.g., "What constitutes a 'Churned' customer?") in code.
  5. Visualization (Tableau/Looker/Sigma): Consuming the semantic layer to produce dashboards and exploratory reports.

4. Performance Optimization Techniques