Explanation
Relationships tell Power Pivot how tables are connected.
Example:
Products[ProductID]
1
│
│
∞
Sales[ProductID]
This is a one-to-many relationship.
One product can appear in many sales transactions.
Steps
- Add tables to the Data Model.
- Open Power Pivot → Manage.
- Switch to Diagram View.
- Connect matching fields.
- Verify the relationship.
Example Relationships
|
Primary Table |
Related Table |
|
Products[ProductID] |
Sales[ProductID] |
|
Customers[CustomerID] |
Sales[CustomerID] |
|
Employees[EmployeeID] |
Sales[EmployeeID] |
|
Calendar[Date] |
Sales[Date] |
Practice
Create all four relationships in the Business Data Model