Pivot Chart with Running Total

krishna83

New Member
Joined
Aug 24, 2015
Messages
1
Here is my Pivot table data.

Sum of totalSales
MonthActualTarget
Jul-151,041,824.001,043,486.13
Aug-151,289,003.302,000,141.25
Sep-151,289,003.303,013,169.74
Oct-151,289,003.303,945,066.89
Nov-151,289,003.304,914,635.34
Dec-151,289,003.305,655,860.49
Jan-161,289,003.306,391,296.91
Feb-161,289,003.307,259,339.87
Mar-161,289,003.308,180,282.95
Apr-161,289,003.309,042,537.17
May-161,289,003.3010,002,576.48
Jun-161,289,003.3010,915,148.16

<colgroup><col><col><col></colgroup><tbody>
</tbody>

As you can see the Actual and Target (Sales) are cumulative totals. I got that using the show values as "running total in". My issue is data is linked to a pivot chart (line chart). My X axis is the month and Y axis is the Sales (two series - Actual and Target).
The chart depicts a linear increase for the Target which is right. For the Actuals, I want the chart to depict only Jul-15 and Aug-15 information.
In other words, I need pivot table not to calculate the cumulative sum for the months when the Actual value is 0. So I want my Pivot table to look like this.



Sum of totalSales
MonthActualTarget
Jul-151,041,824.001,043,486.13
Aug-151,289,003.302,000,141.25
Sep-153,013,169.74
Oct-153,945,066.89
Nov-154,914,635.34
Dec-155,655,860.49
Jan-166,391,296.91
Feb-167,259,339.87
Mar-168,180,282.95
Apr-169,042,537.17
May-1610,002,576.48
Jun-1610,915,148.16


<colgroup><col><col><col></colgroup><tbody>
</tbody>


And every month when the values in the Actual column are updated, the cumulative sum needs to be done and it should also reflect in the Pivot chart.

Any help is highly appreciated.

Thanks,
Krishna
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,215,168
Messages
6,123,402
Members
449,098
Latest member
ArturS75

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