- Comments (1)
Comments (1)
RE: parameter datasource
That is already possible via M: I have a parameter "dbEvironment" with values prod, acc, sandbox, and use it (Advanced Editor):
let
Source = Sql.Database("sql-" & dbEnvironment & ".database.windows.net", "main-sqldb-datamart-" & dbEnvironment),
DIM_COMPANY= Source{[Schema=opco &"_Finance",Item="DIM_COMPANY"]}[Data]
in
DIM_COMPANY