PowerPivot relationship trouble

bvacha

New Member
Joined
Jan 22, 2015
Messages
3
I'm having trouble getting started with relationships in PowerPivot. I've created a dimension table and a fact table and put those in the data model. I linked the many-to-one relationship, but when I create the Pivot table and drag in fields from the dimension and the fact table, the summed dollar values from the dimension table are always displayed as totals. I expect them to be filtered by the dimension attributes. Perhaps someone can point me to a simple example or perhaps someone is aware of a bug or common issue that I'm missing. If I could post attachments here I would love to share and get your thoughts on where I'm going wrong.
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Try dragging one of your dimension attribute columns and drop the field in the Row Labels or Column Labels section of the Field List.

If you have Sum of Sales as a measure and drop Customer Type onto Rows you should get a breakdown by Customer Type.

Take it a step further and drop Month from a linked Calendar table on columns and you're starting to cook.

Take it a step further and drop state below customer type on rows and you got some pretty powerful data at your finger tips.

Throw Salesmen in a slicer and now you are toggling through some amazing data.
 
Upvote 0
GDRIII, what excel file are you referencing with Customer Type, Month, Calendar table, etc? When I try to do a similar thing with my file, the breakdown works well within a single dimension table. But as soon as I bring in a fact, the breakdown fails. This is with a sum of value field. To me, it's acting just like I don't have a relationship, but I do. I'd like to see a working sample file.
 
Upvote 0
I was just using some fictitious standard every day data for an example.

Measures come from the fact table. Rows, columns and slicers should be from your dimensional tables. Facts don't work so well in those slots...

Maybe I'm not following you well.
 
Upvote 0
Thanks so much GDRIII and scottsen!! You're spot on, GDRIII, in the fact that I didn't understand that I should put the measures in the fact table. I understand that the related() function will get me what I need. scottsen, I'll check out the link for more learning. You guys are wonderful!
 
Upvote 0
Glad to help.

Get yourself a copy of DAX Formulas for PowerPivot by Rob Collie...best cash you'll ever spend
 
Upvote 0

Forum statistics

Threads
1,224,061
Messages
6,176,152
Members
452,707
Latest member
laplajewelry

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