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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

[Excel import] Renaming column in Excel table leads to error in Power BI Desktop

Hello,

I have troubles with column names from an Excel table in PowerBI. 

The Excel table contains a row of month data. This data shows up correctly in the Power Query Editor view in Power BI Desktop.

But when a column name, e.g. a month name, is renamend in the Excel file, this column can't be found by Power BI anymore. Reverting back the column name in Excel let's the column reappear in Power BI.

The error message is the following:
Error after rename Column in Excel.PNG
I unfortunately can't reproduce this problem. I write on behalf of a support client. Has someone experienced this error?

Thanks in advance


1 ACCEPTED SOLUTION
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous ,

 

Your support customer must go into each query and adjust the references to the columns.

I would recommend the Advance Editor.

 

Regards,

Marcus

Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


View solution in original post

4 REPLIES 4
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous 


is your problem solved?

 

If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


danextian
Super User
Super User

Power BI data pulls data from selected columns so if a column in the data source is renamed, that causes an error. I would unpivot those month columns using Unpivot Other Columns feature to prevent this from happening. 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous ,

 

Your support customer must go into each query and adjust the references to the columns.

I would recommend the Advance Editor.

 

Regards,

Marcus

Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


kentyler
Solution Sage
Solution Sage

I'm guessing your client wants to rename the column something like 'May 20'.

They should look into a data structure where the year is the first column in the row and the column just has the name "may"

That way when they add a new year to excel, the new year will be data, not structure, and the links into power bi will continue to work fine.





Did this post answer your question? Mark it as a solution so others can find it!

Help when you know. Ask when you don't!




Join the conversation at We Talk BI find out more about me at Slow BI


Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors