In Dynamics 365 power app, I have a dataverse dataflow that uses power query to connect to a dataverse table. All works fine in dev, however everytime we deploy to another environment we have to manually update the datasource. Is there a way to use an environment variable e.g. in the following line in dataflow advanced editor..
let
Source = CommonDataService.Database("oursite-dev.crm11.dynamics.com"),
#"Navigation 1" = . . .
E.g. I want to be able to do something like this..
let
Source = CommonDataService.Database(EnvironmentVariables("siteUrl")),
#"Navigation 1" = . . .
Many thanks