March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi all,
I recently change the sources of my file from a local excel workbook to a sharepoint folder from our oragnization site. However, after doing this, it keeps returning this error:
Solved! Go to Solution.
okay, if you have used sharepoint folder as a connector then try changing to web connector. First clear cache memory. Then go to sharepoint and click 3 dots and select details. A pane will open in the right side and copy path. Paste in to the url field of web connector. See image below:
Hope this helps!!
Remember, special charecter type in file some times may cause error.
Please verify if the excel file is protected with a password. If that is not case then please verify the sensitivity label of the excel file. If it is an encrypted sensitivity lable then please change it to an unencrypted label.
Chris webb has documented these two possible reasons: https://blog.crossjoin.co.uk/2024/06/16/the-dataformat-error-file-contains-corrupted-data-error-in-p...
Need a Power BI Consultation? Hire me on Upwork
Connect on LinkedIn
|
Hi @tharunkumarRTK thanks for the reply but same with shafiz:
1. my documents are not corrupted i can open it in sharepoint
2. it is not password protected
3. there's no sensitivity label, anyway im using power bi query
right now its still returning the same error 😞
1. Is your excel file connected any other file through power query in excel? if yes what is the sensitivity labels of those files?
2. Have you signed into your power bi desktop?
Need a Power BI Consultation? Hire me on Upwork
Connect on LinkedIn
|
Yes it is only connected to excel from sharepoint
You have connected to an excel from Power BI desktop, lets assume that file name as DataSample.xlsx.
Open DataSample.xlsx, click on the Data tab and click on 'Queries and connections' there you will be able to identify if this file is connected to any other file. Incase if it is connected to any other file, just verufy the senstivity labels of those files.
Need a Power BI Consultation? Hire me on Upwork
Connect on LinkedIn
|
Hi @pickup18 Considering you have used Sharepoint Folder Connector. Please check you have correct data types. Some times special charecter may cause this error.
Try reading this blog for other scenarios:
https://blog.crossjoin.co.uk/2024/06/16/the-dataformat-error-file-contains-corrupted-data-error-in-p...
For gateway issue, refer to this video: https://www.youtube.com/watch?v=Y9Dc7jd5VaI
Hope this helps!!
If this solved your problem, please accept it as a solution!!
Best Regards,
Shahariar Hafiz
hello @shafiz_p thanks for your reply
1. my documents i not corrupted i can open it in sharepoint
2. it is not password protected
3. there's no sensitivity label, anyway im using power bi query
right now its still returning the same error 😞
okay, if you have used sharepoint folder as a connector then try changing to web connector. First clear cache memory. Then go to sharepoint and click 3 dots and select details. A pane will open in the right side and copy path. Paste in to the url field of web connector. See image below:
Hope this helps!!
Remember, special charecter type in file some times may cause error.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |