Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
RG007
Helper II
Helper II

repoint dataflow ids while deploying reports to uat workspace

Hi,

We have different workspaces using them as different environment.

We have datasets in DEV_DS workspace for DEV and dataflows in DEV_DF workspace that have dataflows(say DF1,DF2,DF3).

dataflows are used as source for datasets.

same way I have UAT_DS, and UAT_DF worspaces, 

when I deploy any dataset from DEV_DS to UAT_DS, that should now point to DF1,DF2, DF3 in UAT_DF workspace.

Just wondering how we can do it with minimum manual work.

we are open for solution using PoweShell or Python Script.

Note: I am not asking how to deploy dataflows or Datasets, my concern is repointing dataset's tables to dataflows in UAT workspace.

Thanks

1 REPLY 1
jeffshieldsdev
Solution Sage
Solution Sage

You can create parameters in the Query Editor for this, say one called "environment" you would set to DEV or UAT, and use that parameter in your queries' data source strings. Then that parameter can be set from the dataset settings of a published dataset.

If using Premium, you can set these automatically with Deployment Pipelines.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors