Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I have a workspace two stage UAT and PRD contaning two dataflows, A & B. Dataflow B uses entities from dataflow A. When I deploy these dataflows from UAT to PRD, dataflow B is still pointing at Dataflow A in UAT instead of Dataflow A in PRD.
I have a dataset that uses Dataflow B, and when that is deployed the linkage to the Dataflow B in PRD is correctly updated. I see no options for deployment rules to correct any of this. Is this a known issue?
Thanks
Hi @mcolbert - This issue is a common scenario when working with multiple environments (e.g., UAT and PRD) in Power BI, especially when dataflows reference each other.
This ensures that Dataflow B in PRD references the correct Dataflow A in PRD.
To avoid manual updates, you can use parameters to dynamically define the workspace and dataflow references:
Step 1: Create a parameter (e.g., WorkspaceID) in both Dataflow A and B.
In Dataflow A, the parameter is not directly used but ensures consistency.
In Dataflow B, use the parameter to reference Dataflow A dynamically.
Step 2: During deployment, update the parameter value to match the PRD workspace's ID.
This approach requires some initial setup but streamlines deployments.
If you deploy frequently, you can automate the process using the Power BI REST API or tools like PowerShell:
Dataflows - Get Dataflow - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Dataflows - Update Dataflow - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Proud to be a Super User! | |
Thanks for the reply. Yes, I could use parameters like I do for other items, but this should just work.
I did a quick test this am and confirmed my suspicion that if you allow the entities from Dataflow A to be load enabled (making it a linked entity) in Dataflow B, then the deployment fixes the linkage. If the entity is not loaded and just referenced, the linkage is not fixed. This seems like a bug. I can't think of a reasonable explanation that this would be by design.
Microsoft, if you are listening, please fix this.
User | Count |
---|---|
46 | |
32 | |
30 | |
27 | |
25 |
User | Count |
---|---|
55 | |
55 | |
35 | |
33 | |
28 |