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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Data refresh gives an error "Column not found"

Hello all, I have a data source connected to PowerBI which data is being updated each month.The data is in wide format with column headers that are dates  in the format "dd/mm/yyyy''.I apply transformation steps such as transforming the data from wide to long format.However,these column headers are changing every month with new dates ,which causes the query to breaks since the column headers initially imported are not existing anymore.Any ideas how to solve this?Any help will be greatly appreciated.Thanks in advance.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

It's a common error when you try to reference a column that existed before but no longer exists after the data refresh.

 

I think it's not possible to dynamically change a transformation already applied in Power Query based on a data refresh. For example:

Eyelyn9_1-1648619157036.png

So you need to modify it manually.

Recording 2022-03-30 at 13.48.02.gif

 

It's also explainned in the Microsoft documentation  ——

Eyelyn9_0-1648618398951.png

 

 

Best Regards,
Eyelyn Qin
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
Anonymous
Not applicable

Hi @Anonymous ,

 

It's a common error when you try to reference a column that existed before but no longer exists after the data refresh.

 

I think it's not possible to dynamically change a transformation already applied in Power Query based on a data refresh. For example:

Eyelyn9_1-1648619157036.png

So you need to modify it manually.

Recording 2022-03-30 at 13.48.02.gif

 

It's also explainned in the Microsoft documentation  ——

Eyelyn9_0-1648618398951.png

 

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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 Kudoed Authors