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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
wech747
Frequent Visitor

Synchronisation error after renaming column in source file

Hi,

 

i've created a dashboard in Power BI Desktop, the data source of it is an Excel spreadsheet.
Due to a wrong named column I just had to rename this column (e.g. from 'cars' to 'vehicles') in the Excel spreadsheet and just wanted to synchronize the dashboard in Power BI again, when I get an expression error, which says, that the column 'cars' can not be found.

Is there any way to change the column name of my in Power BI imported data, so that it finds the renamed column again?
Or do i really have to create a whole new dashboard because of this?

I would be very grateful about an answer.

 

Kind regards

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

Exact resolution is going to depend on your query but you will not have to recreate your report. Go into Query Editor. Go to Advanced Editor. Copy the text and paste into Notepad. Search for cars. Replace. Copy back to Advanced Editor. Save. 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
Greg_Deckler
Super User
Super User

Exact resolution is going to depend on your query but you will not have to recreate your report. Go into Query Editor. Go to Advanced Editor. Copy the text and paste into Notepad. Search for cars. Replace. Copy back to Advanced Editor. Save. 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

thanks @Greg_Deckler  I know its a few years old but this just helped me. 

I have the same problem but I couldnt follow your guideliine. My steps was

1. Rename column header in Excel then Save&Close file 

2. Refresh power Bi

3. I got yellow box error "Expression.Error: The column 'Previous Column Header Name' of the table wasn't found.

    Details: Previous Column Header Name

 

Could you please tell me where to start your step? I tried to open Advanced Editor after I got error and find for "Previous Column Header Name" but nothing found. 

 

Thank you.

Hi smoupre,

 

thank you very much four your advice. It works fine! 🙂

Kind regards

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.