Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago

OLE DB or ODBC Error: [DataFormat.Error] External table is not in the expected format...

Hi All,

 

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?

 

 

10 Replies

  • Hi,

     

    Yo have to alocate only xlsx into the folder to import in PowerBI, the rest of archives can´t alocate into this folder.

     

    For example, if you import one folder whit more than one archives, and also, one archive, you have to separated both:

     

    ......descktop/archivo1.xlsx

    ......descktop/data/

     

    Archivo1 doesn´t alocate in data folder.

     

    Ciao

  • I meet same situation about "OLE DB or ODBC Error: [DataFormat.Error]", I read below reply and solved this problem.

     

    My data source located a folder in company cloud driver, today I put a BI file into this folder then refresh data, I got this error information, when I remove this file everything back to normal.

     

    Make sure data source folder clean and keep source file only.

     

    Thanks for reply from chendo1981 and another anonymous user, I click "Like" for you.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Anonymous,

    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.

    Regards,
    Lydia

    • Anonymous's avatar
      Anonymous
      Not applicable

      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.

      • Anonymous's avatar
        Anonymous
        Not applicable

        Anonymous,

        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.

        Regards,
        Lydia