Forum Discussion

PowerWhy's avatar
PowerWhy
Icon for Helper IV rankHelper IV
1 year ago
Solved

Pipelines - moving the opposite direction

Hi,   Please can you tell me how to deploy a file from test to development? (i.e. the other way to normal)   (the reason for the question is that if I don't do this, and upload a file to developm...
  • rajendraongole1's avatar
    1 year ago

    Hi PowerWhy  - you can deploying a file from Test to Development in Power BI, especially when the usual flow is the other way around, requires careful planning to avoid issues like duplicate files or broken links.

     

    1.Backup Your File

    Ensure you have a local copy of the file you're working with (e.g., a .pbix file or dataset).
    This serves as a failsafe in case something goes wrong.
    2.Identify the File in Test Workspace

    Verify that the file in the Test workspace is the one you want to deploy to Development.
    Ensure the file is up-to-date and functioning correctly.
    3.Download the File from Test Workspace

    Open the Test workspace in Power BI Service.
    4.Locate the file you want to reverse-deploy.
    Download the file as a .pbix file:
    5.Click the More options (...) next to the file.
    Select Download this file.
    (Note: Make sure you have the necessary permissions to download the file.)
    Update Versioning (Optional)

    If your organization uses version control, update the version number or add a note indicating this file is being moved back to Development.
    Upload to Development Workspace

    Open the Development workspace in Power BI Service.
    Upload the downloaded .pbix file:
    Click Upload or drag the file into the workspace.
    Ensure you overwrite the existing file if it has the same name to maintain continuity.
    Verify and Test

    After uploading, confirm the file works as expected in the Development workspace.
    Check any reports, datasets, or dashboards linked to the file to ensure functionality.
    Adjust Links and Sharing (if needed)

    If the file is used in shared links or embedded reports, ensure the new version retains the same GUID (Global Unique Identifier). This typically happens if you overwrite the file in the workspace.
    Communicate Changes

    Inform your team or stakeholders about the reverse deployment to avoid confusion.

  • rajendraongole1's avatar
    rajendraongole1
    1 year ago

    Hi PowerWhy - If the file in the Development workspace has been accidentally deleted, you cannot directly overwrite it since the original GUID (Global Unique Identifier) associated with that file no longer exists. 

    Deployment Pipelines typically allow deployment from Development to Test, but you can reverse the deployment direction if the pipeline supports it.

    Ensure the file in Test is marked as the version to be deployed.

    Deploy Only the File

    This will deploy the file back to Development without affecting other content in the workspace.

    Check the Deployment Pipeline settings to ensure you’re deploying the correct item

     

    Ref links:

    Solved: How to get/restore deleted PBI file from Power BI ... - Microsoft Fabric Community

    Solved: Re: PowerBI Deployment Pipelines as source Control - Microsoft Fabric Community