Star Schema vs Snowflake Schema in Power BI: Full Guide

By Vivek Dhumal • 2026-09-20 • 10 min read
Star Schema vs Snowflake Schema in Power BI: Full Guide

Key Takeaways

  • • Star schema is the right default for Power BI — in nearly every situation. Microsoft's own documentation names star schema design as the preferred approach for models optimized for performance and usability. This isn't a community preference; it's how the underlying engine was designed.
  • • A star schema places one central fact table at the middle, with flat dimension tables connected directly to it — one relationship per dimension, no chains. A snowflake schema breaks those dimension tables into sub-tables, creating a branching structure with more tables and more relationships.
  • • Power BI's VertiPaq storage engine compresses flat columns so efficiently that the storage argument for normalizing dimensions — the core reason snowflake schemas exist in relational databases — largely disappears inside Power BI. You add relationships and complexity without getting the storage benefit back.
  • • Every extra relationship in a snowflake chain is a potential point where DAX filter context behaves unexpectedly. Star schemas have fewer relationships, which means filter propagation is more transparent and easier to reason about when writing measures.
  • • Three specific scenarios justify keeping a snowflake structure: large conformed dimensions shared across multiple fact tables, DirectQuery models where source query optimization outweighs modeling simplicity, and cases where the transformation cost of flattening is prohibitive relative to the performance gain.

The most common structural mistake in Power BI data modeling isn't a wrong relationship or a mislabeled column — it's importing a normalized database structure directly into a Power BI model without reshaping it first. The model that works well in a relational database and the model that works well in Power BI are designed around different principles. This guide explains exactly where they differ and what to do about it.


What Is a Star Schema?

A star schema is a data model where a single fact table sits at the center, connected by direct relationships to multiple dimension tables — each dimension flat, each connecting only to the fact table.

The fact table holds everything measurable: every sale, every order, every transaction. Each row is one event. Numeric columns (Revenue, Quantity, Cost) are what measures will aggregate. Non-numeric columns are foreign keys — IDs that connect each event row to the right dimension record.

Dimension tables describe the context of each event: which product, which customer, which date, which location. Each dimension table connects directly to the fact table, one relationship per dimension. Looking at this layout in Power BI's Model view, the shape resembles a star — the fact table in the center, dimensions branching outward — which is where the name comes from.

Fact_Sales:

SaleID DateID ProductID CustomerID Quantity Revenue
120260101101201315,000
22026010210220114,200
320260103101202210,000
42026010410320358,750
520260105102202416,800

Dim_Product — flat, star schema version:

ProductID ProductName Category Brand UnitPrice
101Laptop ProComputersTechCorp5,000
102Wireless MousePeripheralsLogitech4,200
103UHD MonitorDisplaysSamsung1,750

Dim_Customer — flat:

CustomerID CustomerName Region Segment
201Acme CorpNorthEnterprise
202Beta LtdSouthSMB
203Gamma IncEastSMB

Three tables total. Fact_Sales connects to Dim_Product through ProductID, and to Dim_Customer through CustomerID. A slicer on Category filters Dim_Product, and that filter flows through one relationship into Fact_Sales. Clean, flat, and readable in Model view without having to trace chains.

What Is a Snowflake Schema?

A snowflake schema normalizes dimension tables into sub-tables — instead of storing Category and Brand as columns in Dim_Product, each gets its own separate table, connected to Dim_Product via a foreign key.

Dim_Product — snowflake version (foreign keys replace text values):

ProductID ProductName CategoryID BrandID UnitPrice
101Laptop Pro1015,000
102Wireless Mouse1124,200
103UHD Monitor1231,750

Dim_Category — sub-table:

CategoryID Category
10Computers
11Peripherals
12Displays

Dim_Brand — sub-table:

BrandID Brand
1TechCorp
2Logitech
3Samsung

Now there are five tables instead of three. Two extra relationships. To filter sales by category, Power BI must traverse two relationships: Fact_Sales → Dim_Product → Dim_Category. The data is identical to the star version — only the shape of the model has changed.

Why Star Schema Works Better in Power BI: Three Engine-Level Reasons

The preference for star schema in Power BI isn't a stylistic convention — it's directly tied to how the VertiPaq engine stores and queries data. Three specific mechanisms explain it.

Reason 1: How VertiPaq Compresses Columns

