TOPIC 05/2315 MINNOT STARTED

Star schemas: facts, dimensions and grain

Shape warehouse tables as a star: one fact table of measured events, dimension tables that describe them, and a grain that says what one row means.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: a receipt with stamps. A shop receipt records one purchase. The numbers on it are the amount paid and the quantity. Stamps around it say which shop, which product, and which date. You can count receipts by shop, by product, or by day, because every receipt carries those stamps.

What it is: A is the centre table of a star schema. In our transaction example it holds one row per measured event, plus the numbers to count or add. Other fact tables hold periodic snapshots, or record that an event occurred without a numeric measure. A holds the descriptions, such as who, what, and when, used to slice those numbers. Grain is the exact thing one fact row stands for. These tables live in the data warehouse, the separate store of history, not in the app that records today's clicks. The nearest neighbour is a tidy app table, where each fact is stored once for updates. A star repeats descriptive words on purpose so reports stay simple to read.

Why it matters: If Sam mixes two row meanings in one fact table, totals can be counted more than once. Nina would fund a plan from a number that counts each task twice. Declaring the grain in one sentence stops that before the report is built.

A receipt is one slip of paper. A fact table holds a great many of them, so one wrong choice is repeated on every row.

PLAIN WORDS · 2 in this section
snapshots
records of how things stood at one moment
numeric
made only of numbers

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the work.

THE REAL JOB The picture helps a newcomer remember that numbers sit on the receipt and descriptions sit in the stamps around it.

  1. Pick the process
  2. Declare the grain
  3. Choose the dimensions
  4. Choose the facts
  5. Check the totals
Building a star

HOW THE PICTURE MAPS

How each part of the picture matches the work
In the pictureIn the work
One shop receiptOne row of a fact table
The amount and quantity on the receiptThe measures
The stamps for shop, product and dateDimension tables
The rule that each receipt is one purchaseThe grain
A receipt that also holds the day's totalMixed grains

WHERE THIS PICTURE STOPS

  • A receipt is one paper slip, but a fact table holds millions of rows.
  • A stamp is fixed on the paper. A dimension can change over time, so history needs a plan.
  • A shopper never counts a day's total as a purchase. A query adds up every row it is given.

HOOK

One receipt, one grain, stamps around it.

REMEMBER IT THIS WAY

A sequence: the real steps, in order.

Finish "one row is one ..." first. Then ask who, what and when for the stamps, and how many or how much for the numbers.

What each part of the trick stands for
In the trickWhat it stands for
One row is one what?The grain is the exact thing one row stands for
Who, what, when?Dimension tables describe who, what and when
How many, how much?The fact table holds numbers to be counted or added

TELL A FRIEND

A star schema has a central of measured events and dimension tables that describe them. The grain says what one row means, and grains must never be mixed.

OFTEN MIXED UP WITH Data warehouse and ETL basics. That topic explains why a warehouse exists and how data gets there. This one shapes the tables inside it.

Sources & standards — 3 sources
  1. Market practice

    Additive, Semi-Additive, and Non-Additive Facts ↗ — Kimball Group · Complete short technique: additive, semi-additive and non-additive measures; aggregate components before ratio; read 7 November 2026.

    Complete short technique read. Ratios are non-additive; aggregate their components before computing the ratio. Snapshot measures may be additive over some dimensions but not time. · Checked 2026-11-07

    Selected primary-source sections read for the BA Analytics audit. This record does not certify unrelated chapters or product features. No reuse permission for publisher images is inferred.

  2. Market practice

    Periodic Snapshot Fact Tables ↗ — Kimball Group · Complete short technique: period grain and zero/null periods; read 7 November 2026.

    Complete short technique read. Grain is a period rather than an individual transaction; a row can summarise many measurement events. · Checked 2026-11-07

    Selected primary-source sections read for the BA Analytics audit. This record does not certify unrelated chapters or product features. No reuse permission for publisher images is inferred.

  3. Implementation-specific

    Understand star schema and the importance for Power BI (Microsoft Learn) ↗ — Microsoft · Fact-table grain, measures and complete Type 2/role-playing-dimension sections; version surrogate key and valid-time lookup, selected sections read 7 November 2026.

    Vendor guidance. Explains star schema design for analytic query workloads and lists snowflake dimensions among related concepts. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

