Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Frequent Visitor

Modified column header

Good morning to the Power BI community,

From the Excel files that I receive every week concerning incidents by department, I have built a Power BI report.
Sometimes, in the Excel files, the name of the department in the column header (e.g. Marketing) is modified by a person and therefore, during the refresh, I get an error during the transformation indicating that the "Marketing" column does not exist.

Currently, I manually check the column headers or I modify the transformation steps in Power Query Editor so that the refresh works.

I would like to know if there is any way to manage this type of problem in an automated way?

Thanks in advance

Frequent Visitor

Hi 1Daniel993


Sorry for the delay but I am full at the moment.
Yes, I normally have the same number of columns (hopefully the person who changes the header name doesn't add any more).

Helper III
Helper III

Hello, you could try with code M in powerQuery

Questions always do you have the same numbers of columns?

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors