Model analytics data as a star schema
8 steps · about 2 h 20 min · Intermediate
- See the shape of a star schema (article, Wikipedia, 10 min)
One fact table joined to dimension tables, with an example query.
- Learn the core dimensional modelling techniques (article, Kimball Group, 30 min)
The Kimball Group's own index of techniques, from the source of the method.
- Declare the grain first (article, Kimball Group, 5 min)
Why every fact table needs one precise row meaning before any columns.
- Choose additive measures for the fact table (article, Wikipedia, 10 min)
Explains additive, semi-additive and non-additive facts.
- Design descriptive dimension tables (article, Wikipedia, 10 min)
Covers surrogate keys, conformed and role-playing dimensions.
- Handle dimension changes over time (article, Wikipedia, 15 min)
Compares type 1, 2 and 3 approaches to history in dimensions.
- Apply a star schema in a BI tool (reference, Microsoft Learn, 20 min)
Shows why BI models perform and read better as stars.
- Build a dimensional model with SQL in dbt (tutorial, dbt Labs, 40 min)
Step-by-step build of fact and dimension models from raw tables.