# Power BI Star Schema Basics for Non-Engineers | Storek

> A plain-English guide to the star schema in Power BI: facts, dimensions, keys and one-to-many relationships, built step by step in Model view.

Source: https://storek.io/blog/power-bi-star-schema-basics

1.  [Home](https://storek.io/)
2.  [Blog](https://storek.io/blog)
3.  Power BI Star Schema Basics for Non-Engineers

Platform how-to

# Power BI data modeling: star schema basics for people who aren't data engineers

Power BI is a great tool, and most of what makes a report fast and correct happens before the first visual. Here's the shape that makes it work, explained without the jargon.

Storek teamJanuary 21, 20255 min read

![Whiteboard in the newsroom look: revenue by product category for an outdoor-gear retailer with tents first at $184k and extras last at $39k, a table of lookup tables with their row counts, and one sales table of 86,400 rows.](https://storek.io/blog/power-bi-star-schema-basics/hero.webp)

Sample dataA star layout explained with one board. Illustrative data.

On this page

1.  [What a star schema is](#what-a-star-schema-is)
2.  [Why the shape matters in Power BI](#why-the-shape-matters-in-power-bi)
3.  [Before and after](#before-and-after)
4.  [Build it step by step](#build-it-step-by-step)
5.  [Common mistakes to avoid](#common-mistakes-to-avoid)
6.  [When the structure is the hard part](#when-the-structure-is-the-hard-part)

Priya runs operations at Ridgeline Outfitters, a small chain of outdoor-gear stores. She loaded the monthly sales export into Power BI, dragged a few fields onto the canvas, and had a decent chart within an hour. Then the questions started. Revenue by brand? The brand lived in a different file. Revenue by store region? Another file. Each new question meant another merged column in an ever-wider table, and the file got slower every week.

Nothing was wrong with Power BI. The structure was the hard part. The fix has a name, the star schema, and you don’t need to be a data engineer to build one.

## What a star schema is

A star schema splits your data into two kinds of tables.

**Fact tables** record things that happened. A sales line, a support ticket, a shipment. They are long (one row per event), mostly numbers and keys, and they are what you add up.

**Dimension tables** describe the things those events are about. One row per product, one row per store, one row per day. They are short and wide, full of names, categories and attributes you filter or group by.

Each dimension connects to the fact table through a key, such as `ProductID`. Draw it and the fact table sits in the middle with dimensions around it, like points of a star.

Sample dataOne fact table in the middle; each dimension connects through a key with a one-to-many relationship.

## Why the shape matters in Power BI

Power BI’s engine is built around this pattern. Filters flow from the “one” side of a relationship to the “many” side, so picking a category in a slicer filters the Product table, which filters the Sales rows for those products. Measures stay simple because there’s one place where the amounts live. And the file stays smaller, because the long table carries short keys instead of repeating “Ultralight 2-Person Tent, Tents, Ridgeline Brand” on every row.

## Before and after

Here is a slice of Priya’s flat export. The values are invented.

Date

Product

Category

Store

Amount

2026-10-03

Trail Pack 40L

Backpacks

Boulder

129.00

2026-10-03

Summit Tent 2P

Tents

Denver

349.00

2026-10-04

Trail Pack 40L

Backpacks

Denver

129.00

Sample dataFlat: every description is repeated on every sale.

And the same data as a fact table plus a Product dimension:

Date

ProductID

StoreID

Amount

2026-10-03

P-104

S-01

129.00

2026-10-03

P-220

S-02

349.00

2026-10-04

P-104

S-02

129.00

Sample dataFact table: keys and numbers only.

ProductID

Name

Category

Brand

P-104

Trail Pack 40L

Backpacks

Ridgeline

P-220

Summit Tent 2P

Tents

Northfold

Sample dataProduct dimension: one row per product, with the descriptions.

## Build it step by step

1.  ### Open Power Query and split the tables

    Go to **Home > Transform data**. Duplicate or reference your raw query once per dimension. In each dimension query, keep only the key and the descriptive columns, then use **Home > Remove Rows > Remove Duplicates** on the key so there is exactly one row per product, store or customer.

2.  ### Slim down the fact table

    In the fact query, keep the date, the keys and the numeric columns. Remove the descriptive columns that now live in dimensions. Check data types: keys should match the type used in the dimension (both Text or both Whole Number).

3.  ### Add a date table

    Create a table with one row per day covering your full date range, with Month, Quarter and Year columns. If you use the classic time intelligence functions, select it and choose **Mark as date table** from the Table tools ribbon.

4.  ### Relate the tables in Model view

    Select **Close & Apply**, then open Model view. Drag each dimension’s key onto the matching column in the fact table. Power BI should detect a one-to-many relationship with a single cross-filter direction. Open **Manage relationships** to confirm each one.

5.  ### Write measures against the fact table

    Create explicit measures, for example `Total Sales = SUM(Sales[Amount])`, and build visuals using columns from dimensions. Category from Product, Region from Store, Month from Date.

## Common mistakes to avoid

-   **Duplicate keys in a dimension.** If two rows share a ProductID, Power BI creates a many-to-many relationship and totals can surprise you. Remove duplicates first. See fixing many-to-many relationships.
-   **Mismatched key types.** “00104” as text and 104 as a number won’t match. Our guide on cleaning data in Power Query covers leading zeros.
-   **Wide month columns.** If an export has a column per month, unpivot it first: unpivoting wide exports in Power Query.
-   **Bidirectional filters everywhere.** Keep single direction unless you have a specific reason to change it.

If your totals still disagree with a spreadsheet after modeling, work through why Power BI numbers don’t match Excel.

## When the structure is the hard part

A star schema is mostly about knowing which columns describe which things and how files connect. That knowledge is often already sitting in the data, as we describe in your data already knows how it connects.

If building the model is more work than you have time for, Storek can do it for you. You add your files, it proposes how they connect on a [data map](https://storek.io/platform/data-mapping) for you to confirm, and your metrics get written down once as [shared definitions](https://storek.io/platform/definitions). Then you can [ask questions in plain words](https://storek.io/platform/ask) on a tidy model.

About the examples

The company, people and figures in this article are illustrative.

## Sources

1.  [Understand star schema and the importance for Power BI](https://learn.microsoft.com/en-us/power-bi/guidance/star-schema) · Microsoft Learn · checked November 13, 2026
2.  [Create and manage relationships in Power BI Desktop](https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-create-and-manage-relationships) · Microsoft Learn · checked November 13, 2026

BI toolsSemantic layerData pipelines

## Keep reading

[Platform · Data mapping**Your data maps itself. Here is how.**Open the page →](https://storek.io/platform/data-mapping)[Platform how-to**Why Your Data Already Knows How It Connects**Read the article →](https://storek.io/blog/data-already-knows-how-it-connects)[Platform how-to**From Scattered Spreadsheets to One Picture**Read the article →](https://storek.io/blog/scattered-spreadsheets-to-one-picture)

FAQ

## Questions, answered.

What is a star schema in Power BI?

A model with one central fact table of events, such as sales lines, surrounded by dimension tables that describe them, such as Product, Customer, Store and Date. Each dimension connects to the fact table with a one-to-many relationship, so the diagram looks like a star.

What is the difference between a fact table and a dimension table?

A fact table holds things that happened, usually one row per event, with numbers you add up and keys that point to dimensions. A dimension table holds one row per thing you filter or group by, like one row per product, with descriptive columns such as name, category and brand.

Should I just use one big flat table instead?

A single flat table works for small, one-off reports. As soon as you have two fact tables, or you want to filter both by the same customer or date, a star schema is easier to keep correct, smaller to store and simpler to write measures against.

Do I need a date table for a star schema?

It is strongly recommended. A dedicated date table with one row per day lets every fact table share the same calendar, months and fiscal periods. Relate it to each fact table's date column and use it for all time filters.

Book a demo

## See your own data, delivered.

30 minutes. Your data or our sample. No slide deck. Pick a time straight after the form.
