Fix Excel Pivot Table Source Showing File Name and Hash String
Question details
The user wants to understand why an Excel Pivot Table's data source displays a strange hash string and encoded text alongside the file name, and how to resolve it.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Checking or updating the data source of a Pivot Table that was recently copied into a different workbook.
- Observed behavior
- The Pivot Table data source shows the original workbook name followed by a hash sign (#) and a string of encoded text (e.g., PSR.xlsm#BgEIDA4ADAMGBAcBBAQECw=40.0).
Verify if the affected Pivot Table was recently copied and pasted from another workbook, as this is the most common cause for external file references appearing in the data source field.
Recreate the Pivot Table in the Destination Workbook
The most effective way to remove lingering external file references and encoded text is to create a fresh Pivot Table locally.
When you copy a Pivot Table from one workbook to another, Excel often retains the original file's name and appends a hash string to the data source reference to maintain the link to the original cache. Recreating the table from scratch in the new workbook resolves this external reference issue.
Open the Excel workbook where you want the Pivot Table to reside and ensure the raw data is available in a local sheet.
Highlight the cells containing the data you want to use as the source for your new Pivot Table.
Navigate to the 'Insert' tab on the ribbon and click on the 'PivotTable' button.
Choose to place the Pivot Table in a 'New Worksheet' or an 'Existing Worksheet', click OK, and proceed to build your rows and columns.

Update and Repair Microsoft Office
If the hash string issue occurs consistently across all new workbooks even without copying, an Office update or online repair can fix underlying software glitches.
Create and Manage Pivot Tables Easily with WPS Office
Avoid confusing data source errors and encoded hash strings by using WPS Office. WPS Spreadsheet offers a highly compatible and stable environment for creating, copying, and managing Pivot Tables without generating broken external links.
- 1. Open your workbook in WPS: Launch WPS Spreadsheet and open the Excel file containing your raw data.
- 2. Select the data range: Highlight the data table or range you wish to analyze.
- 3. Insert the Pivot Table: Go to the 'Insert' tab and click on 'PivotTable'.
- 4. Analyze your data: Drag and drop your desired fields into the rows, columns, and values areas securely and without link errors.

Frequently Asked Questions
Why does my Pivot Table source show a different file name?
When you copy a Pivot Table from another workbook, it often keeps a link to the original source data cache. This is why you might see the old file name and an external reference rather than a local cell range in the data source field.
How can I check the exact data source of my Pivot Table?
Click anywhere inside your Pivot Table, go to the 'PivotTable Analyze' tab on the ribbon, and click 'Change Data Source'. This will open a dialog box showing the exact range or external link currently being used by the table.
Is it safe to share a workbook if the Pivot Table has external links?
If the original workbook contains confidential information, sharing the new workbook might inadvertently expose data or structure details through the Pivot Table cache. It is highly recommended to recreate the Pivot Table locally or remove external links before sharing.




