Forum Discussion

JonInPDX's avatar
JonInPDX
Copper Contributor
Sep 04, 2020
Solved

Referencing A Text String (URL) In A Power Query

I am using Excel and Quick Base.  Quick Base allows querying data via URL. I have successfully set up and run a query in Excel Power Query from our Quick Base database.   Here is an example of what...
  • SergeiBaklan's avatar
    Sep 04, 2020

    JonInPDX 

    If that's one cell parameter, you may name such cell

    query it and use as parameter

    let
        GetURL = Excel.CurrentWorkbook(){[Name="URLstring"]}[Content][Column1]{0},
        Source = Csv.Document(Web.Contents(GetURL),[Delimiter=","]),
        #"Promoted Headers" = Table.PromoteHeaders(Source, [PromoteAllScalars=true])
    in
        #"Promoted Headers"

     

    If there are few parameters, idea is the same but you organize you parameter into Excel table, query it, combine value into one string and use to access web resource.

Resources