+ Reply to Thread
Results 1 to 6 of 6

Power Query - Parameter not working

  1. #1
    Registered User
    Join Date
    12-24-2017
    Location
    Paramus, United States
    MS-Off Ver
    2010
    Posts
    50

    Power Query - Parameter not working

    Hi,

    I run the query and a parameter box opens where I want to be able to enter a team abbreviation to bring up the statistics for that team. I've created a parameter called club. I've attached the query. Can anyone show me what I'm doing wrong to bring up this error? Thank you


    An error occurred in the ‘’ query. DataSource.Error: The remote server return an HTTP status code '404' when trying to access 'https://www.baseball-reference.com/teams/club/2017.shtml'.
    Details:
    DataSourceKind=Web
    DataSourcePath=https://www.baseball-reference.com/teams/club/2017.shtml
    Url=https://www.baseball-reference.com/teams/club/2017.shtml


    Please Login or Register  to view this content.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Power Query - Parameter not working

    did you check this url in browser?

    Page Not Found (404 error)

  3. #3
    Registered User
    Join Date
    12-24-2017
    Location
    Paramus, United States
    MS-Off Ver
    2010
    Posts
    50

    Re: Power Query - Parameter not working

    The question I have is how to be able to enter the parameter and have it change the address from.

    https://www.baseball-reference.com/t...lub/2017.shtml

    Then if the parameter is atl

    Have it change to

    https://www.baseball-reference.com/teams/atl/2017.shtml

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Power Query - Parameter not working

    check this one
    update list because there is only a few: ARI,ATL,BAL,BOS,CHC,CHW,CIN,COL,DET
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-10-2014
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2205 Build 16.0.15225.20368) 64-bit
    Posts
    96

    Re: Power Query - Parameter not working

    I am looking to get the small table to show up as a value within my workbook. I have done this with other sites and able to pull up the data but for some reason I cannot get this table to pull the data within Excel. The second URL that you tried is irrelevant and I removed it to prevent any confusion. Any help so that I can pull this data would be very helpful and appreciated.
    Attached Files Attached Files

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Power Query - Parameter not working

    @kingsdime29x

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. code to refresh power query not working ..
    By Hassan1977 in forum Excel General
    Replies: 0
    Last Post: 08-31-2016, 12:31 PM
  2. Dynamic Parameter Using Power Query
    By NeedForExcel in forum Excel General
    Replies: 1
    Last Post: 06-16-2016, 02:51 AM
  3. MS Query wildcard with parameter NOT working, help please
    By BeauTiesLTD in forum Excel General
    Replies: 1
    Last Post: 06-14-2016, 11:57 AM
  4. Replies: 2
    Last Post: 10-06-2014, 08:15 AM
  5. Replies: 0
    Last Post: 10-06-2014, 07:35 AM
  6. Parameter Query that takes parameter value from Excel Cell
    By Aquamore in forum Access Tables & Databases
    Replies: 1
    Last Post: 01-23-2014, 03:43 PM
  7. Replies: 0
    Last Post: 11-12-2013, 03:57 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1