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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Dynamic datasource sharepoint not refreshing

Hi, 

 

I need to pull excel files that are in different folders on SharePoint.
I have made a function to dynamically pull data depending on the name/folder they are in.
This works fine in desktop:

Coan7_1-1642458596638.png

 



However dynamic datasource does not refresh in Service. I tried to use the Web.Contents method but it does not seem to work, the code:

Coan7_0-1642458290960.png

Need some help here 🙂




 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Please check like the methods below to see if it can be a supported datasource.

In most cases, Power BI datasets that use dynamic data sources cannot be refreshed in the Power BI service. There are a few exceptions in which dynamic data sources can be refreshed in the Power BI service.

To determine whether your dynamic data source can be refreshed, open the Data Source Settings dialog in Power Query Editor, and then select Data Sources In Current File. In the window that appears, look for the following warning message, as shown in the following image:

 

vcaitlynmstf_0-1642749019558.png

If that warning is present in the Data Source Settings dialog that appears, then a dynamic data source that cannot be refreshed in the Power BI service is present.

 

 when using the RelativePath and Query options with the Web.Contents M function. Queries that reference Power Query parameters can also be refreshed.

For more details,you can refer to:

Using The RelativePath And Query Options With Web.Contents() In Power Query And Power BI M Code 

 

 

Hope it helps,

 


Community Support Team _ Caitlyn

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

 

Please check like the methods below to see if it can be a supported datasource.

In most cases, Power BI datasets that use dynamic data sources cannot be refreshed in the Power BI service. There are a few exceptions in which dynamic data sources can be refreshed in the Power BI service.

To determine whether your dynamic data source can be refreshed, open the Data Source Settings dialog in Power Query Editor, and then select Data Sources In Current File. In the window that appears, look for the following warning message, as shown in the following image:

 

vcaitlynmstf_0-1642749019558.png

If that warning is present in the Data Source Settings dialog that appears, then a dynamic data source that cannot be refreshed in the Power BI service is present.

 

 when using the RelativePath and Query options with the Web.Contents M function. Queries that reference Power Query parameters can also be refreshed.

For more details,you can refer to:

Using The RelativePath And Query Options With Web.Contents() In Power Query And Power BI M Code 

 

 

Hope it helps,

 


Community Support Team _ Caitlyn

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

This fuction and manual refresh in desktop works. In Service it fails to refresh and I get the message --> the following data source currently don`t support refresh (dynamic data source).

Coan7_0-1642488074269.png

 

amitchandak
Super User
Super User

@Anonymous , when refreshed, does it give any error. Can you share the same?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.