-
Notifications
You must be signed in to change notification settings - Fork 138
Description
What is the question?
I have a composite semantic model using a second semantic model in the same workspace, when the deployment is done, the composite semantic model is still pointing on the semantic model in previous environment and not in the targetted environment.
How to replace with the parameter.yml the workspace name during the deployment in the composite semantic model expressions.tmdl file ?
Context
In a workspace, I have a semantic model A (Direct lake on OneLake) and a composite semantic model B in mixed mode (using as sources the semantic model A in Direct Query and a dataflow).
The expressions.tmdl of composite semantic model B in the repo looks like below.
I want to replace "WORKSPACE NAME [DEV]" by "WORKSPACE TARGETTED NAME [ENV]".
Moreover, we will probably need to preserve encoding of characters like space or []
expression 'DirectQuery to AS - Model Direct Lake' =
let
Source = AnalysisServices.Database("powerbi://api.powerbi.com/v1.0/myorg/WORKSPACE%20-%20NAME%20%5BDEV%5D", "Model Direct Lake"),
Cubes = Table.Combine(Source[Data]),
Cube = Cubes{[Id="Model", Kind="Cube"]}[Data]
in
Cube
lineageTag: 219043cb-c4fa-40e6-8a01-12bf2eaf045f
annotation PBI_IncludeFutureArtifacts = True
Library Version
0.3.1
Operating System
Windows
Have you checked the documentation?
- I have searched existing GitHub issues
- I have reviewed the fabric-cicd documentation
Additional Information
No response