- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
XLSX data source load issue, after moving PBIX file to other machine.
DataFormat.Error: The input couldn't be recognized as a valid Excel document.
Details:
Binary
After mapping new source locations, to identical copies of the source files, and even when using the transfered PBI file to load network available XLSX files. All queries error out with the above error.
All of the source excel files load fine in excel. Re-saving the files as XLSX does not resolve the issue. All of this leads me to believe its an issue within the PBI file that has been moved to a different machine.
Steps to re-create.
1. Build a report on one machine with XLSX data sources.
2. Move/Copy the PBIX file to a different machine.
3. Adjust source location information to reflect new local source location(copy of the original source XLSX)
3a. Source file is hosted on a network share and no source location information needs to be changed.
4. Attempt to refresh the data using the Refresh button in design view.
4a. Attempt to refresh data preview in Query View.
Result
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @JasonM,
You need to replace the file path as UNC path. For example, you share the Excel and get the path like below,
You need to set the path like below in Query Editor:
Best Regards,
Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @JasonM,
You need to replace the file path as UNC path. For example, you share the Excel and get the path like below,
You need to set the path like below in Query Editor:
Best Regards,
Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had written this off as the issue yesterday because I was convinced this would not matter for a local copy. 😄
Thank you for your help @v-qiuyu-msft
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @JasonM,
It seems the issue was gone now, right? If that is a case, would you mind mark a helpful reply as an answer so that we can close the thread? if you have any question, please feel free to ask.
Best Regards,
Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
01-10-2023 08:30 AM | |||
09-07-2023 05:08 AM | |||
01-24-2020 01:40 AM | |||
02-28-2023 01:00 AM | |||
03-14-2024 02:58 AM |
User | Count |
---|---|
141 | |
115 | |
83 | |
63 | |
48 |