Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Ask the Fabric Databases & App Development teams anything! Live on Reddit on August 26th. Learn more.

parameter datasource

To be able to use a parameter value as servername in a SQL connection. Change the parameter value, and all datasets bound to that datasource using this parameter as target gets updated at once (using the same credentials).
Status: Needs Votes
Comments
jhabets
New Member
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
fbcideas_migusr
New Member
Status changed to: Needs Votes