Excel in Depth - PowerPivot Relationships: #1242

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 Sep 10, 2010.
Define a relationship between two tables in PowerPivot. Podcast #1242 shows you how to link tables on two different sheets to create a Pivot Table.

"Excel 2010 In Depth", by Bill Jelen a.k.a. MrExcel.
maxresdefault.jpg


Transcript of the video:
MrExcel podcast is sponsored by Easy-XL.
Excel in depth, chapter 25.
PowerPivot Relationships.
Hey! Chapter 25 is all about power pivot.
The great new add in, that came from Microsoft Power Pivot.
Lets us, mashup various data sets.
And so, I have a couple of different tables here sales and weather.
One of those classical mashup, let's see how sales vary by weather.
When we go over to Power pivot?
Say we have our two tables to your sales and weather.
We want to link, these two tables together.
We want to relate them, when I set up a relationship.
Sales has date, weather has date.
Now, all of these sales are for one city.
So, we don't have a secondary key there to worry about.
We could just let powerpivot do this relating force in the pivot table.
But, instead I'm going to explicitly create this.
I want to relate date in this table, to date in the other table.
I come here to the date header of the first table and will right click and say Create Relationship.
And here we say we're going to go from sales, Column date and we want to go to weather and because weather has something called date.
It automatically fills that in for, click [ Create ].
And we now have a link between those two items.
When we create the pivot table now.
You'll see that we have all of the items from our sales table as well as the items from our weather table linked together without any hassles at all.
So one of the great things about Power Pivot, is the ability to take those two sheets that have a common key between them.
Hey! I want to thank you for stopping by.
Will see you next time for another netcast, from MrExcel.
 

Forum statistics

Threads
1,214,591
Messages
6,120,424
Members
448,961
Latest member
nzskater

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