Pivot Table Calculated field based on value of 1 (fixed) cell

david_cc

New Member
Joined
Jan 20, 2017
Messages
12
Hi guys,

I have an Pivot Table where I calculated a cumulative budget (last column) based on the column before (total budget) The first part of the overview has been deleted and the numbers have been changed. This view is based on everything. In this case all campaigns.

So far this works fine. Now I added some sliders to filter for specific campaigns. This also works fine but the cumulative budget (last column) now shows me the % of filtered campaigns and not the % of total spending.

Is there a way to do this? I have been playing around and created one cell on top of the Pivot Table with the sum of total spending. When I create a calculated field and refer to that cell it shows me an error message. Probably because the cell is outside the Pivot.

Any help is welcome :)

[TABLE="width: 804"]
<tbody>[TR]
[TD]42[/TD]
[TD="align: right"]42[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]12.0 €[/TD]
[TD] 504.8 €[/TD]
[TD="align: right"]1.4%[/TD]
[/TR]
[TR]
[TD]98[/TD]
[TD="align: right"]98[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]15.5 €[/TD]
[TD] 1,519.3 €[/TD]
[TD="align: right"]4.2%[/TD]
[/TR]
[TR]
[TD]114[/TD]
[TD="align: right"]114[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]28.3 €[/TD]
[TD] 1,229.3 €[/TD]
[TD="align: right"]9.0%[/TD]
[/TR]
[TR]
[TD]154[/TD]
[TD="align: right"]154[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]21.0 €[/TD]
[TD] 1,232.4 €[/TD]
[TD="align: right"]9.0%[/TD]
[/TR]
[TR]
[TD]Gesamtergebnis[/TD]
[TD="align: right"]1370[/TD]
[TD="align: right"]4536[/TD]
[TD="align: right"]26.1 €[/TD]
[TD] 5,796.8 €[/TD]
[TD="align: right"]100.0%[/TD]
[/TR]
</tbody>[/TABLE]
 

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