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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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