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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mterry
Helper V
Helper V

Invoking multiple functions from web data

I followed the directions here: https://www.youtube.com/watch?v=6PZSZ53iSos and have been able to successfully pull data from the web over multiple pages. Now I'm wondering if this is possible to do where I have two separate 'variables' set as tables as in the example. Specifically, I have data over multiple webpages that's repeated each week. So there is a week number in the url, as well as an offset number.

 

Currently I manually update the URL for the specific week then let it go through the different offsets (pages). What would be idea would be if I could go in an invoke the week, and have it update the table with each offset. I can't post my specific info, but found something similar like what was used in the example from Curbal:

 

This is the URL for nfl stats from week 5 in the 2017 season. Currently I have it set so it cycles through all weeks for the 2017 season. What I would like to have it do is allow me to enter a year (invoke the function), and have it cycle through all weeks for that year. 

http://www.nfl.com/stats/weeklyleaders?week=5&season=2017 

3 REPLIES 3
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @mterry

 

Here are some articles for your reference.

 

https://www.sumproduct.com/thought/referencing-multi-page-data-from-a-web-site-with-a-single-url

https://www.mattmasson.com/2014/11/iterating-over-multiple-pages-of-web-data-using-power-query/

 

Regards,

Cherie

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

So unless I missed it, those two articles only refrence invoking a single function. What I'm struggling with is invoking multiple functions that are integrated into M. 

Thanks I'll take a look

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors