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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
sbolton1855
Frequent Visitor

Data model doesnt work when adding a 3rd relationship

I am creating a relationship between my main fact table HW Inventory and 3 other tables.  All of the tables have a serial numbers I am making the relationship on.  Here is the model that *Should* work.  When I add a field from HW Inventory and Battery, Exported Cycles or Software bothe Serial numbers show up.  If HW Inventory any one of those dimension tables is selected both show the correct serial BUT any 3rd dimension table is selected I get the error PBI cant determine the relationship between two or more fields.  Now the kicker is the next model

sbolton1855_0-1673379141421.png

 

 

The only way I can get all 4 serial numbers on the visual from each table without an error is using this model pretty much running it through one of my other dimension tables.  This just feels wrong.   How can I debug why the first model that I believe is correct wont work? or someone correct me if I am wrong that it should work as I expected.

 

sbolton1855_1-1673378986232.png

 

 

1 REPLY 1
lbendlin
Super User
Super User

Ask yourself which of your tables are fact tables and which are dimension tables. Try not to join fact tables directly. Instead, have all your fact tables controlled by the dimension tables.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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