Combo Pivot Chart loses Line on Secondary Axis on Filter Changes

pliskers

Active Member
Joined
Sep 26, 2002
Messages
461
Office Version
  1. 2016
Platform
  1. Windows
Hello, Excel masters!

I know this is cited as an Excel flaw, but I'm hoping some event code can work around it. I have a Combo Pivot Chart showing one measure as clustered bars on the primary axis, and a line chart that uses the secondary axis. Whether using a page-by pivot filter or a slicer, once I've set up the chart, any filter change removes the secondary axis and changes all measures to the clustered bars.

The metric that uses the line chart and the secondary axis will have "ROS" in every element. Is there some code that I can paste into the chart page to 1) set all ROS metrics to a line chart, and 2) use the secondary axis for all of the ROS metric elements?

Frustrating!
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Forum statistics

Threads
1,215,068
Messages
6,122,950
Members
449,095
Latest member
nmaske

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