when two foreign keys in same table(Match) referencing primary key in another table( Team)(. Powerpivot)

harsha547

New Member
Joined
Aug 3, 2015
Messages
1
Can I know , how to establish relationship between two tables in PowerPivot.when two foreign keys in same table(Match) referencing primary key in another table( Team).Match ( Match_Id (PK) , Home_Team(FK) , Away_Team(FK) )Team ( Team_ID (PK) , Team_Name )Both Home_Team and Away_Team columns are referencing to Team_ID in Team Table
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Matt Allington

MrExcel MVP
Joined
Dec 18, 2014
Messages
1,261
I don't really understand your question. A relationship is between 2 tables, one side has a PK and the other has a FK. You just drag the columns to each other in the relationship view and the relationship is created. It is not relevant if there are 2 records in the FK table or not - the relationship is the relationship.
 

Watch MrExcel Video

Forum statistics

Threads
1,133,149
Messages
5,657,129
Members
418,357
Latest member
nogiie

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top