Forum Discussion

ddelapasse's avatar
ddelapasse
Helper I
1 year ago
Solved

Question about Report content definition.pbir section attribute

Hi!  I've been requested to allow 'cloning' of reports from one workspace to another.  The db fields are the same, BUT the modelnames will be different.  I've been able to do this within a workspace,...
  • SaiTejaTalasila's avatar
    1 year ago

    Hi ddelapasse ,

     

    Datasets have unique GUIDs per workspace, cloning a report across workspaces requires updating this value to match the target dataset's GUID. To fix your issue, retrieve the destination dataset's GUID using the Power BI REST API (/groups/{workspaceId}/datasets), then replace the old GUID in pbiModelDatabaseName. Ensure the connection string is also updated with the correct workspace and model name before repackaging and publishing the report.

     

    I hope it helps.

     

    Thanks,

    Sai Teja