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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
CCal
Frequent Visitor

Two way sync between PowerBI Desktop and VSCode?

Hi, 

I found myself in a situation where I need to quickly rename multiple variables and column names in power query.

I am using the new *.pbip format and I can open the files in VSCode locally.

 

I want to do the rename operation in VSCode because it allows me to rename more securely, effectively and fast.

Now my question is, is there a way that my changes in VSCode is sync back to the Opened pbip file with PowerBI Desktop?

 

Closing and opening the file breaks the workflow.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @CCal ,

 

As far as I know, Power BI temporarily does not support direct synchronization of the VSCode data source after the change of the column name, if you change the column name in the data source, power bi is still in accordance with the old column name to get the data in the data source, the match can not match the new column name may appear an error message "The column ' columnname' of the table wasn't found".

So when the data model changes, we can go to Power Query to manually refresh it.

Solved: Expression.Error: The column 'Column1' of the tabl... - Microsoft Fabric Community

Or click on Advanced Editor and find the relevant column name to replace it.

Solved: Synchronisation error after renaming column in sou... - Microsoft Fabric Community

Solved: Datasource column name changed - Microsoft Fabric Community

Or go into the data source setting and clear all permissions - then recapture them.

vyangliumsft_0-1723170842314.png

 

Solved: Re: Removing any columns causes errors - Microsoft Fabric Community

 

This is the related document, you can view this content:

[Expression.Error] The column of the table wasn't found when load into - Microsoft Community

Expression.Error: Column ' ' of the table not found. Trying to refresh - Microsoft Community

Solved: Error: The column '' of the table wasn't found. - Microsoft Fabric Community

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi  @CCal ,

 

As far as I know, Power BI temporarily does not support direct synchronization of the VSCode data source after the change of the column name, if you change the column name in the data source, power bi is still in accordance with the old column name to get the data in the data source, the match can not match the new column name may appear an error message "The column ' columnname' of the table wasn't found".

So when the data model changes, we can go to Power Query to manually refresh it.

Solved: Expression.Error: The column 'Column1' of the tabl... - Microsoft Fabric Community

Or click on Advanced Editor and find the relevant column name to replace it.

Solved: Synchronisation error after renaming column in sou... - Microsoft Fabric Community

Solved: Datasource column name changed - Microsoft Fabric Community

Or go into the data source setting and clear all permissions - then recapture them.

vyangliumsft_0-1723170842314.png

 

Solved: Re: Removing any columns causes errors - Microsoft Fabric Community

 

This is the related document, you can view this content:

[Expression.Error] The column of the table wasn't found when load into - Microsoft Community

Expression.Error: Column ' ' of the table not found. Trying to refresh - Microsoft Community

Solved: Error: The column '' of the table wasn't found. - Microsoft Fabric Community

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.