Tabellab
Data & Analytics Intermediate

Data Modeling Basics: Fact Tables, Dimensions, Keys & Star Schemas

Build a small star schema for a fictional retailer by hand in 20 hands-on labs: declare the grain, map surrogate keys, join facts to dimensions, build a date dimension, keep history with SCD type 2 and change detection, model periodic and accumulating snapshots, factless, junk and role-playing dimensions, drill across conformed dimensions, avoid double counting and finish with a QA-checked dashboard - every cell checked instantly.

20 lessons 20 labs Certificate

  • One-time payment
  • Instant access right after payment
  • Secure checkout with Stripe

About this course

This course teaches dimensional modeling by building it yourself, cell by cell, in 20 interactive labs. You work with Larkfield Home, a fictional homeware retailer. First you declare the grain of a sales fact table, replace product codes with surrogate keys, join facts to dimensions, summarise by category and region, build a date dimension, keep history with SCD type 2, handle bridge tables and run QA checks. Part two goes deeper: change detection for nightly loads, revenue as was versus as is, month-end stock snapshots and why stock never adds up over time, order-fulfilment milestones, factless coverage tables, junk and role-playing dimensions, drill-across through conformed dimensions, budgets at a different grain, aggregate tables with distinct counts, and ratio measures done right. The final project is a reconciled star-schema dashboard with an Unknown share and a chart.

Why learn with Tabellab

  • Practise in a real spreadsheetEvery lab runs in your browser and checks your cells instantly.
  • Verifiable certificatePass the final exam and get a certificate with a public verification code.
  • Try before you buyLesson 1 is free, with no sign-up or card needed.
  • Who is behind TabellabBuilt by Babala Software in Füllinsdorf, Switzerland. Questions? hello@tabellab.com · Imprint

Lessons

  1. The Grain of a Fact Table: One Row per Order Line & the Duplicate CheckLabFree
  2. Surrogate vs Natural Keys: Key Mapping and the Unknown MemberLab Locked
  3. Joining Facts to Dimensions: Enriching Sales with XLOOKUP and INDEX/MATCHLab Locked
  4. Aggregating by Dimension Attributes: SUMIFS by Category and RegionLab Locked
  5. The Date Dimension: Date Keys, Quarters, Months and Weekdays from a DateLab Locked
  6. Slowly Changing Dimensions Type 2: Valid-From/To and the Right Version by DateLab Locked
  7. Many-to-Many & Bridge Tables: Spotting Double Counting and Allocating with WeightsLab Locked
  8. Model QA: Orphan Keys, Inner-Join Losses and Reconciling TotalsLab Locked
  9. Change Detection: Comparing the Source Extract with the Dimension (New, Changed, Unchanged)Lab Locked
  10. Type 1 vs Type 2 Reporting: Revenue as Was, Revenue as Is and the RestatementLab Locked
  11. Periodic Snapshot Facts: Month-End Stock from Movements and the Semi-Additive TrapLab Locked
  12. Accumulating Snapshot Facts: Order Milestones, Lag Days and Overdue Open OrdersLab Locked
  13. Factless Fact Tables: Promotion Coverage and the Products That Did Not SellLab Locked
  14. Junk & Degenerate Dimensions: Folding Flags into One Key and Keeping the Order NumberLab Locked
  15. Role-Playing Dimensions: One Date Dimension as Order Date and Ship DateLab Locked
  16. Conformed Dimensions & Drill-Across: Sales and Returns by Category Without the Fan TrapLab Locked
  17. Facts at Different Grains: Rolling Sales up to the Monthly Budget and Charting the VarianceLab Locked
  18. Aggregate Tables: A Monthly Summary, Its Reconciliation and the Distinct-Count TrapLab Locked
  19. Non-Additive Measures: Margin %, Conversion Rate and Average Price in SummariesLab Locked
  20. Final Project: Larkfield Home's Star-Schema Sales Dashboard with QA ChecksLab Locked

Learner reviews

Be the first to review this course.

Write a review

Your rating

Reviews are checked before they appear. By submitting you confirm the images are yours and may be shown on this page. Privacy