PowerPivot Data Analyst 5 - Creating Relationships

If you like this content, please consider visiting the video on YouTube and subscribe to the MrExcel Channel to show your support!
This video has been published on Jul 7, 2010.
This episode shows you how to manually define a relationship between two tables in PowerPivot.

This video is designed to accompany the book, PowerPivot for the Data Analyst: Microsoft Excel 2010
maxresdefault.jpg


Transcript of the video:
MrExcel podcast is sponsored by Easy-XL.
PowerPivot for the Data Analyst 5: Defining Relationships.
Well, hey, welcome back to the MrExcel netcast, I'm Bill Jelen.
Now, in this episode, I want to talk about manually defining a relationship. Now, it's possible to go ahead and create the pivot table and let Excel try and auto-detect the relationship.
But, if you're a better-safe-than-sorry kind of person, let's just define the relationship; and, boy, is it easy to define this relationship.
So, let's take a look at our data.
Here's my 1.8 million row data set.
You see I have a field called "StoreID".
And, then, here's my 144 row lookup table-- it has a field called "Store".
And there's a one-to-one relationship for each StoreID on the 1.8 million rows-- there'll be a corresponding store here-- and, of course, you know, before PowerPivot, this would be a lot of VLOOKUPs to join this data together.
1.8 million rows of VLOOKUPs for every single field, here, would take forever to calculate.
Watch how easy this is to do.
So, I start here, on the StoreID field, and I want to define a relationship.
I can right-click on the heading and say, Create Relationship, and because I've started on that field, this is already filled in.
We're starting from the demo table, the StoreID column, I choose Related Lookup Table, Store Info, and then, choose the Store field and click create and that's it.
I've now joined these two tables together, which allows me to create pivot tables very easily from both tables.
It also allows me to use the related function over here, to create a calculated column that would rely on data in that other table.
Very easy, easy way to go.
Alright, well, thank you for stopping by, we'll see you next time for another netcast from MrExcel.
[ Music ]
 

Forum statistics

Threads
1,214,951
Messages
6,122,442
Members
449,083
Latest member
Ava19

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
Back
Top