Basic Power Pivot

GorD

Well-known Member
Joined
Jan 17, 2004
Messages
1,447
Hi I'm trying to teach myself power query (going well) and power pivot (not so well).

This seems really basic but doesn't work as i envisaged.

I have two tables loaded to data model.

One has Assembly no, component number and qty per ( components can repeat)

The second table is a unique list of components) and price.

I relate the tables on component field and create a pivot table with assembly, component and price and expected to get the price for the part ( i can pull the price across using related, but not the point). Instead under the component i get all the prices listed. WHy?

Obviously must be a misunderstanding on my part of how this should work

Thanks for any pointers
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Yes. You need to understand how power pivot works. In your example, the first table is a data table and the second table is a lookup table. A lookup table is on the one side of a one to many relationship and the data table is on the many side. The pivot table provides filtering to you data model however this natural filtering only flows in one direction, from the lookup table (one side) to the data table (many side).

You you may like to consider buying my book to help you get started - it will help you :).

Http://Xbi.com.au/learndax
 
Upvote 0
Thanks Matt, I have relationships defined between the table on the component field. Many on the Bom table to One on the Prices table.

I think i have it working ok - i was selecting assembly and component from the BOm table along with price from the Prices table. If i choose component and price from the prices table it seems to work. I had thought it wouldn't matter which table i picked the component from
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,844
Members
449,051
Latest member
excelquestion515

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