Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Can we use parameters in "Data Flow Gen 2" to change the data source between UAT and Prod workspaces when we use deployment pipelines?
Note: This is supported in Data Flow Gen 1, but I couldn't find a way to do it in Data Flow Gen 2. Does anyone have any workarounds?
Cheers,
Prasad.
Solved! Go to Solution.
hello
Currently, Dataflow Gen 2 in Fabric does not natively support deployment pipelines, which makes it challenging to use parameters to dynamically switch data sources (e.g., between UAT and Production workspaces) during deployments
Try this :
Use dynamic logic in your queries to determine the workspace or data source based on the current environment.
This solution is not perfect m, but worth trying
If this helps ,please accept the solution and give kudos
Switching between sources isn't the real issue, but switching the actual destination is from what I understand. I am perfectly able to switch the workspace the source is coming from, but the destination is pretty much baked into the dataflow
hello
Currently, Dataflow Gen 2 in Fabric does not natively support deployment pipelines, which makes it challenging to use parameters to dynamically switch data sources (e.g., between UAT and Production workspaces) during deployments
Try this :
Use dynamic logic in your queries to determine the workspace or data source based on the current environment.
This solution is not perfect m, but worth trying
If this helps ,please accept the solution and give kudos