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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Simple Web Datasource refresh do duplicate web request ...

Hello,

 

I would need some help to resolve an issue on my datasource.

I've a simple datasource that do a web request.

The request is done by a FetchPage functions that's look like this:

 

 

let
    FetchPage = (url as text)
    =>
         let
               jql= "project in ('TRAFRAMEWORK')",

               contents = Web.Contents(url & "/rest/api/2/search?jql=" & jql,
                                         [Query = [maxResults= "50", startAt = "0"],
                                                        Timeout=#duration(0,0,5,0)]),

               

               json = Json.Document(contents),
               Value = json[issues],
               table = Table.FromList(Value, Splitter.SplitByNothing(), null, null, ExtraValues.Error)

        in
              table
   in
       FetchPage

 

 

This functions is call by my main DataSource entry point "GetIssues" that look like this:

let
   Source = FetchPageTest(URL),
in
   #"Source"

 

When i do a Refresh on GetIssues in the power Bi Query Editor, all is ok.

If now I change the GetIssues entry point to expand the recors, something like this

 

let
    Source = FetchPageTest(URL),
    #"Column1D" = Table.ExpandRecordColumn(Source, "Column1", {"key"}, {"Column1.key"})
in
    #"Column1D"

 

When I look for Web request emit by Power BI in a proxy interceptor like Fiddler, I coud see that in the first case, PowerBI only do one request.

In the second case, when I do the Expand, I can see that PowerBI do the same request twice !

 

Did I miss something in my request ?

 

Regards,

        Laurent.

1 REPLY 1
v-sihou-msft
Microsoft Employee
Microsoft Employee

@Anonymous

 

As I understand, operations like "expand columns" will make the Power Query Engine recompute the a new query which will hit another web request. For more details about how Power Query engine works, please refer to a thread below:

 

https://social.technet.microsoft.com/Forums/en-US/8d5ee632-fdff-4ba2-b150-bb3591f955fb/queries-evalu...

 

Regards,

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.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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 Solution Authors