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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
12Bowers12
Helper V
Helper V

table relationship

 

Hello, everyone,

I have been stuck a question for a long time.

For auto insurance policy, one policy comes some coverage, such as BI, PD and PIP.

Given one policy, there can be more than one accident. For each accident, more than one coverage might be involved.

For example, in the attached four tables, Policy table and PolicyData table are 1-M relationship. Policy table and Claim table are also 1-M relationship. Claim table and ClaimData are also 1-M relationship.

Question 1: how to build relationship among the tables

Policy and PolicyData is straight, 1-M.

But for Claim table and ClaimData table,  can be Policy to Claim to ClaimData as one 1-M chain, also can be Policy-Claim (1-M), and Policy-ClaimData(1-M).

Which approach is optimal?

Question 2: how to combine all the information together, in a new Calculated table or Report?

The New Table (or Report?) should include: Policy Number, Effective Date, Coverage, Limit, Claim Number, Loss Date, Amount.

I preferred a Report solution.

I would like to thank you first.

Dennis

 

 

 

Policy   PolicyData  
Policy NumberEffective Date  Policy NumberCoverageLimit
4561/2/2014  456BI20
3213/5/2014  456PD25
    456PIP60
    321BI30
    321PD65
       
       
       
Claim   ClaimData  
Policy NumberClaim  NumberLoss Date Claim  NumberCoverageAmount
4561012/2/2014 101BI55
3212054/8/2014 101PIP63
4565064/6/2014 205PD44
    205BI78
    506PD55
3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

I think the relationships should flow like:

  1. Policy Number of PolicyData Table to the Policy Number of Policy Table
  2. Policy Number of Claim Table to the Policy Number of Policy Table
  3. Claim Number of ClaimData Table to the Claim Number of the Claim Table
  4. There should be a 5th Table with a single column of all unique Coverage entries.
    1. There should be a relationship from the Coverage Column of the PolicyData Table and ClaimData Table to the 5th Table

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thank you, Ashish,

Can I send this simple Power BI data to you for a test?

I can be reached at dli@cwico.com.

Sincerely,

Dennis

Hi,

You are welcome.  Have you tried my solution?  Has it worked?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.