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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Ascalon
Regular Visitor

Web.Page() gives Active Scripting Error when trying to process large Rich Text files

It's all in the title, really.

I am trying to load a series of tabular files in Rich Text, using the Web.Page() function to parse the content. Small files, no problem. Once it gets to about 30MB, starts telling me I need to enable Active Scripting in IE. IE has active scripting enabled so it doesn't make a lot of sense to me.

 

let
    Source = Web.Page(Parameter1),
    Data1 = Source{1}[Data],
    #"Promoted Headers" = Table.PromoteHeaders(Data1, [PromoteAllScalars=true])
in
    #"Promoted Headers"

 

"Parameter1" is the table element that I am interested in.

Googling around this seems like a known issue, but there's not really any explanation or workaround.

Can anyone suggest an alternative way to parse this data?

Happy to dig into the tags and pull the table out manually, but I am not good enough with M to write the script.

1 ACCEPTED SOLUTION

Not easily, sorry.

I resolved the issue by reconfiguring my M query to use Html.Table() instead of Web.Page() to get the data out. I believe the original query may have been written before Html.Table() was available.

An answer would probably still be useful for this question as I believe Html.Table() is not available in Power Query for Excel (so I am sure an Excel user will come looking at some point).

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

Can you post a sanitized version of such a large RTF ?

Not easily, sorry.

I resolved the issue by reconfiguring my M query to use Html.Table() instead of Web.Page() to get the data out. I believe the original query may have been written before Html.Table() was available.

An answer would probably still be useful for this question as I believe Html.Table() is not available in Power Query for Excel (so I am sure an Excel user will come looking at some point).

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.