Power BI stores data using a columnar engine called VertiPaq. Rather than storing data row by row the way a traditional relational database does, VertiPaq stores data column by column and compresses each column independently using value encoding.

The compression efficiency depends on how many unique values a column contains. A column with three unique values — "Computers," "Peripherals," "Displays" — repeated across three million rows compresses to nearly zero additional storage cost, because VertiPaq encodes the three values once and stores only the reference index for each row.

In a traditional relational database, storing "Computers" as a text string across many rows wastes space. Normalizing it into a CategoryID integer that references a separate lookup table is how relational databases solve that problem. In Power BI, this problem does not exist in the same way. VertiPaq's value encoding already eliminates repeated text strings — "Computers" stored in a flat Dim_Product column compresses just as efficiently as a CategoryID integer column would. What the snowflake schema does add is an extra table and an extra relationship — both of which have a cost at query time — without delivering the storage benefit that justified them in the first place.

Reason 2: Filter Context Travels Fewer Hops

Every time a Power BI visual renders, DAX evaluates your measures inside a filter context — the set of active filters coming from slicers, visual rows and columns, page filters, and anything else the user has applied. Those filters travel through your model's relationships to reach the fact table.

In a star schema, the path is direct and predictable: Dim_Product → Fact_Sales (1 hop). In a snowflake schema, the same filter travels: Dim_Category → Dim_Product → Fact_Sales (2 hops). Each relationship in the chain is a point where the filter direction, cardinality, or cross-filter behavior can produce unexpected results in a DAX measure. Star schemas minimize the number of relationships that filter context must traverse, which makes DAX formulas more predictable and easier to debug.

Reason 3: Query Execution Requires Fewer Joins

Every visual in a Power BI report generates a query that VertiPaq executes against the in-memory column store. Fewer relationships in the model means fewer joins in those queries, which means faster visual rendering. On a Fact_Sales table with 50 million rows and dozens of concurrent report viewers, the difference in query execution time becomes measurable and significant.

Three Scenarios Where Snowflake Is Defensible

Scenario 1: Large Conformed Dimensions Shared Across Multiple Fact Tables

In an enterprise semantic model with multiple subject areas (Sales, Finance, Operations), a dimension like Customer or Geography might be shared across five or six different fact tables. Flattening might mean maintaining multiple copies that need continuous synchronization.

Scenario 2: DirectQuery Models Where Source Query Structure Matters

If the source database is a highly normalized production system whose indexes and optimizer are tuned for normalized joins, forcing denormalized joins in generated SQL might produce worse query performance. Always test with DAX Studio Server Timings.

Scenario 3: When the Flattening Cost Is Genuinely Prohibitive

If your source delivers dozens of complex sub-tables and transformation scripts risk breaking on upstream schema changes, the engineering maintenance cost may outweigh the marginal performance gain.

How to Convert a Snowflake Into a Star Schema in Power Query

For most projects where data arrives from a normalized source, the conversion happens in Power Query using Merge Queries.

Step 1: Load All Source Tables

Connect to your source and load each table — fact and all dimension sub-tables — as separate queries in Power Query Editor. In the example: Fact_Sales, Dim_Product, Dim_Category, and Dim_Brand as four separate queries.

Step 2: Merge Dim_Category Into Dim_Product

Click the Dim_Product query to make it active. Go to Home → Merge Queries. Configure the dialog:

  • Top table: Dim_Product, join key column: CategoryID
  • Bottom table: Dim_Category, join key column: CategoryID
  • Join Kind: Left Outer — preserves all Dim_Product rows

Click OK, expand only Category, uncheck original prefix, and delete the redundant CategoryID column.

Step 3: Repeat for Dim_Brand

Follow the identical merge process to bring Brand from Dim_Brand directly into Dim_Product. Delete BrandID after expanding.

Step 4: Disable Load on the Sub-Tables

Right-click Dim_Category and Dim_Brand in the Queries pane and uncheck Enable Load. They continue to exist as transformation steps used internally by Power Query, but they no longer appear as tables in the Power BI model.

Step 5: Verify in Model View

Open Model view after closing and applying. You should see three tables with two relationships — Fact_Sales → Dim_Product and Fact_Sales → Dim_Customer. No chains, no sub-tables. A clean star.

The M Code behind the Dim_Product transformation:

