Dec 12 2022 11:27 AM
I have a file with several pivot tables where the date fields when attempting to filter shows dates back to 2012. The data only has 2021-2023 information in it. Is there a way to refresh the filter field to only show the dates of the data in the report?
Dec 12 2022 12:03 PM
SolutionClick in a pivot table. On the PivotTable Analyze tab of the ribbon, click Options.
Activate the Data tab of the dialog.
Set 'Retain items deleted from the data source' to None, then click OK.
Refresh the pivot table.
Dec 12 2022 12:06 PM
Apr 28 2023 10:02 AM
@SRossetti - This did not work for me. I have also tried VBA to refresh the pivotCache aqnd the onld dates still show up.
Apr 28 2023 12:04 PM
Could you attach a small sample workbook demonstrating the problem (without sensitive data), or if that is not possible, make it available through OneDrive, Google Drive, Dropbox or similar?
Apr 28 2023 12:10 PM
Dec 12 2022 12:03 PM
SolutionClick in a pivot table. On the PivotTable Analyze tab of the ribbon, click Options.
Activate the Data tab of the dialog.
Set 'Retain items deleted from the data source' to None, then click OK.
Refresh the pivot table.