Forum

Notifications
Clear all

Combined Pivot Bar and Line Graph Not Maintaining Format

4 Posts
2 Users
0 Reactions
81 Views
(@kevinsid)
Posts: 4
Active Member
Topic starter
 

I am trying to represent a combined bar and line graph, showing revenue as the bar graph and each expense type as a line graph. The idea to see where expenses visually are above revenue, the problem is when i try and filter on the pivot or via the slicer the expense type the entire graph returns to a bar graph as per Graph 2.

Please help and advise how i overcome this problem, preferably without using any VBA coding, but rather the normal functions/tools of pivot table/pivot charts??

 
Posted : 09/06/2017 3:59 pm
(@catalinb)
Posts: 1937
Member Admin
 

Unfortunately, it's a known bug with no solution yet. If you choose one of the suggested layouts, this will not happen.
The only way is to use vba .

 
Posted : 10/06/2017 8:34 am
(@kevinsid)
Posts: 4
Active Member
Topic starter
 

Hi Catalin, what do you mean when you say choose a suggested layout?

I am not very well versed in in VBA, therefore have always tried to stay away from it. Do you perhaps have some standard coding that that I can apply that will overcome this problem? 

 
Posted : 12/06/2017 2:25 pm
(@catalinb)
Posts: 1937
Member Admin
 

Hi Kevin

In Pivot Table Tools ribbon tab, in Design tab, there is a predefined set of Chart Styles. If you use one of those, excel will not change the settings after filtering.

Here is a good article describing the problem: http://peltiertech.com/pivot-chart-formatting-changes/

This tutorial might help too: https://www.myonlinetraininghub.com/create-regular-excel-charts-from-pivottables

Creating a regular chart is a good alternative, and you will also be able to use the pivot table slicers to filter the chart.

 
Posted : 13/06/2017 12:16 am
Share: