Forum Discussion
Using parameters for workspace and dataflow breaks lineage
Actually, you don't need to set-up a parameter for the dataflow. If you've read the "Plannine a Power BI Enterprise Deployment" doc; the best recommended practice is to separate your dataflows from your semantic models and report PBI items. That is, you have 6 workspaces in total:
dev, uat & prd for dataflows only
dev, uat & prd for semantic model/reports
Therefore, you have 2 deployment pipeline; 1 for the dataflow workspaces and 1 for reporting workspaces.
So in your dev enviroment you have semantic model that is linked to your dev dataflows (hard coded in).
I have found you don't need a parameter - when you use your deployment pipeline; you should first push your dataflows from dev to uat. Then use the other deployment pipeline to push your semantic model/report from dev to uat. The deployment pipeline recognises that dev = dev and uat = uat so it will pair them.
Then your workspace lineage is kept.