Pivot Table - Show Value As - Hidden / Visible Row

kangi24

New Member
Joined
Feb 22, 2010
Messages
5
I have two pivot tables, both tables have dates in one column and other column is the % difference from the top oldest date. I added a slicer to control both pivot table dates which works fine.

Say the slicer is currently on 1/1/2017 and the prices are show % difference from 1/1/2017, now when I bump the slicer by one date to say 1/2/2017 it makes 1/1/2017 hidden which is fine, but then the table fills with errors cause its still trying to show % difference from 1/1/2017 so I have to manually change it in each table, to pull from the new top oldest date.

Is there a way to automate this? Like I feel in the % difference from popup there should have more than just previous, next, or specific date, like there should be the top visible date. I tried recording a macro but it hardcoded the date that was selected so when the slicer changed and i ran the macro it threw up an error, surely im not the only one having probelms controlling two tables that has dates with a % difference. Cant seem to find a thread on it, any help is really appreciated.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,215,949
Messages
6,127,877
Members
449,410
Latest member
adunn_23

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