Forum Discussion
Developer mode & git for reports with live connection
Hi RuiRomanoMS
Maby im missing somethhing but i dont understand how this could be by design. If the architecture suggests to separate workspaces for semantic models and reports. You could never use GIT integration for the report part as it is now?
Is there a workaround for this or should we live with the fact that reports connected to a semantic model in a separate workspace can“t be git connected?
- RuiRomanoMS2 years agoMicrosoft Employee
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.- lbendlin2 years agoSuper User
Maybe worth adding an override option that always uses absolute addressing.
- Anonymous2 years agoNot applicable
But it's still a problem that it's impossible to properly work with reports with a Live connection while integrating them in Git.
To be honest, I don't care about why.
The fact is that it's a pain.
- D_Lav2 years agoHelper I
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.