The following Power Query successfully downloads a table of statistics for NHL player Auston Matthews through the Get Data From Web function:
'25238' is his primary record number. I would like to pass the primary record number as a variable. For example, change it to '23497' which would instead download the statistics of Connor McDavid, #23497. Placing "23497" into cell 'A3' and executing the following Power Query was unsuccessful:
Can you tell me what syntax/commands would perform this?
Thank-you.
Power Query:
= Web.Page(Web.Contents("https://www.quanthockey.com/hockey-stats-nhl/en/profile.php?player=25238"))
'25238' is his primary record number. I would like to pass the primary record number as a variable. For example, change it to '23497' which would instead download the statistics of Connor McDavid, #23497. Placing "23497" into cell 'A3' and executing the following Power Query was unsuccessful:
Power Query:
= Web.Page(Web.Contents("https://www.quanthockey.com/hockey-stats-nhl/en/profile.php?player=(=a3)"))
Can you tell me what syntax/commands would perform this?
Thank-you.
Last edited by a moderator: