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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Clay82
Frequent Visitor

Data modelling issue

Hi all,

 

New to Power BI and have come across a dataset that I am exploring and have an issue that I don't know how to solve when it comes to modelling and building relationships. 

I was hoping to get some help from the community.

 

I have this table with three columns that I have renamed to "Inventory_Lookup" (see pic) that I'm not able to connect correctly. I have listed my questions below. 

- Is this  a lookup/dimension table? Or is it actually a fact/data table?

- How do I connect it properly since there are no unique values in the table? Have I done it the right way as shown in the picture (both directions from sales table to product_lookup and one to many from product_lookup to Inventory_lookup)?

 

Thanks in advance.

 

Inventory_table.PNGRelationships.PNG

1 ACCEPTED SOLUTION
Pragati11
Super User
Super User

Hi @Clay82 ,

 

  1. The Inventory_Lookup is not a dimension table. A dimension table only rows with unique key values. It is a FACT table I would say.
  2. Product_Lookup to Inventory_Lookup relationship looks right.
  3. Sales to Product_Lookup relationship depends on what you want to retrieve based on this relationship? Do you want to access details in SALES table using Product_ID from PRODUCT_LOOKUP table? If yes then this relationship will work. But suppose you are planning to retrive "Stock_On_Hand" information in Sales table then you can also consider a direct relationship between SALES and Inventory_Lookup.

But, yes all the relationships in a data model depend on what you re planning to analyse in your report and at what granularity.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

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

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

2 REPLIES 2
Pragati11
Super User
Super User

Hi @Clay82 ,

 

  1. The Inventory_Lookup is not a dimension table. A dimension table only rows with unique key values. It is a FACT table I would say.
  2. Product_Lookup to Inventory_Lookup relationship looks right.
  3. Sales to Product_Lookup relationship depends on what you want to retrieve based on this relationship? Do you want to access details in SALES table using Product_ID from PRODUCT_LOOKUP table? If yes then this relationship will work. But suppose you are planning to retrive "Stock_On_Hand" information in Sales table then you can also consider a direct relationship between SALES and Inventory_Lookup.

But, yes all the relationships in a data model depend on what you re planning to analyse in your report and at what granularity.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

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

Appreciate your Kudos!!

Proud to be a Super User!!

Many thanks @Pragati11 !

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors
Top Kudoed Authors