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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.