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

Web content problems

Hello,

 

  1. I am working on a Power BI report with multiple Web Content sources that I wish to extract data of. For some of these sources, Power Query shows this error.

WassimEN_2-1683810002556.png

WassimEN_0-1683809437912.png

 

         2. When I click on Refresh, the error disappears but when trying to load the tables into the report I get the following timeout error

WassimEN_1-1683809844313.png

 

 

         3. Furthermore, whenever I use a Web source in my Power BI reports, I lose access to Source Identificaction Info when I publish the report.

WassimEN_3-1683810385491.png

 

 

Is anyone facing similar issues?

 

Thank you for your help

 

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

That source expects a POST call.  Web.BrowserContents cannot do that,.  Use Web.Contents instead and put the query parameter in the body of the request.

 

Also note that the query is different. 

 

https://plasticker.de/preise/preise_monat_single_en.php?auswahl=Ballenware;PP&dauer=60

Anonymous
Not applicable

Hello,

 

First of all thank you for your reply.

I already tried it, but the problem is that some websites return an empty table when replacing Web.BrowserContents by Web.Contents.

Here is an example: https://www.insee.fr/fr/statistiques/serie/010002062#Tableau

 

let
Source = Web.BrowserContents("https://www.insee.fr/fr/statistiques/serie/010002062#Tableau"),
#"Table extraite à partir de code Html" = Html.Table(Source, {{"Column1", "TABLE[id='tableau-series'] > * > TR > :nth-child(1)"}, {"Column2", "TABLE[id='tableau-series'] > * > TR > :nth-child(2)"}, {"Column3", "TABLE[id='tableau-series'] > * > TR > :nth-child(3)"}}, [RowSelector="TABLE[id='tableau-series'] > * > TR"]),
#"En-têtes promus" = Table.PromoteHeaders(#"Table extraite à partir de code Html", [PromoteAllScalars=true]),
#"Type modifié" = Table.TransformColumnTypes(#"En-têtes promus",{{"Année", Int64.Type}, {"Mois", type text}, {"Valeur", type number}})
in
#"Type modifié"

 

Do you have any explanation for why the code is returning an empty table?

Thank you again,

 

Wassim

No explanation - the same code works fine for me.

 

let
    Source = Web.BrowserContents("https://www.insee.fr/fr/statistiques/serie/010002062"),
    #"Extracted Table From Html" = Html.Table(Source, {{"Column1", "TABLE[id='tableau-series'] > * > TR > :nth-child(1)"}, {"Column2", "TABLE[id='tableau-series'] > * > TR > :nth-child(2)"}, {"Column3", "TABLE[id='tableau-series'] > * > TR > :nth-child(3)"}}, [RowSelector="TABLE[id='tableau-series'] > * > TR"]),
    #"Promoted Headers" = Table.PromoteHeaders(#"Extracted Table From Html", [PromoteAllScalars=true]),
    #"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"Année", Int64.Type}, {"Mois", type text}, {"Valeur", type text}})
in
    #"Changed Type"

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 Fabric 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.