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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Point copied repot/dataset to new dataflow

We have several clients all with vast amounts of data. Data for wach client is structured excatly the same and stored in different SQL databases. Each client will have their own workspace and set of reports. We are trying to copy a workspace from one to another and have the reports/datsets point to the correspondint dataflow (which contains data specific to the client). I can import the dataflow by downloading  the dataflow.json file and editing it and importing it. The new dataflow has the correct data, but any report /dataset I copy over is always "shared" and points to the original dataflow/report? How can I repoint a report/dataset to the new dataflow in the workspace.

2 REPLIES 2
Dan2
Helper I
Helper I

We faced a similar problem, and found nothing in the API to adjust this. So to make this work we added two parameters in the dataset. One for workspace id and the other for dataflow id. Then in the advanced editor reference these parameters instead of the actual id value. Then you can use the powerbi API to adjust the parameter values to the correct id's, or you can adjust manually if you want to go that route. If you find another way to get to get this to work, I would love to know.

Greg_Deckler
Community Champion
Community Champion

@Anonymous  - I believe you will need to download the PBIX and use Advanced Editor to edit the query, it should look like:

 

let
Source = PowerBI.Dataflows(null),
#"guid##################" = Source{[workspaceId="guid##################"]}[Data],
#"guid2##################" = #"guid##################"{[dataflowId="guid2##################"]}[Data],

 

You will need to replace those GUID's with the new GUID's.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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