I have been using a pbix for monthly reporting. I add excel files on a monthly basis to a folder and combine them to generate the required figures and chart. Today I got the error message described in the title though until now everything worked fine. I tried to remove the new files and refresh but still it does not work.
I have been searching on the forum and on the web to fix the issue, found a few information and nothing worked - could you please suggest how I should fix this?
How about you re-connect to the folder in a new Power BI Desktop file?
Also please directly open the Excel file, check if you get restricted Access message, and check if the sheets are locked. Based on my research, the above error could occur due to the two aspects.
Thanks for the answer. None of the files are restricted and none of them have locked sheets.
I tried to re-load the folder in a new Power BI Desktop file (on another laptop) and had the following error:
"Failed to save modifications to the server. Error returned: OLE DB or ODBC error: [DataSource.NotFound] Excel Workbook: The 'Microsoft.ACE.OLEFB.12.0' provider is not registered on the local machine. The 64 bit Database Engine OLEDB provider may be required to read ...xlsx. To download the client software... etc."
I will get it installed today with our IT department and see if that helps, however I have it on my home pc and the file does not work there either.
Do you use 64 bit or 32 bit Power BI Desktop? Ensure that you install the correct version of Database Engine OLEDB provider, and the version matches Power BI Desktop.
In your scenario, uninstall Database Engine OLEDB provider, reboot machine,re-install Database Engine OLEDB provider. then check if the error still occurs.
I am trying to solve this problem on 2 computers at the same time (as I am waiting for IT to resolve my ticket on my corporate laptop.)
Computer (1) (home PC) I have x64 Office, x64 Power BI and x64 OLEDB provider. Still, I receive the error that the external table is not in the expected format.
I re-installed as you suggested and it did not worked.
Computer (2) (corporate laptop) I have x32 Office, x64 Power BI and no OLEDB provider (I guess 32 bit by default - waiting for IT to install it). I receive the error message to install the x64 OLEDB provider, but I guess I won't be able to do that as there is x64 Office.
Data refreshing and Power BI in general worked perfectly on both machines with the current setup until the day before yesterday for months.
For the first computer, have you rebooted the machine?
For the second computer, please install 32 bit Power BI Desktop instead and install 32 bit ACE provider, then check if you get errors.
any solution to this problem already?
I got the same error and all included files are actually in the same format already.
2 things helped me after all which I think you could try:
1) Check if you surely not have any hidden files in a folder which you pull in to your model as a datasource. Damaged xlsxes and any hidden files can mass up your dataflow. (I had those when I tried to save a file on our shared drive and had some network error in the meantime.) Easiest if you check in your query editor the list of files so you can easily spot whether there is something that does not make sense.
2) Delete the connections in your data model between your different tables, and re-make them.
I have the same issue. re-install Office 365 but don't fix the PB. No hidden File. I recreate Excel fils.
Any ideas ?
I am workind under the latest Windows 10 and the latest Office 365 on e VM Machine ( MAC) all softwares are up to date.