Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Excel 2010 Pivot Table won't refresh when members change

$
0
0

I have an Excel spreadsheet with lots of pivot tables connected to one cube.  That cube has a dimension that is used in all of those pivot tables.  This dimension changes over time because it contains date ranges like 'Apr-10 to Mar-11'.  Next month, it will switch to 'May-10 to Apr-11'.  When that happens, my spreadsheet will no longer refresh!

Based on the error messages I am getting, it looks like Excel has copied the members' keys into its local storage.  For example, [My Dimension].[12 Month Window].&[Apr-10 to Mar-11]. The problem is that this is no longer a valid member in the dimension, so the refresh fails.

I have changed my dimension to use non-changing integers as keys, such as [My Dimension].[12 Month Window].&[1], instead of the label so this won't happen in the future. The problem I have now is, how do I fix the existing spreadsheet without rebuilding it from scratch? I have removed every use of the "12 Month Window" attribute in the spreadsheet but it still won't refresh.  It seems to have non-visible references to the old key values buried deep in its innards somewhere.

Is there anyway to get at these references?

Thanks,
Steve Wright


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>