let
    Source = Dim_Product_Raw,
    #"Merged Category" = Table.NestedJoin(
        Source, {"CategoryID"},
        Dim_Category, {"CategoryID"},
        "Dim_Category", JoinKind.LeftOuter
    ),
    #"Expanded Category" = Table.ExpandTableColumn(
        #"Merged Category",
        "Dim_Category",
        {"Category"},
        {"Category"}
    ),
    #"Merged Brand" = Table.NestedJoin(
        #"Expanded Category", {"BrandID"},
        Dim_Brand, {"BrandID"},
        "Dim_Brand", JoinKind.LeftOuter
    ),
    #"Expanded Brand" = Table.ExpandTableColumn(
        #"Merged Brand",
        "Dim_Brand",
        {"Brand"},
        {"Brand"}
    ),
    #"Removed FK Columns" = Table.RemoveColumns(
        #"Expanded Brand",
        {"CategoryID", "BrandID"}
    )
in
    #"Removed FK Columns"

The DAX Difference in Practice

Scenario: A measure calculating revenue for the Computers category only.

Star Schema Version (1 Hop)
Computers Revenue = CALCULATE(
    SUM(Fact_Sales[Revenue]),
    Dim_Product[Category] = "Computers"
)

Filter hits Dim_Product directly; one relationship carries it into Fact_Sales.

Snowflake Schema Version (2 Hops)
Computers Revenue = CALCULATE(
    SUM(Fact_Sales[Revenue]),
    Dim_Category[Category] = "Computers"
)

Filter must traverse Dim_Category → Dim_Product → Fact_Sales. Any non-default direction can silently corrupt outputs.

Side-by-Side Comparison

Feature Star Schema Snowflake Schema
Table countFewer (1 fact + N flat dims)More (sub-dimension tables added)
Relationship countFewer (each dim connects directly to fact)More (chains between dims and sub-dims)
VertiPaq compressionExcellent on flat text columnsSimilar compression, but extra FK columns add overhead
Query speedFaster — fewer joins at query timeSlower — multi-table traversal at each query
DAX filter propagationSingle-hop — predictable and easy to debugMulti-hop — more opportunity for silent errors
Model readabilityImmediately clear in Model viewRequires tracing chains to understand
Storage benefit in Power BIGood — VertiPaq handles repeated valuesMinimal — relational storage motivation disappears
Storage benefit in RDBMSLower (text values repeat in dim rows)Higher (normalized values stored once per lookup)
Microsoft's guidance✓ Explicitly recommended✗ Not recommended as default
Best forVirtually all Power BI modelsThree narrow enterprise exceptions

Common Mistakes

1. Building dimension-to-dimension relationships instead of connecting directly to the fact table

In Model view, if you see a chain where a dimension connects to another dimension rather than to the fact table, flatten it in Power Query.

2. Treating the source database structure as the model structure

A transactional database is built for read-write OLTP efficiency. Power BI is built for read-intensive analytical query performance.

3. Adding bidirectional relationships to fix snowflake filter propagation

Setting relationships to bidirectional creates ambiguity and performance degradation. Flattening the chain is the correct solution.

4. Believing that keeping CategoryID saves storage in Power BI

VertiPaq encodes and compresses the text column in the flat dimension just as efficiently as the integer FK column without needing extra tables.

Frequently Asked Questions

Should I always use a star schema in Power BI?

Nearly always, yes. Microsoft's official documentation names star schema as the preferred design for Power BI models. The VertiPaq engine and DAX language are both built around dimensional models with separated fact and dimension tables. Start with star schema and only deviate when a specific, documented reason makes the trade-off worthwhile.

What is the main difference between a star and snowflake schema?

In a star schema, dimension tables connect directly to the fact table and contain all their attributes in one flat table. In a snowflake schema, those dimension tables are broken into sub-tables — a product dimension might have Category and Brand as separate tables connected to it via foreign keys — creating chains of relationships rather than a single hop from dimension to fact.

Does snowflake schema save storage in Power BI?

Not meaningfully. The storage saving from normalization comes from avoiding repeated text values in a relational database. Power BI's VertiPaq engine handles repeated values in flat columns very efficiently through its own compression — so the motivation for normalization largely disappears once data is inside the Power BI model.

How do I convert a snowflake schema to a star schema in Power BI?

