One to many: every "many" displaying for every "one"

TheUnit

New Member
Joined
Sep 14, 2018
Messages
3
Hi All,
I'm looking for assistance with a modelling question that I've hit a few times in Powerpivot: displaying only *related* row labels from the many side of the relationship, as a subordi
hhph4p
nate row label to the "one" side records. I have an example model screengrabbed that I think makes the request very clear.
Thanks!
hhph4p
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
The scenario you are facing is known as 'AutoExist'. (One good example is HERE).
Basically the solution to your problem is to denormalize the Budget Description and add it to the right table in your screen shot ( ' many side' ). So you have to add an extra column to this table and use the RELATED function to pull the Budget Description from the left table. Then use this column in your pivot table in place of the Description column from the left table. Once you do this you should be getting the correct pairs only.
 
Upvote 0
I pulled in the Budget field using RELATED, and this does correct the repeating row label; however, it appears that the same aggregation/BudgetAmt summation problem persists, but now at the BudgetAmt grand total level, instead of subtotal level. I have tried thinking through a different data model scheme, but I end up concluding that my relationship is already one to many; so a new table linking my existing tables would just be a copy of my 'one' table...
It doesn't feel right, but I think I got it working using a DAX pattern from https://www.daxpatterns.com/handling-different-granularities/
Screengrab of revised results: https://ibb.co/jTqn6e
I think the ISFILTERED kind of means "involved in the pivot table"
Anyways, I think this is the solution but I'd love to hear any comments or corrections. Thanks again for looking at this.
 
Upvote 0
yes if you want the budget total to show up on the subtotals only then this is the way to go and because the pivo table will automatically not display blank rows then you do not need to denormalize anymore
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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