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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
ACECEO
Regular Visitor

Error "can't determine the relationship between fields", when adding a column to a report.

I am getting the error "can't determine the relationship between fields", when adding a column to a report.

 

Screenshot 2024-04-27 at 8.40.49 PM.png

 

I have the following data sets:

 

  • Insured_Dependent
  • Insured_Policy_Holder
  • Insurance_Order_Details
  • Insurance_Order
  • Insurance_Policy

 

The ERD is shown below.

 

Screenshot 2024-04-27 at 8.55.01 PM.png

 

The relationships are shown below.

 

Screenshot 2024-04-27 at 8.42.24 PM.png

 

 

If I add any column from Insurance_Order_Details, Insurance_Order, or Insurance_Policy, I get the error.

 

This is a problem because I need to add colums from all of those.

 

What do I need to do?

 

Any guidance or recommendations would be appreciated.

1 ACCEPTED SOLUTION
DataNinja777
Super User
Super User

Hi @ACECEO 

 

It is important to distinguish dimension table and fact table in your data model.  

  • Insured_Dependent  (Dimension table)
  • Insured_Policy_Holder  (Dimension table)
  • Insurance_Order_Details  (Fact table)
  • Insurance_Order (Fact table)
  • Insurance_Policy (Dimension table)

Instead of putting all the tables side by side as shown in your screen print, the best practice is to put the dimension tables above the fact tables so that you can clearly see the direction of filters flowing down from dimension tables to the fact tables (one side of the relationship to many side of the relationship). 

Best regards,  

View solution in original post

2 REPLIES 2
DataNinja777
Super User
Super User

Hi @ACECEO 

 

It is important to distinguish dimension table and fact table in your data model.  

  • Insured_Dependent  (Dimension table)
  • Insured_Policy_Holder  (Dimension table)
  • Insurance_Order_Details  (Fact table)
  • Insurance_Order (Fact table)
  • Insurance_Policy (Dimension table)

Instead of putting all the tables side by side as shown in your screen print, the best practice is to put the dimension tables above the fact tables so that you can clearly see the direction of filters flowing down from dimension tables to the fact tables (one side of the relationship to many side of the relationship). 

Best regards,  

Thanks. I completely overhauled the relationsips to fix the issue. I am all set now. 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.