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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Yggdrasill
Responsive Resident
Responsive Resident

Web.BrowserContents() slow

Using the Web.BrowserContents() function to get some scraped data from a web page is turning into an overall disappointing journey. I like the first steps on how they've made it easy to scrape web pages with this method and I have no complains there.


However.

I'm using an URL with RelativePath and parsing 100 id's into the URL and calling the URL 1 time per row. I invoke the custom function for a list of 100 ids. Basically it's baseURL/id

First I spend almost half an hour getting data for 100 rows in Power Query, then when I want to load the already "pre-loaded" data into my model everything starts all over again. I thought the Power Query result would be cached.

Is there a way to cache each record called upon using the Web.BrowserContents() ?

I've tried the Table.Buffer() function but honestly I have no clear idea how that works.

1 REPLY 1
v-lid-msft
Community Support
Community Support

Hi @Yggdrasill ,

 

We can create another custom column to store the result of Web.BowserContens() functon, then we can use the content in this column to invoke other custom function.

 

10.jpg

 

11.jpg

 

The content in Custom column is cached as simple text with html format, this column can be used multi times in power query without recall origin page,  but it will be called again if refresh the model to keep the model up-to-date.If you do not want to refresh this table, for example  it does not update frequently,  we can disable "include in report refresh" .

 

12.jpg

 

Best regards,

 

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors