Sign in

Glossary

Data model

The tables an analysis uses and the relationships between them, joined on keys, so measures can be sliced by any related field.

DefinitionThe tables an analysis uses and the relationships between them, joined on keys, so measures can be sliced by any related field.

A data model describes which tables hold the facts (sales lines, invoices) and which hold the descriptions (customers, products, dates), and how they connect through key columns. In Excel, the Data Model is the store behind Power Pivot: tables loaded once, related by keys, and summed with measures instead of lookups copied down every row.

How it is computed

Load each table, give every dimension table a unique key, relate the fact table's foreign key to it (one-to-many), and define measures such as Revenue = SUM of the amount column. Filters on a dimension then flow to the facts.

Example

A sales table of 250,000 rows relates to a customers table of 3,000 rows on customer ID. If 40 customer IDs appear twice in the customers table, the key is no longer unique and the relationship cannot be one-to-many until the duplicates are fixed.

Where it goes wrong

Duplicate keys, sales rows whose customer ID has no match, and a missing date table. The full guide is Power Pivot in Excel.