How to create Relationship in Power Pivot

This guide will show you how to create relationship in Power Pivot in Excel step by step. Creating relationships between tables in Power Pivot helps you analyze data more efficiently by connecting tables through common fields, similar to a relational database. This is especially helpful when working with large datasets from different sources.

How to create Relationship in Power Pivot (step by step)

You can easily create relationship between two tables in excel using Power Pivot. Follow the below steps to create relationship in Power Pivot:

Step 1: Create Tables

  • Select the cells containing the data. Go to Insert tab and click Table under Tables section to create a table.
  • In Microsoft Excel, there should be minimum 2 tables to create relationship in Power Pivot.
Insert Table in Excel - Create Tables

Step 1: Define Table Names

  • Click anywhere on the table.
  • Go to the Table Design tab and find Table Name under Propertiies section.
  • By default the first table name is Table1 and you can change it.
Table Name in Excel - Table Name

Step 3. Go to the Power Pivot Window

  • Go to the Data tab on the Ribbon.
  • Click the “Go to the Power Pivot Window” button in the “Data Tools” section.
Go to the Power Pivot Window in Excel - Power Pivot

Or

  • Click anywhere on one of the Table.
  • Go to the “Power Pivot” tab on the Ribbon. Click the “Manage” button in the “Data Model” section.
Power Pivot - Manage Data Model

Step 4. Create and Manage Relationships

  • In Power Pivot for Excel, go to Design tab and click the “Create Relationship” button.
  • Select tables and columns that relate to one another. Select the table from drop down list and click the column to select. The selected columns will be highlighed in blue as show below.
  • Then click OK to create relationship between tables in Power Pivot for Excel.
How to Create Relationship in Power Pivot for Excel and Manage Relationships in Power Pivot for Excel
  • Go to Design tab and click the “Manage Relationships” button to create, edit or delete the relationships.
  • Click Close once done.
How to Manage Relationships in Power Pivot for Excel - Create, Edit or Delete Relationships in Power Pivot for Excel
  • If you select same column in both the tables then you will get the below error message:

(String Review) Relationship beween ‘Table1’Fruits and ‘Table2’Month is a many-to-many relationship which is not currently supported.

(String Review) Relationship beween 'Table1'Fruits and 'Table2'Month is a many-to-many relationship which is not currently supported

Step 4. Diagram View Relationships (Optional)

  • In Power Pivot for Excel, go to Home tab and click the “Diagram View” button under View section.
Diagram View Relationships in Power Pivot for Excel
  • It will show the diagram view of relationship between two tables in Excel which you have created.
Diagram View of Relationships in Power Pivot for Excel

How to create Relationship in Power Pivot for Excel on Mac?

In macOS version of Excel, the Power Pivot Relationship feature is not available. So, its not possible to create a relationship between tables in Power Pivot on Mac Excel.

How to create Relationship in Power Pivot using Shortcut?

Below is the keyboard shortcut key to create relationship in Power Pivot for Excel:

Shortcuts
Windows
Go to Power Pivot Window
Alt + A + DM
Manage Data Model
Alt + Y2 + M
Create Relationships (in Power Pivot for Excel window)
Alt + D + R
Manage Relationships (in Power Pivot for Excel window)
Alt + D + M
Diagram View (in Power Pivot for Excel window)
Alt + H + W

Conclusion

By creating relationships in Power Pivot for Excel, you can easily analyze complex datasets in one place. This involves matching related columns, understanding how tables are connected, and using Power Pivot’s simple drag-and-drop feature in Excel. You can also easily create a relationship between tables in Excel without Power Pivot.

Learn More

» How to create a Relationship between Tables in Excel?

» How to use Data Validation in Excel?

» How to use Text to Columns in Excel?

» How to Filter Data in Excel?

» How to use Advanced Filter in Excel?

» How to Sort Data in Excel?

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

How to create Relationship in Power Pivot - Rath Point

Excel Tutorial Part 1 (Basic)

» Excel Home

» Excel Basics

» Excel Workbook

» Excel Template

» Excel Cell

» Excel Password

Excel Tutorial Part 2 (Format)

» Excel Clipboard

» Excel Format Font

» Excel Format Alignment

» Excel Format Number

» Excel Border

» Excel Conditional Formatting

Excel Tutorial Part 3 (Data)

» Excel Sort Data

» Excel Filter Data

» Excel Text to Columns

» Excel Data Validation

» Excel Flash Fill

» Excel Remove Duplicates

» Excel Relationships

» Excel Consolidate

» Excel What-If Analysis

» Excel Group

» Excel Charts

» Excel Table

» Excel PivotTable

Excel Tutorial Part 4 (Find)

» Excel Find and Replace

» Excel Go To

» Excel Select Objects

» Excel Selection Pane

Excel Tutorial Part 5 (Review)

» Excel Spell Check

» Excel Smart Lookup

» Excel Translate

» Excel Comment

» Excel Protect

» Excel Hide Ink

Excel Tutorial Part 6 (View)

» Excel Workbook Views

» Excel Show

» Excel Zoom

» Excel Window

» Excel Macros

Excel Tutorial Part 7 (Fx)

» Excel Formulas (Category)

» Excel Formulas (Alphabetical)

» Excel Errors

» Excel Name Manager

» Excel Formula Auditing

» Excel Watch Window

» Excel Calculation Options

Excel Tutorial Part 8 (Other)

» Excel Add-ins

» Excel Shortcuts