Hi all,
I have the following problem:
I have a sheet with data which are being refreshed on a weekly basis.
From these data I have 5 pivot tables with different data, but same filters.
Then I create graphs from each one of there 5 pivot tables.
In order to have all 5 graphs synchronised (same filters, so that same data are being displayed in the graphs) I have created macros.
By clicking on one macro (example: Germany) all 5 pivots' filters become "Germany".
However, if the next week with the new data, I do not have Germany in my data, I have two cases:
1) I either receive a runtime error massage
2) The filter Germany appears in the pivots' filters' values, althought there is no Germany in the original data (of that week)
Can somebody please tel me what is going on, why the second case happens and how I can avoid it?
The reasoning behing avoiding a "fake" value in my pivot filters' values is that I want to create a file with all the possible filter values I can and then just add the data every week and make sure that if a value is not included in the data that week (e.g: Germany) the
pivot will not "create" a value that is not there and mess up the image of that week's data.
Thank you in advance.
Bookmarks