- 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
Excel Export File from a Table is Corrupt
When I am exporting data from a published report in my workspace I am getting an error message upon opening the file:
The .CSV option works fine but any export to excel either summarized or underlying data throws the 2 above erros when I open the files. I have tried multiple machines and workspaces and I'm still getting the 2 errors. Is there a setting that needs to be changed in order to prevent the error from appearing? This will look very bad on client facing reports.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did some more testing on this and identified it is one record in particular that is causing the issue. I'm not sure if it's the <blank> value in one column or the resulting Divide by 0 in another but I would not think this is enough to corrupt the workbook. I'll let you know what I find.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Upon further testing, the issue was the Divide by 0 error. If there are any errors in the data the Excel file will throw the corrupt error instead of just treating those errors as text. Using the replace errors function in Power Query resolved the issue and the Excel export is fine now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Upon further testing, the issue was the Divide by 0 error. If there are any errors in the data the Excel file will throw the corrupt error instead of just treating those errors as text. Using the replace errors function in Power Query resolved the issue and the Excel export is fine now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did some more testing on this and identified it is one record in particular that is causing the issue. I'm not sure if it's the <blank> value in one column or the resulting Divide by 0 in another but I would not think this is enough to corrupt the workbook. I'll let you know what I find.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jimmy,
This issue only appears for Excel exports from Power BI. It does not appear to happen with any other files.
Regards,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jimmy,
I am using Office 365 to open the file. When I tried excel online, I am getting the below error message. When I click Yes, I get the same 2 messages as in my original post.
Thanks,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi cbhoffm1,
This issue seems more related to O365, I would recommend you to post your issue to O365 forum.
Regards,
Jimmy Tao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi cbhoffm1,
I have made a test on your issue but couldn't reproduce it. Excel file can be opened correctly on my side. What's your office version? Can you open the .xlsx file on excel web?
Regards,
Jimmy Tao

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
11-17-2023 02:42 AM | |||
Anonymous
| 12-04-2020 05:31 AM | ||
11-24-2023 08:01 PM | |||
Anonymous
| 01-17-2024 02:00 AM | ||
10-31-2023 02:46 AM |
User | Count |
---|---|
48 | |
32 | |
31 | |
27 | |
24 |
User | Count |
---|---|
45 | |
33 | |
19 | |
18 | |
15 |