Forum Discussion
Developer mode & git for reports with live connection
When reports and semantic models live in different workspace there is no problem, the byConnection will be preserved when exporting to Git.
Only when both report and semantic live in the same workspace, when exporting to git because they are in the same workspace the definiton.pbir of the report will be by default as a relative byPath connection.
Thanks RuiRomanoMS for the reply.
Maby its a separate error then.. I have created a simple report connected to a semantic model in development stage and then, save it as a PBIP, push it to development branch in origin and try to sync the branch in my report workspace i get the following error.
I have used the connect to PBI Semantic model connector.
its only a small table in the report.
The definition file does indeed validate what you said so i guess that looks good?
- Anonymous2 years agoNot applicable
Hi D_Lav
I didn't check the definition file in such detail.
But I got a different effect.
The synced report works without any issues.
But I cannot edit it in Power BI Desktop after syncing it back from Git.
Perhaps it's the same cause.
I don't know.
- D_Lav2 years agoHelper I
Hi Anonymous
I tried that now aswell. If i publish the report to the workspace with a connection to a semantic model in separate workspace. I can sync the content to git from workspace but not the other way around.
And the reports dont work in pbi desktop after. So same effect as you.
This seem to wonky to work with in real life..
- RuiRomanoMS2 years agoMicrosoft Employee
Are you connecting to a semantic model in "My Workspace"? Or to Azure/SQL Analysis Services?
- D_Lav2 years agoHelper I
Hi RuiRomanoMS
im connecting to a semantic model in a power bi service workspace (App workspace and not in my personal workspace) which is on a premium capacity if that helps. Using connector "Power BI Datasets"
- RuiRomanoMS2 years agoMicrosoft Employee
Looking into the connectionType of the definition.pbir (pbiserviceOnPremLive) you should be connected to a semantic model in the service that is connected to an Analysis Services database (AAS or SQL). Can you confirm that?
Unfortunately Git Integration does not support Analysis Services semantic models (not hosted in Power BI) - https://learn.microsoft.com/en-us/fabric/cicd/git-integration/git-integration-process#general-limitations
Cannot share a concrete timeline, but we are working to support those scenarios before GA.