cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PBI-Curious
Helper III
Helper III

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
Helper III
Helper III

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.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Kudoed Authors