Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Direct lake Semantic model changed, but recognized as a new model in the deployment pipeline

Hi all,

Recently, I changed my direct lake semantic model, but when I try to deploy it from my test workspace to production workspace, it is recognized as a new model instead of different. 

I use tabular editor to check the metadata for the two models, I see some difference in the annotation part:

model in test:

model in production:

I am not sure if this is the root cause, if yes, how can I fix this?

Any suggestion will be greatly appreciated!

  • v-kpoloju-msft's avatar
    v-kpoloju-msft
    1 year ago

    Hi Anonymous,
    As previously mentioned, please use the link provided in my last post to raise a support ticket.

    Thank you for using Microsoft Community Forum.

10 Replies

  • Hi Anonymous It might be the case could you please check these and see if it resolves 

    • Compare Metadata: Use Tabular Editor to check differences in annotations, IDs, and dataset names between test and production models.

    • Fix Annotations: Update the test model's annotations to match the production model.

    • Check Pipeline Settings: Ensure the pipeline links the test model to the correct production workspace.

    • Revalidate: Validate the updated test model to ensure consistency.

     

     

  • v-kpoloju-msft's avatar
    v-kpoloju-msft
    Icon for Community Support rankCommunity Support

    Hi Anonymous,


    Thank you for reaching out to the Microsoft fabric community forum. Thank you Akash_Varuna, for your inputs on this thread. After thoroughly reviewing the details you provided, I have identified few workarounds that may help resolve the issue. Please follow these steps:

    The annotation "PBIService_Versioning_SaveVersion" in your production model indicates that the model was saved or modified in Power BI Service, which may have changed its internal metadata. This could be causing inconsistencies when comparing the test and production models during deployment.

     

    For deployment pipelines to work smoothly, the metadata of the test and production models must match. If there are differences, Fabric might not recognize them as the same model. This can result in the test model being treated as a completely new model instead of an update, leading to deployment issues.

     

    To fix this, try opening the production model in Power BI Desktop, saving it using the same version as the test model, and then re-uploading it to the production workspace. If the issue persists, use Tabular Editor to compare annotations between the models. Look for any discrepancies especially in entries like "PBIService_Versioning_SaveVersion" and remove or adjust them as needed before saving and redeploying.

     

    Additionally, check the Model ID, Annotations, and any unique identifiers in Tabular Editor to ensure they match between the test and production models. If there are unintended differences, consider reverting the metadata to align with the production model. If the model was redeployed or duplicated in the test workspace, Power BI might have assigned it a new ID. Always verify that you're working with the same dataset rather than unintentionally creating a new one.


    Yes, the metadata differences, particularly the __PBIService_Versioning_SaveVersion, are likely causing the deployment pipeline to recognize the modified model as a new one. Aligning the metadata using Tabular Editor and ensuring consistency in the Power BI Desktop version across test and production environments should resolve the issue.

     

    Kindly refer to the below following links for more information:

    Manage Direct Lake semantic models - Microsoft Fabric | Microsoft Learn
    Develop Direct Lake semantic models - Microsoft Fabric | Microsoft Learn


    If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.

     

    Thank you.



    • v-kpoloju-msft's avatar
      v-kpoloju-msft
      Icon for Community Support rankCommunity Support

      Hi Anonymous,

       

      May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

       

      Thank you.

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi v-kpoloju-msft  Akash_Varuna Thanks for your help.

        I tried to update the meta date with tabular editor to my test dataset, now I see the annotations are exactly the same. I also compared other items in the metadata tab, all the same.

        But I still can't link them in the pipeline. The test version still recoganized as a new one.

        Any other information will be aprrecitated.

        Best Regards.

        Tiger