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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
yugadi
New Member

Importing multiple pages tabular data from web

I am trying to import multiple pages of data that are indexed in a table in this URL http://www.nepalstock.com/main/floorsheet/index/176/?contract-no=&stock-symbol=&buyer=&seller=&_limi... By default, the site only shows 20 rows of data but we have an option to display 500 rows at a time. With the help of one video on power query, I was able to import this into excel. But I could do so only for the first 500 rows only. There are around 176 such pages and my aim is to edit the code in power query editor that imports all the pages into excel.

In the example video where I learned to import these data via power query,  in the advance editor, we could define a variable (StartPage as text)>= and change the start page of URL with this variable. But in my case the URL is little bit different. It doesn’t have “……&start=1&…” in the URL where I can change the variable name. Instead, it has index number that runs serially from 1 to hundreds. I would hugely appreciate if someone could guide me how I could import all of the pages.

 

2 REPLIES 2
Anonymous
Not applicable

@yugadi 
Do you mean you want to show first 500 rows in one table, and then next 500 rows in a second table and so on? I doubt you can do that.

 

Something might help:

Loop through Multiple Web Pages using Power Query - Adatis

Scrape Data from Multiple Web Pages with Power Query • My Online Training Hub

 

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

mahoneypat
Microsoft Employee
Microsoft Employee

Please see if the approach in this video helps you solve this.  If you web call has a skip or offset parameter, this may be simpler.

Power BI - Tales From The Front - REST APIs - YouTube

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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