Combo Pivot Chart loses Line on Secondary Axis on Filter Changes

pliskers

Active Member
Joined
Sep 26, 2002
Messages
462
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

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,224,813
Messages
6,181,115
Members
453,021
Latest member
Justyna P

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