Part of the Analytify BI Glossary, clear definitions of the business intelligence, analytics, and modern data stack terms that matter.
A dimension table is a table in a data warehouse star schema that holds descriptive attributes — customer name, product category, geographic region, date attributes — used to filter, group, and contextualise the measurable events stored in fact tables.
Dimension tables are how analytics gets meaningful. A fact table tells you something happened (an order was placed); a dimension table tells you who, what, when, and where it happened (which customer, which product, which date, which store). Without dimensions, fact data is just numbers without context.
Dimension modelling is also where most of the data-quality decisions in analytics happen. Slowly changing dimensions, hierarchy attributes, and business rule definitions all live in dimension tables. Modelling them correctly is the difference between trustworthy and confusing analytics.
A dimension table contains:
customer_key or product_id.valid_from, valid_to, and is_current for historical accuracy.Dimension tables are typically much smaller than fact tables (thousands to millions of rows vs billions). They join to multiple fact tables — the same dim_customer joins to fct_orders, fct_subscriptions, and fct_support_tickets.
A SaaS company’s dim_customer dimension table has 50,000 rows, one per customer. Columns: customer_key (surrogate PK), customer_id (natural key from CRM), name, email, signup_date, country, region, continent, segment (SMB / Mid-Market / Enterprise), plan (Starter / Pro / Enterprise), and SCD columns. The same dim_customer joins to fact tables for orders, subscriptions, support tickets, and product events — providing consistent customer context across all analytics.
2026 dimension table tools:
Standard tool for building dimension tables. Includes SCD type-2 macros (dbt_utils, dbtvault) for historical tracking.
Cloud warehouses where dimension tables live.
Semantic layer tools that expose dimension attributes as filterable in dashboards and AI queries.
Tools like Reltio and Tibco MDM for managing canonical dimension data across systems.
Open-source GenBI platform that reads dimension tables for SaaS embedded analytics.
A fact table stores measurable events with numerical measures. A dimension table stores descriptive attributes that contextualise the events. Facts are large; dimensions are small.
A pattern for tracking dimension attribute changes over time. SCD Type 1 overwrites the value (no history). SCD Type 2 adds a new row with valid_from/valid_to dates (full history). SCD Type 3 stores previous and current value in separate columns.
A dimension that is shared across multiple fact tables, ensuring consistent definitions. dim_customer conformed across fct_orders, fct_support_tickets, and fct_subscriptions means “customer” means the same thing everywhere.
A dimension attribute that lives directly in a fact table because it is too small to warrant its own dimension table — order_number, transaction_id. The “dimension” is degenerate because it has only the one column.
A grouping of low-cardinality flag attributes (is_promotion, is_returned, is_first_order) into a single dimension table to reduce fact table column count.
For most modern warehouses, denormalised (flat) dimensions are preferred — easier to query and modern warehouses make joins cheap. Snowflake schemas (normalised dimensions) save storage but make queries more complex.