Part of the Analytify BI Glossary, clear definitions of the business intelligence, analytics, and modern data stack terms that matter.
A fact table is the central table in a data warehouse star schema, containing measurable business events (orders, page views, payments, sensor readings) with foreign keys to dimension tables and numerical measures used in aggregations like sum, count, average, or min/max.
The fact table is where the raw measurable events of your business live in the warehouse. Every dashboard’s key metrics — revenue, active users, churn, conversion — are aggregations of fact-table rows. Modelling fact tables correctly is the foundation of any analytics deployment.
Fact tables sit at the centre of a star schema, surrounded by dimension tables that provide context. Together they form the dominant data modelling pattern in 2026 analytics.
A fact table typically has three column types:
customer_id, product_id, date_id, store_id.revenue, quantity, discount_amount, duration_seconds.Three common fact table types:
Fact tables are typically the largest tables in the warehouse — billions of rows is common for any sizeable SaaS or e-commerce deployment.
A SaaS company’s order data lives in fct_orders (a fact table). Each row represents one order with: order_id (degenerate dimension), foreign keys customer_id, product_id, date_id, promotion_id, and measures revenue, quantity, discount_amount, cost_of_goods. To compute “monthly revenue by product category,” analysts join fct_orders to dim_product (for category), aggregate by month, and SUM revenue.
2026 tools for building fact tables:
Industry-standard transformation tool for building star schemas (fact + dimension tables) in cloud warehouses.
Cloud warehouses where fact tables live. All support star schema patterns natively.
Open table formats for fact tables in lakehouse architectures with ACID transactions.
Semantic layer tools that consume fact tables and expose governed metrics.
Open-source GenBI platform that reads fact tables for SaaS embedded analytics.
A fact table stores measurable events with numerical measures. A dimension table stores descriptive attributes about who, what, when, where. Facts are typically large; dimensions are typically small.
The most common fact table type — one row per business event. Each order, page view, click, or payment is one row. Naturally append-only.
Grain is the level of detail each row represents. “One row per order” is one grain; “one row per order line item” is a finer grain. Choosing the right grain is the most important fact-table design decision.
Yes — a “factless fact table” tracks events with no numerical values. Common for tracking attendance, occurrences, or coverage where the existence of the row is the fact.
Cluster or partition by the most common filter column (typically date). Use columnar storage formats (native to cloud warehouses). Pre-aggregate via dbt for high-frequency queries.
Generally no — keep facts narrow and dimensions separate. Modern warehouses are fast enough to join at query time, and denormalising fact tables makes them harder to maintain when dimension attributes change.