Forum Discussion

bartvana's avatar
bartvana
Iron Contributor
Aug 15, 2021
Solved

Basic power Pivot question (why does the relationship "not work")

I made a PowerPivot model and am wondering why PowerPivot cannot make an aggregation by dimension (row). This is a very basic question but it would help me a lot to understand how these models work if someone could give me a quick answer.

 

Here's the simplified version:

I have two tables, ItemVendor and tItemQties.

ItemVendor lists SKU's and their Supplier.

tItemQties lists SKU's and their quantities.

I added both tables to the PowerPivot model, and made a relationship between the SKU columns.

What I fail to understand is why, in a PowerPivot pivot table, the relationship "doesn't work":

All suppliers get the full total, instead of their own total. 

 

My expected result would have been of course this (which I made in "standard" Excel, not PowerPivot):

Many thanks in advance for any clarification you can give!

  • bartvana Your model is a bad example since both tables contain unique SKU's. In reality the (fact) table with the Quantites holds non-unique SKUs whereas the (dimension) table with the SKU and Supplier info will hold the unique SKU's.

     

    If you drag the relationship from the fact table (the many side) to the dimension table (the one-side) it shall work.

5 Replies

  • Riny_van_Eekelen's avatar
    Riny_van_Eekelen
    Platinum Contributor

    bartvana Your model is a bad example since both tables contain unique SKU's. In reality the (fact) table with the Quantites holds non-unique SKUs whereas the (dimension) table with the SKU and Supplier info will hold the unique SKU's.

     

    If you drag the relationship from the fact table (the many side) to the dimension table (the one-side) it shall work.

Resources