Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Power BI Desktop projects Git integration

Colleagues, good afternoon! Need help. The essence of the question: I have a PBIX file, I convert it to PBIP. I'm only editing one measure, but in git I see a bunch of changes that I didn't make. For example. The relationship between tables has been removed and re-added

 

part of the code removed

pavel118_0-1731048377753.png

Added the same code

pavel118_1-1731048415449.png

pavel118_2-1731048450559.png

 

Or the character \r is added to the end of the lines

 

pavel118_3-1731048489722.png

I don’t understand what this is connected with, except for the measurement formula, I didn’t change anything

Status: Investigating

Hi @pavel118 ,

 

Did you check if you have meet the limits of pbip? such as :

  • Modifying table query expressions outside of Power BI Desktop results in the removal of the table data upon restarting Power BI Desktop.

or when changing a model that uses Direct Query to connect a Power BI semantic model or Analysis Services model, you must update the ChangedProperties and PBI_RemovedChildren collection for the changed object to include any modified or removed properties. If ChangedProperties and/or PBI_RemovedChildren isn't updated, Power BI Desktop might overwrite any changes the next time the query is edited or the model is refreshed in Power BI Desktop.

 

You may check this Power BI Desktop projects (PBIP) - Power BI | Microsoft Learn

 

Best regards.
Community Support Team_Caitlyn

 

 

 

Comments
v-xiaoyan-msft
Community Support
Status changed to: Investigating

Hi @pavel118 ,

 

Did you check if you have meet the limits of pbip? such as :

  • Modifying table query expressions outside of Power BI Desktop results in the removal of the table data upon restarting Power BI Desktop.

or when changing a model that uses Direct Query to connect a Power BI semantic model or Analysis Services model, you must update the ChangedProperties and PBI_RemovedChildren collection for the changed object to include any modified or removed properties. If ChangedProperties and/or PBI_RemovedChildren isn't updated, Power BI Desktop might overwrite any changes the next time the query is edited or the model is refreshed in Power BI Desktop.

 

You may check this Power BI Desktop projects (PBIP) - Power BI | Microsoft Learn

 

Best regards.
Community Support Team_Caitlyn

 

 

 

pavel118
Frequent Visitor

@v-xiaoyan-msft  

Hello. But I make all the changes in power bi, and in VS code I see what has changed