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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.