Forum Discussion

perpor's avatar
perpor
Helper V
9 years ago
Solved

Power BI advaced query Editor

good morning   I am searching if it possible to use variables, in the advanced query editor, something like this:   instead of: ------------   let Origine = Sql.Database("99.99.99.99", "Mydb"...
  • deldersveld's avatar
    9 years ago

    Yes, just add the named variable in a previous step, for example:

     

    let
        myVar = "66",
        Source = "myUrl" & myVar
    in
        Source

     

     

    This returns "myUrl66"