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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

Overwrite new data with keeping column headers

Hello,

 

I want to know if it is possible to change new data with keeping column headers untouchable.

I am gonna to clarify more

I have data for the month of june which I cleaned and worked on in power query and now i want to upload July data but I encoutred problemes of headers changes 006/2018 instead of 007/2018

 

PR1.JPGPr2.JPG

 

 Thanks in advance

1 ACCEPTED SOLUTION
ntaylo06
Resolver II
Resolver II

In order to keep queries from breaking when the data in a file changes you have to avoid referencing columns by their promoted headers. It looks like you need to modify columns BEFORE you promote headers so that you are modifying 'Column 2' instead of '006/2018' because '006/2018' will not exist but 'Column 2' will. 

View solution in original post

1 REPLY 1
ntaylo06
Resolver II
Resolver II

In order to keep queries from breaking when the data in a file changes you have to avoid referencing columns by their promoted headers. It looks like you need to modify columns BEFORE you promote headers so that you are modifying 'Column 2' instead of '006/2018' because '006/2018' will not exist but 'Column 2' will. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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