What should I do to avoid this error when column changes?

Mr_Phil

Board Regular
Joined
May 28, 2018
Messages
147
Office Version
  1. 365
Hi, I created my import query and discovered that if the source data changes it will affect the query. We swapped out an employee. And PQ gave me this error. So, the column header is what changed and I need to figure out how to tell PQ that will happen from time to time. But, my skill is at the "Just discovered PQ two weeks ago..." level. Any advice would be awesome.

1681317720659.png
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Does the source data use the 'Employee - Location' as a column header?
No sir. It is a flat grid. Employee names across the top as column headers. Parts list down the first column. A numeric value at the intersection of part and person. We had a manager move on to other opportunities. So his name was replaced with the newly hired managers name. Thanks for looking. I tried looking in the PQ basic editor to see if there was a ribbon option I could apply to override any "missing" columns or "add" columns from the source file. No luck. But I am so new that the language and syntax haven't been really studied yet.
 
Upvote 0

Forum statistics

Threads
1,223,956
Messages
6,175,614
Members
452,661
Latest member
Nonhle

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top