Forum Discussion

Tchapeto's avatar
Tchapeto
Frequent Visitor
2 years ago

"Power BI Web Refresh Error: Issues with SharePoint Online Data Source After Publishing"

Hello everyone,

 

I'm facing an issue with a Power BI report that pulls data from a SharePoint Online folder. The report works flawlessly on Power BI Desktop version, but once published, I'm unable to refresh the data on the web version. The following error appears when I attempt to refresh:

 

 

Based on the error and the information like "Content", "Name", "Extension", it seems that the issue is related to listing the files on the SharePoint site. I'm almost certain that I'm using the same account in the Power BI Online version to refresh the dataset as in the Power BI Desktop version, so I'm puzzled as to why the refresh is failing on the web.

 

Do you have any suggestions on how to solve this problem or what might be causing this refresh error? Any help would be greatly appreciated.

 

Thank you in advance for your support!

3 Replies

  • vanessafvg's avatar
    vanessafvg
    Icon for Community Champion rankCommunity Champion

    do you have a lot of content in your sharepoint site?  the sharepoint.files() function is the default when using the sharepoint folder, this loads all the metadata of the sharepoint site and if it has a lot of content, the load might get slower, you might want to consider changing that function to sharepoint.content() as its more performant.  it could be that its timing out because its too slow?   

    • Tchapeto's avatar
      Tchapeto
      Frequent Visitor

      Thank you for your response.

      I appreciate the suggestion, however, I use the same `SharePoint.Files()` function for other reports connected to the same SharePoint site, and those refresh without any issues. The performance and loading times for these reports are within acceptable limits, which leads me to believe that the problem with my current report might not be due to the amount of content or a timeout issue.

      Do you have any other ideas on what might be causing the refresh to fail only on this specific report after publication, but not in the Power BI Desktop version?