Forum Discussion
Direct lake Semantic model changed, but recognized as a new model in the deployment pipeline
- 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.
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.
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.
- Anonymous1 year agoNot 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
- v-kpoloju-msft1 year ago
Community Support
Hi Anonymous,
After reviewing the details you provided, I have identified few alternative workarounds that may help resolve the issue. Please follow these steps:
The ModelID annotation is crucial for tracking dataset versions. If the ModelID differs between the test and production versions, Power BI may consider them as distinct datasets. Please ensure the ModelID is identical in both versions.
Even if the metadata in Tabular Editor matches, the dataset may have a different internal Dataset ID in the Power BI Service. To confirm, go to the Power BI Service, navigate to your workspace, and compare the dataset GUID/ID under Settings > Dataset.
If any modifications were made to table structures, relationships, or calculated columns, Power BI might recognize it as a distinct model. Instead of manually updating metadata, consider deploying the dataset using Tabular Editor’s "Save to Power BI Service" feature. Make sure to select the correct dataset during deployment.
Check if the deployment pipeline settings allow dataset updates rather than creating a new dataset. If other methods are unsuccessful, you may use Power BI’s Update Data source API to directly push the metadata update.
Kindly refer to the below following link for more information:The Microsoft Fabric deployment pipelines process - Microsoft Fabric | Microsoft Learn
I hope this could resolve your issue, if you need any further assistance, feel free to reach out.
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 for using Microsoft Community Forum.- Anonymous1 year agoNot applicable
Hi v-kpoloju-msft ,
Thanks for your response.
1. I can't see the model ID anotation in the master data tab with tabular editor, do you have a screenshot to show where I can find it?
2. Regarding "Even if the metadata in Tabular Editor matches, the dataset may have a different internal Dataset ID in the Power BI Service. To confirm, go to the Power BI Service, navigate to your workspace, and compare the dataset GUID/ID under Settings > Dataset." Isn't it every dataset has its own GUID?
3. Regarding "If any modifications were made to table structures, relationships, or calculated columns, Power BI might recognize it as a distinct model." But these opreations are normall actions we will do to change the current model, right? Why it will be recognized as a new version?
Thanks.
Best Regards.
Tiger