PRACTISE AND KEEP

Sources for this topic — 10 sources
  1. Market practice

    Four-step dimensional design process (Kimball Group) ↗ — Kimball Group · Four-step dimensional design process (Kimball Group): pick the business process, declare the grain, choose the dimensions, choose the facts (search excerpt, page not opened)

    Practitioner site. Lists the four decisions: pick the business process, declare the grain, choose the dimensions and choose the facts. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  2. Market practice

    Dimensional Modeling Techniques (Kimball Group) ↗ — Kimball Group · Dimensional Modeling Techniques (Kimball Group): grain, dimensions, facts and star schemas are core techniques of dimensional modelling (search excerpt, page not opened)

    Practitioner site. Lists grain, dimensions, facts and star schemas among the core techniques of dimensional modelling. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  3. Market practice

    Fact table (Wikipedia) ↗ — Wikipedia · Fact table (Wikipedia): the grain of a fact table is what one row stands for, and different grains must not be mixed (search excerpt, page not opened)

    Encyclopedia page. Says the grain of a fact table is what one row stands for and that different grains must not be mixed in one table. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  4. Market practice

    Kimball University: Keep to the Grain in Dimensional Modeling (InformationWeek) ↗ — InformationWeek · Kimball University: Keep to the Grain in Dimensional Modeling (InformationWeek): losing the grain leads to mixed granularity in one fact table (search excerpt, page not opened)

    Trade article by a warehouse practitioner. Warns that losing the grain leads to mixed granularity in one fact table. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  5. Market practice

    Understand star schema and the importance for Power BI (Microsoft Learn) ↗ — Microsoft · Understand star schema and the importance for Power BI (Microsoft Learn): a star schema design suits analytic query workloads; snowflake dimensions are a related idea (search excerpt, page not opened)

    Vendor guidance. Explains star schema design for analytic query workloads and lists snowflake dimensions among related concepts. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  6. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    What this simplifies: Daily List, its tables and its numbers are invented. Every count and total quoted was run on PostgreSQL 16 with a small fact table of 10 task rows and three dimension tables. Real warehouses hold billions of rows and use more kinds of fact table, such as snapshots, which this lesson leaves out. Kimball Group writing is one school of design, widely used but not the only one. The sources were read as search excerpts only.

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

  7. Market practice

    Slowly changing dimensions types 1 to 6 (datadriven.io) ↗ — datadriven.io · Kimball Group techniques page (already in registry) defines slowly changing dimension types. Secondary excerpt: datadriven.io SCD page (search excerpt, page not opened).

    Type 1 overwrites; type 2 adds a dated row. · Checked 2026-10-19

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  8. Market practice

    Additive, Semi-Additive, and Non-Additive Facts ↗ — Kimball Group · Complete short technique: additive, semi-additive and non-additive measures; aggregate components before ratio; read 7 November 2026.

    Complete short technique read. Ratios are non-additive; aggregate their components before computing the ratio. Snapshot measures may be additive over some dimensions but not time. · Checked 2026-11-07

    Selected primary-source sections read for the BA Analytics audit. This record does not certify unrelated chapters or product features. No reuse permission for publisher images is inferred.

  9. Market practice

    Periodic Snapshot Fact Tables ↗ — Kimball Group · Complete short technique: period grain and zero/null periods; read 7 November 2026.

    Complete short technique read. Grain is a period rather than an individual transaction; a row can summarise many measurement events. · Checked 2026-11-07

    Selected primary-source sections read for the BA Analytics audit. This record does not certify unrelated chapters or product features. No reuse permission for publisher images is inferred.

  10. Implementation-specific

    Understand star schema and the importance for Power BI (Microsoft Learn) ↗ — Microsoft · Fact-table grain, measures and complete Type 2/role-playing-dimension sections; version surrogate key and valid-time lookup, selected sections read 7 November 2026.

    Vendor guidance. Explains star schema design for analytic query workloads and lists snowflake dimensions among related concepts. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.