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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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