cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Getting error message when I added a column to my Excel source worksheet

Hi folks,

 

I'm pretty new to Power BI. I've created a dashboard in Power BI and I'm getting my data from an Excel worksheet. Everything goes well when I add rows of data in my Excel worksheet and then hit the "Refresh" button in Power BI. I get an error message when I add columns in my Excel worksheet when I hit the "Refresh" button in Power BI. Can someone help me please?

 

! The column 'Column48' of the table wasn't found.

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User VI
Super User VI

Re: Getting error message when I added a column to my Excel source worksheet

Your error means that one of the steps in your query is looking for Column 48.  You will need to remove that reference to avoid the error.  Click each step until you find the first step with the error, and either edit the code in the formula bar to remove reference to it, or delete and replace that step.

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Please mark my post as a solution! Kudos are also appreciated!

Proud to be a Super User!




View solution in original post

6 REPLIES 6
Highlighted
Super User IX
Super User IX

Re: Getting error message when I added a column to my Excel source worksheet

@PlastiquesMoore , refer if this can help

https://prathy.com/2016/08/how-to-add-extra-columns-to-an-existing-power-bi-file-which-using-csv-dat...



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Highlighted
Super User IX
Super User IX

Re: Getting error message when I added a column to my Excel source worksheet

Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

But yes, when you add and remove columns it can be problematic. You need to edit your query and see where the error is occuring. 


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Highlighted
Community Support
Community Support

Re: Getting error message when I added a column to my Excel source worksheet

@PlastiquesMoore ,

 

You should click query editor and modify/add the column name in advanced editor when you modify/add columns in your data source.

 

Community Support Team _ Jimmy Tao

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

Highlighted
Regular Visitor

Re: Getting error message when I added a column to my Excel source worksheet

I added my new columns in the middle of my Excel source worrksheet. I'll add the columns with the query editor, but does the order matter? Do both files have to be in the same column order?

 

Thanks!

Highlighted
Super User VI
Super User VI

Re: Getting error message when I added a column to my Excel source worksheet

Your error means that one of the steps in your query is looking for Column 48.  You will need to remove that reference to avoid the error.  Click each step until you find the first step with the error, and either edit the code in the formula bar to remove reference to it, or delete and replace that step.

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Please mark my post as a solution! Kudos are also appreciated!

Proud to be a Super User!




View solution in original post

Highlighted
Regular Visitor

Re: Getting error message when I added a column to my Excel source worksheet

I created Tables and that solved part of my problem. Thanks!

Helpful resources

Announcements

August Community Highlights

Check out a full recap of the month!

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Top Solution Authors