I am trying to view the difference in Sales from one period to the next in an Excel PivotTable. Transaction dates are grouped by Years/Quarters. Years and Quarters are Row Labels in the PivotTable. The PivotTable Values are the Sum of Sales. Values are shown as the Difference From, with the Base Field as Quarters and the Base Item as (previous). This works fine when the data is limited to a single fiscal year, but I experience a problem when the data spans a fiscal year (example: from Q4'2011 to Q1'2012). In this example, when spanning a fiscal year, the PivotTable does not calculate the difference Q1'2012 from Q4'2011. Please reference below for an illustration. I know this could be solved by adding a function similar to the following to the dataset =YEAR(A1)&"-Q"&INT(MONTH(A1)/4+1. However, I would like to avoid such an approach, if possible. If anyone has a solution to this problem, I would be greatly appreciative.
[TABLE="width: 126"]
<COLGROUP><COL style="WIDTH: 69pt; mso-width-source: userset; mso-width-alt: 3364" width=92><COL style="WIDTH: 57pt; mso-width-source: userset; mso-width-alt: 2779" width=76><TBODY>[TR]
[TD="width: 92"]Row Labels[/TD]
[TD="width: 76"]Sales[/TD]
[/TR]
[TR]
[TD="class: xl65"]2011[/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]Qtr1[/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]Qtr2[/TD]
[TD="class: xl67, align: right"]-15,592.16[/TD]
[/TR]
[TR]
[TD="class: xl66"]Qtr3[/TD]
[TD="class: xl67, align: right"]1,151.75[/TD]
[/TR]
[TR]
[TD="class: xl66"]Qtr4[/TD]
[TD="class: xl67, align: right"]156,429.46[/TD]
[/TR]
[TR]
[TD="class: xl65"]2012[/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]Qtr1[/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]Qtr2[/TD]
[TD="class: xl67, align: right"]61,999.37[/TD]
[/TR]
[TR]
[TD="class: xl66"]Qtr3[/TD]
[TD="class: xl67, align: right"]-41,808.15[/TD]
[/TR]
[TR]
[TD="class: xl66"]Qtr4[/TD]
[TD="class: xl67, align: right"]-105,343.56[/TD]
[/TR]
</TBODY>[/TABLE]
[TABLE="width: 126"]
<COLGROUP><COL style="WIDTH: 69pt; mso-width-source: userset; mso-width-alt: 3364" width=92><COL style="WIDTH: 57pt; mso-width-source: userset; mso-width-alt: 2779" width=76><TBODY>[TR]
[TD="width: 92"]Row Labels[/TD]
[TD="width: 76"]Sales[/TD]
[/TR]
[TR]
[TD="class: xl65"]2011[/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]Qtr1[/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]Qtr2[/TD]
[TD="class: xl67, align: right"]-15,592.16[/TD]
[/TR]
[TR]
[TD="class: xl66"]Qtr3[/TD]
[TD="class: xl67, align: right"]1,151.75[/TD]
[/TR]
[TR]
[TD="class: xl66"]Qtr4[/TD]
[TD="class: xl67, align: right"]156,429.46[/TD]
[/TR]
[TR]
[TD="class: xl65"]2012[/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]Qtr1[/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]Qtr2[/TD]
[TD="class: xl67, align: right"]61,999.37[/TD]
[/TR]
[TR]
[TD="class: xl66"]Qtr3[/TD]
[TD="class: xl67, align: right"]-41,808.15[/TD]
[/TR]
[TR]
[TD="class: xl66"]Qtr4[/TD]
[TD="class: xl67, align: right"]-105,343.56[/TD]
[/TR]
</TBODY>[/TABLE]