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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
a1979d
Frequent Visitor

Scrape from multiple pages

Hi, I am trying to scrape the data from this link that has multiple pages....

http://190.34.154.84/consultar_tramites/grid_registros_sanitarios_medicamentos/

 

I am able to connect to it succesfully and see the data I need in Table 43. However, the site has multiple pages and I am not able to edit the Source code in "Advance Editor" as the below video suggests (changing the start page, etc.) 

https://www.myonlinetraininghub.com/scrape-data-multiple-web-pages-power-query

 

Any suggestions as to how to do this when there is no start page indicated?

1 ACCEPTED SOLUTION
V-pazhen-msft
Community Support
Community Support

@a1979d 
Please refer to the blog below:
Web Scraping 2: Scrape multiple pages at once and refresh in Power BI service – The BIccountant

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
V-pazhen-msft
Community Support
Community Support

@a1979d 
Please refer to the blog below:
Web Scraping 2: Scrape multiple pages at once and refresh in Power BI service – The BIccountant

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hello @V-pazhen-msft , I'm having an issue trying to scrape monthly liquor sales data from the following website: 

http://www.barmart.net/ReportSelect1.aspx

 

The URL doesn't seem to change when new filters are used or when clicking through to page 2, 3, etc. There are seemingly hundreds of pages of data, but I've only been succesful in pulling the first 200 or so when dropping the URL into the Web Query in PBI Desktop. It appears that filtering for larger timeframes is not accounted for, but defaults back to the current month filter. 

 

Can anyone please steer me in the right direction before I start going copy/pasta crazy? 🙂

 

Thank you, 
Kevin

a1979d
Frequent Visitor

Just to expand further...this is the Source code I was looking to edit in Advance Editor but didn't find anything I could change in that line as to scrape the data from the different pages. 

 

let
Source = Web.BrowserContents("http://190.34.154.84/consultar_tramites/grid_registros_sanitarios_medicamentos/")

 

Thanks!

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.