cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pkoetzing Frequent Visitor
Frequent Visitor

PBI Service refresh from MSAccess on SharePoint?

Hi,

 

My dataset is connected to a MSAccess database on SharePoint. Refreshing from PBI Desktop works fine, but refreshing from PBI Service fails with the following message:

 

Microsoft Access: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.

 

Of cause PBI Service is not even supposed to use the local machine, but to connect directly. I've got no issues refreshing directly from a csv-file on SharePoint.

 

Is this actually a bug or just a missing feature, or is there any workaround available?

 

/Peter

1 ACCEPTED SOLUTION

Accepted Solutions
Moderator v-yuezhe-msft
Moderator

Re: PBI Service refresh from MSAccess on SharePoint?

@pkoetzing,

I export a Access table to sharepoint list via "Extenal data"->"More"->"SharePoint list" option in Access, after that I connect to the list using "SharePoint Online list" entry in Power BI Desktop, create report and publish report to Service.

This way, I click "Refresh Now" in Power BI Service to refresh the dataset, everything works well. Could you please perform the above steps in your scenario and check if it is successful?

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
7 REPLIES 7
Super User
Super User

Re: PBI Service refresh from MSAccess on SharePoint?

So...you have an Access database in SharePoint Online?


Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!


Moderator v-yuezhe-msft
Moderator

Re: PBI Service refresh from MSAccess on SharePoint?

@pkoetzing,

What bit version of Access database do you have?  

And how do you host Access database in SharePoint? As per my knowledge, all of Access tables become SharePoint lists and records become list items. Do you use gateway in your scenario?

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
pkoetzing Frequent Visitor
Frequent Visitor

Re: PBI Service refresh from MSAccess on SharePoint?

Hi Lydia,

 

I never thought of an .accdb-file bitness property. On my local machine I'm using 64bit PBI Desktop and a 64bit Microsoft Access database engine 2010. This works perfectly fine. It's the PBI Service that doesn't understand the MSAccess format.

 

I don't want to use the gateway. I configured PBI-Service to directly access the database file on SharePoint "from cloud to cloud". You're right, everthing on SharePoint is managed in lists, even the files, and my database is just one item in this list. But remember: PBI Desktop has no problem accessing the tables in this "database item" in the cloud, but the PBI Service has. So from my understanding the PBI server running the requested Refresh doesn't have the proper database engine installed.

 

And I don't know what to do about that.

/Peter

Moderator v-yuezhe-msft
Moderator

Re: PBI Service refresh from MSAccess on SharePoint?

@pkoetzing,

Could you please tell us which connector do you use to connect to the Access database stored on SharePoint Online in Power BI Desktop?

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
pkoetzing Frequent Visitor
Frequent Visitor

Re: PBI Service refresh from MSAccess on SharePoint?

Hi Lydia,

 

I'm actually using the "SharePoint folder" connector. E.g. in the query I have

 

let

    PowerXpert = "https://tenant.sharepoint.com/sites/Departments/PowerXpert/",
    Solutions = PowerXpert & "ModelData/3-SRCPS/2017-05-23 Release 9/Solutions/",
    Source = SharePoint.Files(PowerXpert, [ApiVersion = 15]),
    File = Source{[Name="Fuel_Report.accdb",#"Folder Path"=Solutions]}[Content],
    Import = Access.Database(File),
    Fuel_Prices = Import{[Schema="",Item="Fuel_Prices"]}[Data],

    ...

 

Before I tried the "Access database" connector, but couldn't get that working on SharePoint.

 

/Peter

Moderator v-yuezhe-msft
Moderator

Re: PBI Service refresh from MSAccess on SharePoint?

@pkoetzing,

I export a Access table to sharepoint list via "Extenal data"->"More"->"SharePoint list" option in Access, after that I connect to the list using "SharePoint Online list" entry in Power BI Desktop, create report and publish report to Service.

This way, I click "Refresh Now" in Power BI Service to refresh the dataset, everything works well. Could you please perform the above steps in your scenario and check if it is successful?

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
pkoetzing Frequent Visitor
Frequent Visitor

Re: PBI Service refresh from MSAccess on SharePoint?

Hi Lydia,

 

I can confirm that your solution is working! But frankly it's no longer an Access database we are connecting to. I could as well export to csv files and move them to SharePoint. Again the online refresh is working. But I'm loosing all the advantages from having >100 tables in one container and beeing able to update single records ...

 

Thanks for your help!

Peter