Forum Discussion
bimorten
8 years agoFrequent Visitor
Dynamically change data source / relative source paths
Hello Is it possible to dynamically change the source data reference in queries, when updating a data source? Or even better, use relative paths? We are multiple people working on the same data s...
- 8 years ago
Thanks, you put me in the right direction :)
The solution was pretty straight forward.
Instead of hardcoded values, like this;
= AzureStorage.Blobs("https://exampleblobstorage.blob.core.windows.net/"container")You can refer to the parameters using "&Text.From(ParameterName)&"
= AzureStorage.Blobs("https://"&Text.From(StorageAccountName)&".blob.core.windows.net/"&Text.From(ContainerName)&"")
Greg_Deckler
8 years agoCommunity Champion
In theory, yes, you could use query parameters or something along those lines. But not enough information to really go on.
bimorten
8 years agoFrequent Visitor
Thanks, you put me in the right direction :)
The solution was pretty straight forward.
Instead of hardcoded values, like this;
= AzureStorage.Blobs("https://exampleblobstorage.blob.core.windows.net/"container")You can refer to the parameters using "&Text.From(ParameterName)&"
= AzureStorage.Blobs("https://"&Text.From(StorageAccountName)&".blob.core.windows.net/"&Text.From(ContainerName)&"")