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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
wojtek7
New Member

No optionto get HTML data from SharePoint

I can't import HTML Table data from Sharepoint to PowerQuery Dataflow. I've tried to import file in two ways and both faild. DO you ahve idea why ? Is there diffrent approach

 

  1. Importing FIle via Web Page connector is not possible as it requires Gateway which does not allow to enter Organizational Account/is failing whne such is provided. So as I can't get authenticated, file is not accessible. On the other hand i.e. accessing PDF file on the same SP is supported as Gateway is not needed and Organizational account access supported - Why ?How to work around this ? or  alternativelly:
  2. When using SharePoint Folder connector when I narrow down to exact file and click on Content Binary to get actual HTML for transformation I’m automatically redirected via PQ  wizard to steps:

    1. Navigation,
    2. Followed by Imported Web and then Imported Web returns Error: "The module named 'Html' has been disabled in this context"
      shared Query = let
        Source = SharePoint.Files("https://aaaa.sharepoint.com/teams/xxxxxx"),
        #"Filtered rows" = Table.SelectRows(Source, each ([Name] = "20191012.html")),
        Navigation = #"Filtered rows"{[#"Folder Path" = "https://aaaa.sharepoint.com/teams/xxxxxx/Shared Documents/999 Reporting/Opportunites/HTML/", Name = "20191012.html"]}[Content],
        #"Imported Web" = Web.Page(Navigation)
      in
        #"Imported Web";
1 REPLY 1
dax
Community Support
Community Support

Hi wojtek7,

If you connec to sharepoint online folder (because this is cloud datasource, gateway is used to connect on-primise datasoure from cloud service), you don't need gateway.

In addition, I test this in my environment, I have the same experience as you, I am not sure whether this is caused by dataflow, I suggest you could create ticket for this problem.

Best Regards,
Zoe Zhi

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.