cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PBI-Curious
Resolver I
Resolver I

Data Source Error - Column does not exist

Power BI Community - Good Day!

Some of the column names in my source data have changed. What are best practices to resolve? I tried deleting the column in my data view, for I couldn't delete in power query due to the error. Once I find the update names can I correct in my data view or something else?

Not certain how to clear the error so I can proceed.

Regards,

 

 

klsmith_dnb_0-1627403412968.png

 

1 ACCEPTED SOLUTION
BA_Pete
Super User II
Super User II

Hi @PBI-Curious ,

 

I've not worked with Amazon RedShift sources before, but you should be able to select your Source and Navigation steps within Power Query and see the original data as it's first pulled in. From here, you just go down the step list one-by-one and, when a step throws an error, look at the M code for that step in the formula bar and remove/update any reference to your missing/changed field name.

 

If you are getting an error even on the source step, I can only guess that the field list is hard-coded somehow into your connection string. You may be able to see more details on this using Advanced Editor on your query then, as above, updating any references to the offending field.

 

Pete

View solution in original post

2 REPLIES 2
PBI-Curious
Resolver I
Resolver I

Pete

 

Understood, much appreciated!

 

Thank you

BA_Pete
Super User II
Super User II

Hi @PBI-Curious ,

 

I've not worked with Amazon RedShift sources before, but you should be able to select your Source and Navigation steps within Power Query and see the original data as it's first pulled in. From here, you just go down the step list one-by-one and, when a step throws an error, look at the M code for that step in the formula bar and remove/update any reference to your missing/changed field name.

 

If you are getting an error even on the source step, I can only guess that the field list is hard-coded somehow into your connection string. You may be able to see more details on this using Advanced Editor on your query then, as above, updating any references to the offending field.

 

Pete

View solution in original post

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

Get Ready for Power BI Dev Camp

Power BI Dev Camp - September 30th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Kudoed Authors