Forum Discussion
Power BI online refresh - 'Microsoft.ACE.OLEDB.12.0' error
Hello.
I'm getting this error when trying to refresh Power BI dataset online (scheduled and manual refresh):
Excel Workbook: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. The 64-bit version of the Access Database Engine 2010 Access Database Engine OLEDB provider may be required to read this type of file. To download the client software, visit the following site: https://go.microsoft.com/fwlink/?LinkID=285987.
In Power BI Desktop everything is working fine. The source data is located at sharepoint online and it's .xlsb file with few tabs (4 tables taken from 4 tabs in this file).
Does anyone know how to solve this?
Thanks,
Joanna
24 Replies
- AnonymousNot applicable
Hello,
I'd like to check if there is any recommended solution to this issue, other than changing the file format of the data source.
I am facing the same problem with refreshing my dataset through Power BI Service, while the required Microsoft.ACE.OLEDB.12.0 provider is already installed on my machine (the same version as Power BI Desktop and all Office apps), and everything works fine in Power BI Desktop.
Thank you!
Marta
- Oscar_Mtz_V
Kudo Commander
In schedule refresh, Power BI only likes Excel files in xlsx extension when saved in the cloud, I had to resave all files to this extension and worked.
- wb-powerNew Member
that worked for me, thanks!
I used the VBA-Code on https://www.extendoffice.com/documents/excel/1349-excel-batch-convert-xls-to-xlsx.html to bulk resave the files. I had some files with the ending .xls and some with .XLS (Upper Case). For the latter I had to change the code by replacing xls with XLS. - OHOODSARegular Visitor
Hi Oscar_Mtz_V
I want to know how you solved your problem , my report is on sharepoint hw can I change he type or extenseion
Thanks a lot
- arvindsingh802
Community Champion
OHOODSA you need to update the file extension on SharePoint itself
- AnonymousNot applicable
I have the same issue with xlsx files stored on sharepoint online. I fix has been found ?
- blm001
Advocate I
Same issue. Works fine on Desktop, but on the service the error comes up.
To reiterate...
The Query looks into a SP online folder. It is supposed to grab all the .xls files and combine them. Works fine on Desktop, but published to the service the error occurs.
If I open each excel and save it as xlsx, then it is okay. But there are to many files to convert. These files are sent daily and dropped into the folder automatically using Power Automate.
- AnonymousNot applicable
I have same issue, was there a resolution mentioned that I missed? Thanks for any help!
- arvindsingh802
Community Champion
Please update the file type to .xlsx (Excel Workbook) and it will be good
- v-frfei-msft
Community Support
Hi joannab ,
The download for MS Access Database Engine Redistributable can be found here. Be sure to check the same version as your Power BI Desktop is installed! For more details, please refer to the third - party blog.
- joannab
Advocate I
Thank you, but it doesn't solve the issue.
Refresh in Power BI Desktop works correctly. The issue exists when I want to refresh dataset online using scheduled refresh and manual as well.
- AnonymousNot applicable
- AnonymousNot applicable
I'm still awaiting confirmation as to whether or not this is an issue. I am still unable to refresh my reports and will be looking for alternatives if this is not resolved.
- AnonymousNot applicable
Same here,
would like to check if theres a solution to this in PBI service, on desktop it works fine
- Enri83New Member
Does anyone know how to solve this online Error?
- arvindsingh802
Community Champion
You can follow any one of below
1. Convert your file from .xlsb to .xlsx2. Configure a gateway and install The 64-bit version of the Access Database Engine 2010 Access Database Engine OLEDB provider https://www.microsoft.com/en-us/download/details.aspx?id=13255 on gateway server
then create a data source for this .xlsb file (even it is on SharePoint)
- siva_sivarajahNew Member
Sharing this as it may be useful to someone, I had the same error but resolved now.
Using PowerBI Desktop (2.122.1066.0 64-bit (October 2023)
XLSX file on a SharePoint Site
This was working previously, bottom line for me was the addtion of files in to the same SharePoint libray.
Am new to PowerBI and there would be a better way to conenct to the SharePoint hosted .xlsx file in the first place, but that was the casue.
My original connection to the .xlsx in SharePoint:
Get Data > More > SharePoint folder > Connect > URL to the site > OK
This bought a list of all the files in the site (in a large site it won't be very friendly to scroll this list), then:
Transform Data > this opens up Power Query Editor with a list of the content of the site and the APPLIED STEPS pane > used the Remove Rows Top and Remove Rows Bottom so that a single row of my .xlsx remained.
Resolved it by editing the data query (in PowerBI, DATA > Click the three dots next to the query > Edit query), this opened up the Power Query Editor and the bar below the column header row was Red/White stripes.
Worked up from bottom of the APPLIED STEPS until the bar turned green and noticed that although it was at 'Removed Bottom Rows' step there were still row below the .xlsx row. Removed the step and reinserted the 'Remove Bottom Row' with the correct number of rows removed so that the .xlsx with my data was the only row remaining.
I was then able to apply and save, and refresh the report.
It's a test enviornment so not a major issue, and can investiage how to query a file in a library without having to worry about anything being added/removed from the library.
Update:
https://www.linkedin.com/pulse/power-bi-how-access-excel-file-sharepoint-document-library-tavares
Custom query to pick out the specific .xlsx file from the site. Successfully tested by adding and removing files to the site and the reports continued to work.