Table relationships with Excel PowerPivot - AdvantEdge Training & Consulting

Table relationships with Excel PowerPivot

Excel PowerPivot is a tool for managing and visualizing complex data within Excel. It has elements of a database system like Access but also offers Excel features like Pivot Table.
PowerPivot is free with Office 2013, but you may need to enable it. There are directions on how to do so at this link.
Once you’ve enabled PowerPivot, the PowerPivot tab should appear. There are a lot of tools available, but we’ll focus on relating two tables together.
In this example, one table lists individuals with their genders and titles. The other table is the list of miles, sales, and coffee cups. The two tables must hold some column in common in order to create the relationship. In this case, I added a number field for the respondents.
add-to-data-model

Add to the data model

The first step is to add each table to the data model. To do so, I put my cursor in one of the tables, and clicked on Add to Data Model under the PowerPivot Tab. The system prompted me to format the data in a table. Once I did, it opened a separate PowerPivot window for that table.
I closed the new window and repeated the process for the second table, adding it to the data model as well. Then, in the PowerPivot window that opened, I chose diagram view to set up the relationships.
power-pivot-model

Creating relationships

I right clicked on the title for one of the boxes and chose Create Relationship. I then chose the column that was held in common and clicked create. The data model shows this relationship with a line between the two tables.
excel-table-relationshipspower-pivot-relationships

Using related tables

After creating the relationships. I clicked on the drop down arrow under the PivotTable option to create a pivot chart. Because there is a relationship between the tables I can draw data from both tables.
related-tables
 
 
 

Learn to make Excel work for you with a training class from AETC

If you have at least 5 people we can create a session just for you.  Or, you can contact us for a private session. Contact Us

Questions? Don't see what you need?

We can help!

Business Training Classes
AdvantEdge Training & Consulting, Inc.

Recent Posts

Subscribe to our Newsletter

Copyright AdvantEdge Training & Consulting

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top