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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
v-yangliu-msft
Community Support
Community Support

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
v-yangliu-msft
Community Support
Community Support

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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