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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors