% Diff for Grouped Months in a linked Pivot Table

Zinbobal

New Member
Joined
Aug 12, 2015
Messages
2
Hello,

I have a pivot table set out as below, with the dates grouped by Month, Qtr and Year. The pivot table is linked from 2 data sources

QTR4
OCTNOVDEC
FCAC%DIFFFCAC%DIFFFCAC%DIF
APPLE10011010%50100100%7050-29%
ORANGE2040100%20200%3025-20%

<tbody>
</tbody>

I am having problems with the % Diff columns. Currently I have set up a column in the original data to work it out, but when I collapse the Qtr or Year, it becomes a sum of the %'s:


QTR4
FCAC%DIFF
APPLE22026081%
ORANGE709080%

<tbody>
</tbody>

I can get it to work using a calculated field, but only if the pivot table has 1 set of source data. And ideally I would like to have both sources feeding in.
 

Some videos you may like

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Fazza

MrExcel MVP
Joined
May 17, 2006
Messages
9,368
As you can get the pivot table working from one data source then it will also work from two.
Just combine the data sources so that the data is in the same set up as a single source.
This is defined by SQL that will be specific to your set up. The SQL can do the calculated field.
Suggest you give one sample row from the single data source & describe the calculated field that works, and also, one sample row from each of the current sources. Plus any explanation of how the two tables are related (if joins are needed).
regards
 

Watch MrExcel Video

Forum statistics

Threads
1,123,505
Messages
5,602,062
Members
414,498
Latest member
jordanmiller7890

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
Top