Use Merge Queries in Power Query Editor. Select the dimension table you want to flatten, merge in the sub-dimension table using the shared foreign key, expand the relevant attribute columns from the sub-table into the parent dimension, delete the foreign key column, and disable load on the sub-dimension table. The result is a flat dimension that connects to the fact table in a single relationship.

Can I leave my data in snowflake format if it arrives that way from the source?

You can, but you generally shouldn't. Flattening the dimensions in Power Query before loading them into the model is the correct approach for import mode. The transformation happens once at refresh time and the result — a flat, star-schema-shaped model — is what sits in memory and serves queries at report time.

What is VertiPaq and why does it affect this decision?

VertiPaq is the in-memory columnar storage engine that powers Power BI. It stores data column by column, compresses each column based on its cardinality, and is specifically built for the dimensional model structure that star schemas use. Models shaped like star schemas compress better, query faster, and produce more predictable DAX behavior with VertiPaq than chains of normalized dimension tables do.

Recommended Next Guides & Deep Dives

Continue expanding your Power BI and Fabric architecture knowledge with these closely connected tutorials:

Step-by-Step Implementation Sandbox

1. Load All Source Tables

Connect to your source and load each table — fact and all dimension sub-tables — as separate queries in Power Query Editor (e.g. Fact_Sales, Dim_Product, Dim_Category, and Dim_Brand).

2. Merge Dim_Category Into Dim_Product

Select the Dim_Product query, go to Home > Merge Queries, match CategoryID with Left Outer join, expand the Category column, and delete the redundant CategoryID foreign key.

3. Repeat for Dim_Brand

Follow the identical merge process on Dim_Product to bring Brand from Dim_Brand directly into Dim_Product and remove BrandID.

4. Disable Load on the Sub-Tables

Right-click Dim_Category and Dim_Brand in the Queries pane and uncheck Enable Load so they function solely as upstream staging queries without bloating the data model.

5. Verify in Model View

Click Close & Apply and inspect the Model view. Confirm direct 1-to-many relationships from Fact_Sales to Dim_Product and Dim_Customer with no intermediate relationship chains.

Frequently Asked Questions

Should I always use a star schema in Power BI?

Nearly always, yes. Microsoft's official documentation names star schema as the preferred design for Power BI models. The VertiPaq engine and DAX language are both built around dimensional models with separated fact and dimension tables. Start with star schema and only deviate when a specific, documented reason makes the trade-off worthwhile.

What is the main difference between a star and snowflake schema?

In a star schema, dimension tables connect directly to the fact table and contain all their attributes in one flat table. In a snowflake schema, those dimension tables are broken into sub-tables — a product dimension might have Category and Brand as separate tables connected to it via foreign keys — creating chains of relationships rather than a single hop from dimension to fact.

Does snowflake schema save storage in Power BI?

Not meaningfully. The storage saving from normalization comes from avoiding repeated text values in a relational database. Power BI's VertiPaq engine handles repeated values in flat columns very efficiently through its own compression — so the motivation for normalization largely disappears once data is inside the Power BI model.

How do I convert a snowflake schema to a star schema in Power BI?

Use Merge Queries in Power Query Editor. Select the dimension table you want to flatten, merge in the sub-dimension table using the shared foreign key, expand the relevant attribute columns from the sub-table into the parent dimension, delete the foreign key column, and disable load on the sub-dimension table. The result is a flat dimension that connects to the fact table in a single relationship.

Can I leave my data in snowflake format if it arrives that way from the source?

You can, but you generally shouldn't. Flattening the dimensions in Power Query before loading them into the model is the correct approach for import mode. The transformation happens once at refresh time and the result — a flat, star-schema-shaped model — is what sits in memory and serves queries at report time.

What is VertiPaq and why does it affect this decision?

VertiPaq is the in-memory columnar storage engine that powers Power BI. It stores data column by column, compresses each column based on its cardinality, and is specifically built for the dimensional model structure that star schemas use. Models shaped like star schemas compress better, query faster, and produce more predictable DAX behavior with VertiPaq than chains of normalized dimension tables do.

Vivek Dhumal

Vivek Dhumal

Microsoft Certified: PL-300, DP-600

Senior Power BI & Fabric Architect

Vivek Dhumal is a Microsoft Certified Data Analyst and Fabric specialist helping enterprises optimize enterprise BI semantic models, DAX performance, and end-to-end data analytics architecture.