Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Scheduled Refresh with multiple SharePoint Subsites

Hi all,

I need help with importing multiple SharePoint Subsite Tables and setting a scheduled refresh.

In Power BI Desktop Iuse a configuration file with all Projects, Project_Ids and SharePoint Project Urls. Then we use for every SharePoint-Url the SharePoint.Tables Function to import all Data for each Project Subsite and import these Tables in a new Column. Similar to this approach.

Project NameProject IdProject UrlContent
Project11https://company.sharepoint.com/service/project1Table
Project22https://company.sharepoint.com/service/project2Table
Project33https://company.sharepoint.com/service/project3Table

We use this Table to Combine all Project Subsites and import the Data for common Tables.

In Power BI Desktop we can use this way and refresh manually. As soon as we publish the report on the service we get the dynamic error and the scheduled refresh can not be implemented.

We tried the Web.Contents approach but we can not authentificate to the subsites by using the [RelativePath] option.
The use of an gateway seems not to work beacause of the dynamic error nature.

We would like to stay as dynamically with using a configuration File and the SharePoint URLs and implementing the Subsite-Tables and also using the scheduled refresh.

Does anybody have an idea to overcome this problem, or does anybody has a different implementation idea we could use.

Thanks in Advance

 

1 REPLY 1
V-pazhen-msft
Community Support
Community Support

@Anonymous 
You can try SharePoint Folder and append the tables from different sites.

Power Query SharePoint folder connector | Microsoft Docs 

 

Then publish to service and set a schedule refresh to the dataset. 

Refresh a dataset from OneDrive or SharePoint Online - Power BI | Microsoft Docs

 


Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors