Forum Discussion
Complex PBI report with microsoft.ace.oledb.12.0 error
- Anonymous1 year ago
Hi ManchevB ,
Yes, Power Automate can absolutely help in this scenario, especially if converting .xlsb to .xlsx is a viable workaround.Since Power BI Service doesn't support .xlsb refresh directly, you can automate the conversion and upload of the file to SharePoint or OneDrive in .xlsx format using Power Automate, which can then be used reliably in Power BI with scheduled refresh.
-
Trigger: Use a trigger like:
-
“When a file is created or modified” in a local shared folder (via gateway/Power Automate Desktop), or
-
“Recurrence” trigger to run on schedule.
-
-
Convert the .xlsb to .xlsx:
-
Use Power Automate Desktop to open the .xlsb in Excel and save it as .xlsx.
-
Actions:
-
“Launch Excel”
-
“Open Workbook” (point to .xlsb)
-
“Save As” (choose .xlsx )
-
“Close Excel”
-
-
-
-
Upload/Replace the .xlsx file to SharePoint or OneDrive, where Power BI expects the file.
-
Use “Create file” or “Update file” actions in SharePoint/OneDrive connector.
-
-
Configure Power BI Report to point to the uploaded .xlsx file in SharePoint/OneDrive.
-
Use “Web” or “SharePoint Folder” connector in Power BI.
-
Schedule refresh in Power BI Service as normal.
-
-
The gateway machine running Power Automate Desktop needs Excel installed.
-
This works well for headless automation scenarios (e.g., overnight updates).
This approach gives you an automated pipeline to transform .xlsb - .xlsx - refresh Power BI - distribute engineer data - without needing manual intervention or relying on unsupported data sources in the Power BI Service.
-
The issue stems from using .xlsb files hosted on SharePoint Online. While Power BI Desktop can handle these files locally (because it uses your machine's drivers), the Power BI Service cannot natively refresh them without a gateway and the appropriate OLEDB driver installed on the gateway machine
Even if another report works with the same .xlsb files, differences in:
- Gateway configuration
- Data source credentials
- File access permissions
- Query structure (e.g., use of Web.Contents or SharePoint.Files)
...can cause one report to fail while another succeeds.
You either need to make sure your gateway has the correct drivers or you could look into switching to use SharePoint API with Web.Contents.
Please mark this post as a solution if it helps you. Appreciate Kudos.