Forum Discussion

NikTheRussian's avatar
NikTheRussian
Frequent Visitor
1 year ago
Solved

Deployment Pipelines & Front End Visual Failures

We've recently implemented deployment pipelines across our various workspaces.
When attempting to move a semantic model & report from Development to Test, we are receiving front end errors (the x in a circle and barely any visuals work). Within Dev, refresh works fine without any issues & all front end data is displayed.

 

We've ensured the gateway is pointed to the correct source in both Test & Dev, it's allocated to the same user but for some reason the second it hits the Test workspace it refuses to work? When looking at the error message it advises that the Fact table has no data within it & that the relationship between it and the calendar table doesn't exist? (It definitely does).

 

Has anyone experienced this before or aware of how to overcome it?

  • NikTheRussian's avatar
    NikTheRussian
    1 year ago

    Hi again burakkaragoz ,

    So this was solved by Microsoft - something as simple as once it had been deployed through the pipeline (re-allocated to service principal & pointed to gateway etc), I had to go into the report in service - Edit it, refresh the visuals & then re-save it. Which seems a bit laborious for deploying through pipelines, but who am I haha.
    Thank you all for your input though regardless. This has been an insightful learning journey

6 Replies

  • Hi NikTheRussian 

     

    The possible causes for your issues as outlined below

     

    • Double check your gateway settings in Test workspace that mathces with Dev workspace.
    • Make sure that data source credentailas are correctly configured in Test workspace.
    • You are getting an error that Fact table has no data , pls check that your semantaic model properly deployed to Test workspace.
    • Check the relationships b/w tables after deploying to Test workspace, the relationship should be in proper condition.
    • FInally, try to to manula refresh in Test workspace. 

    Please go thorugh this Microsoft Fabric Pipeline: The Challenges Behind the Chaos! it might helps you

     

    Let me know if it works.

     

    Thank you!

     

     

  • Hi NikTheRussian 

    we had a similar issue – model worked fine in Dev, but broke in Test after deployment. In our case, the problem wasn’t the gateway or credentials, it was parameter values not updating properly during deployment.

    Here’s what fixed it:

    • Check if your semantic model uses parameters (like source DB name, schema, etc.)
    • After deployment, go to the Test workspace → open the dataset settings → verify the parameter values
    • Sometimes the pipeline doesn’t overwrite them correctly, especially if they were manually edited before

    Also, if your Fact table is filtered by a parameter (like date range or environment flag), that could explain why it’s empty in Test.

    Let me know if that helps.

    If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.

    • NikTheRussian's avatar
      NikTheRussian
      Frequent Visitor

      Hi burakkaragoz 
      The dataset itself doesn't use parameters - I've checked through the back end and also validated under manage parameters within the pbix file itself, as well as within the service looking at the Parameters option once deployed.
      When manually reloaded in Dev, it's working fine - but the second it hits Test it doesn't like it. The gateway is pointed and allocated correctly, scheduled refresh works in Dev. It's almost like the deployment pipeline changes something when it moves to Test?

      To note, the test (pardon the pun) I've performed here is that I can deploy the dashboard & semantic model directly to the Test workspace without issue - it refreshes without issue and doesn't have these challenges. It's solely when it's deployed through the deployment pipeline that the issue arises.

      Additional note, once we deploy to the service we allocate all dashboards & reports to our service account to ensure that all correct gateways are allocated. This ensures a unified approach (for us) and mitigates instances of someone leaving and the report falling over. 
      From looking at our gateway settings, the gateway will be the same regardless of the workspace it's deployed to given the service account is what owns it  

      • v-kathullac's avatar
        v-kathullac
        Community Support

        Hi NikTheRussian ,

         

        Thank you for reaching out to Microsoft Fabric Community Forum.

         

        Below are thr few points that can resolve your issue let us know if you need anything 

         

         

        • When deploying via the pipeline, Power BI creates a new dataset ID in Test, and it may not retain gateway or credential bindings from Dev.

        • After deployment, please go to Test workspace > Dataset settings > Data source credentials and re-authenticate, even if the credentials appear correct.

        • In the Power BI Service, navigate to Manage Gateways > Datasets tab and make sure the deployed dataset in Test is explicitly mapped to the correct data source and gateway.

        • You can also use Data Source Rules within the deployment pipeline to automatically manage data source mapping across Dev, Test, and Prod.

        • If you're not currently using parameters, consider creating dummy parameters just for managing environment-specific connections.

        • Manual deployment works because it retains the credential and gateway settings, while the pipeline resets them unless manually reconfigured.

        • Reassigning the reports to the service account after deployment is a good practice, but the credentials might still need to be revalidated in the Test workspace.

        Regards,

        Chaithanya.