Forum Discussion
Power BI Git Integration - Everything is Gone
Hi dbeavon3
It seems that while using Git integration in Power BI, you committed some assets (like notebooks and pipelines) to a Git repo and forgot to detach it afterward. This caused Power BI to sync your workspace with the Git repo, likely removing datasets, dataflows, and other assets not tracked in Git. Git doesn’t handle data storage, so it might have overwritten or deleted datasets in the process.
Since this wasn’t in a production workspace, you should contact Mindtree or Microsoft Support to see if they can restore your lost data. Going forward, always ensure Git is detached after use and back up datasets separately to avoid this issue.
Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂
Kind Regards,
Poojara
Data Analyst | MSBI Developer | Power BI Consultant
Consider Subscribing my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS
>> his caused Power BI to sync your workspace with the Git repo, likely removing datasets, dataflows, and other assets not tracked in Git.
It seems like very poor judgement for Microsoft to blow away datasets without some sort of user verification. Nobody would think it is a reasonable design for a git integration to delete large amounts of user data.
Based on what developers understand about git (from other product integrations), this one behaves in a very unusual and unexpected way. For example, whenever I integrate git with a coding workspace on my desktop, I never worry about the sudden loss of uncommitted assets! Given how strangely this git integration works, there should be a lot more guardrails!
Interestingly Microsoft did not delete the lakehouse assets in the workspace. On some level they seem to understand that deleting data is unacceptable. But for some reason they don't hesitate to delete PBI datasets