Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Kanellno
New Member

Cardinality error,,, or snowflake schema needed?

 

Hi,

 

I got stuck in making Snowflake Schema. 

 

Can anybody help me, how to develop for Cardinality with correct order please?

Its part of my invoice. 

I was going to calculate only sales by Service Group. 

Product Dimension

Kanellno_0-1666546361471.png

 

Product Code Product Group  Product Service           Service Group

AAirCOACHECONOMY (Air)
AAirBUSINESSBUSINESS (Air)
AAirPREMIUM ECONOMYPREMIUM ECONOMY (Air)
RRailBUSINESSBUSINESS (Rail)
RRailCOACHECONOMY (Rail)
RRailRailECONOMY (Rail)

 

Fact Dimension

Kanellno_1-1666546361336.png

 

Product CodeProduct GroupProduct Service
AAir

COACH

 

RRailBUSINESS

 

 

In Product Dimenstion, I newly inserted the column Service Group, which doesnt exist  in FACT Dimension. 

 

The problem, is that I can not make one to many cardinality. so, i guess, i need Snowflake schema. 

But, I do not have another column and data in terms of the product above in Fact dimension (invoice). 

 

1 REPLY 1
bcdobbs
Community Champion
Community Champion

Your fact table is at a different grain to your dimension table.

 

If you can't change the grain of the fact table I would use a many to many relationship set so the dimension table filters the fact table.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors