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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
manojk_pbi
Helper V
Helper V

Web content problem

Hi,

 

I have a use case wherein i am extracting data from OData.Feed. This will return me few data fields using which i will have to construct a web link and extract few more data fields. 

 

In first instance it is working fine and i am connecting using Gateway. For the second part i am getting below error message as the web link is getting created dynamically.

This dataset includes a dynamic data source. Since dynamic data sources aren't refreshed in the Power BI service, this dataset won't be refreshed. Learn more: https://aka.ms/dynamic-data-sources.

  • Data source for Query1

How can we make it work or is it not possible at all ? The same works fine from desktop.

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,@manojk_pbi 

Regarding the issue you raised, my solution is as follows:

1.First of all from what I understand, the best way to target your issue is to use Web.Contents() in powerquary to make code changes against your data source link.

You can modify it in the Advanced Editor option in Powerquary.

vlinyulumsft_0-1715233409132.png

Suppose I need the option to retrieve the contents of "https://bing.com/search?q=Power+Query".The following is a code example:

let
    searchText = "Power Query"
in
    Web.Contents(
        "https://www.bing.com",// Web site root directory
        [
            RelativePath = "search",// The part before the question mark.
            Query = [q = searchText]
        ]
    )

Then publish it to the powerbi service again, set the data source, and it will refresh normally.

Here is a link to the relevant documentation:

Web.Contents - PowerQuery M | Microsoft Learn

Troubleshooting the Power Query Web connector - Power Query | Microsoft Learn

2.You can try to create a data source connection on the server using Data Streaming so that you can add and edit data sources and manage data refresh schedules in Cloud Data Streaming, this may help you with your issue, here is a link to the relevant documentation:

Creating a dataflow - Power BI | Microsoft Learn

Data refresh in Power BI - Power BI | Microsoft Learn

Best Regards,

Leroy Lu

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

1 REPLY 1
Anonymous
Not applicable

Hi,@manojk_pbi 

Regarding the issue you raised, my solution is as follows:

1.First of all from what I understand, the best way to target your issue is to use Web.Contents() in powerquary to make code changes against your data source link.

You can modify it in the Advanced Editor option in Powerquary.

vlinyulumsft_0-1715233409132.png

Suppose I need the option to retrieve the contents of "https://bing.com/search?q=Power+Query".The following is a code example:

let
    searchText = "Power Query"
in
    Web.Contents(
        "https://www.bing.com",// Web site root directory
        [
            RelativePath = "search",// The part before the question mark.
            Query = [q = searchText]
        ]
    )

Then publish it to the powerbi service again, set the data source, and it will refresh normally.

Here is a link to the relevant documentation:

Web.Contents - PowerQuery M | Microsoft Learn

Troubleshooting the Power Query Web connector - Power Query | Microsoft Learn

2.You can try to create a data source connection on the server using Data Streaming so that you can add and edit data sources and manage data refresh schedules in Cloud Data Streaming, this may help you with your issue, here is a link to the relevant documentation:

Creating a dataflow - Power BI | Microsoft Learn

Data refresh in Power BI - Power BI | Microsoft Learn

Best Regards,

Leroy Lu

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

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Kudoed Authors