Table relationships - related table not filtering data

rad1112000

New Member
Joined
Aug 15, 2014
Messages
2
This is my first time using table relationships in excel 2013 and while it seems straightforward I must be missing something as it is not working as intended.

As a test, I set up to small tables. Table 1 contains two columns- model # and capacity. Table 2 contains 3 columns - model #, dim 1, dim 2. The two tables are related together via the model # columns.

I set up a pivot table that I want to show model #, capacity, dim 1 & dim 2. The first two items which come from the "master" table show up correctly, but the dim 1 & dim 2 which come from the "related" table come in to my pivot table as a list of all items in dim 1 or dim2 column for each row of data from Table 1. I want only the dim 1 and dim 2 that corresponds to the model # in that row to appear. Any suggestions what I am doing wrong? See below for example

Table 1 Table2
model #capacitymodel #dim 1dim 2
a10a1010
b20b2020
c30c3030
d40d4040
model #capacitydim 1dim 2
a101010
2020
3030
4040
b201010
2020
3030
4040
c301010
2020
3030
4040
d401010
2020
3030
4040
Grand Total
<colgroup><col width="77" style="width: 58pt; mso-width-source: userset; mso-width-alt: 2464;"> <col width="79" style="width: 59pt; mso-width-source: userset; mso-width-alt: 2528;"> <col width="72" style="width: 54pt;"> <col width="88" style="width: 66pt; mso-width-source: userset; mso-width-alt: 2816;"> <col width="80" style="width: 60pt; mso-width-source: userset; mso-width-alt: 2560;"> <col width="61" style="width: 46pt; mso-width-source: userset; mso-width-alt: 1952;" span="2"> <col width="72" style="width: 54pt;" span="2"> <tbody> </tbody>
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
When building your pivot table, pull fields from the LOOKUP table. (At least, that is my best guess at your problem :))
 
Upvote 0
Thank for the response, but I don't understand what you mean by "LOOKup" table. My pivot table lets me select fields from each of my two tables. I selected Model # and capacity from my "master" table and dim 1 and dim 2 from my related table. There aren't any other options that I can see.
 
Last edited:
Upvote 0
Lookup tables are your DIM tables (as opposed to fact/data/master table). Use model# from the "related table".
 
Upvote 0
I think you have linked your tables back to front. It is hard to understand what you are exactly trying to do based on the example, but you need to drag the model field from the dim table over to the capacity table to get your expected result.
 
Upvote 0

Forum statistics

Threads
1,214,621
Messages
6,120,568
Members
448,972
Latest member
Shantanu2024

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