Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
I use Power BI Desktop with an excel file as source. I had to delete one column in the excel table and now Power BI always give me an expression.error to tell me that it doesn't find the column.
I already refresh the query editor and delete the column in the pbi desktop, but the error message still come back.
Is there anybody to help me ?
Thanks !
Solved! Go to Solution.
You have to delete the specified column from all the steps in Query editor. Let's have a look into Advanced editor in Home ribbon and delete all parts of code where the specified column is used - not the steps but only the sections connected to the column.
That's it.
Regards.
Pavel
You have to delete the specified column from all the steps in Query editor. Let's have a look into Advanced editor in Home ribbon and delete all parts of code where the specified column is used - not the steps but only the sections connected to the column.
That's it.
Regards.
Pavel
Thank you, I've been having this problem as well. The company that generates my report decided it would be fun to change the column names ever so slightly which ruined my report.
I followed the steps you listed and I think I finally have an updated report. These are the steps I did (the ones you listed but also additional)
I went into the data tab and right clicked on the report in the right section labeled fields and click edit query.
I clicked on Advanced Editor and copy and pasted it into word (for finding/editing purposes). Removed the section that was causing problems starting from the comma to the next comma ensuring I left one between sections.
Then copied and pasted back into BI, hit done and waited for the next error.... rinse and repeat until you no longer get errors.
Then I clicked on the gear for "Source" in the applied steps section
Changed Open file as to "Automatic"
Doubled Clicked on the file shown
Clicked Insert
Then hit close and apply.
I now had a refreshed updated report... Annoying (I hope there is an easier way someone can describe) but it worked so now future reports will just update with no issues.
Oh and if you have a report you made it may have a button called Fix, I had to do that at least once.
Thank you, I've been having this problem as well. The company that generates my report decided it would be fun to change the column names ever so slightly which ruined my report.
I followed the steps you listed and I think I finally have an updated report. These are the steps I did (the ones you listed but also additional)
I went into the data tab and right clicked on the report in the right section labeled fields and click edit query.
I clicked on Advanced Editor and copy and pasted it into word (for finding/editing purposes). Removed the section that was causing problems starting from the comma to the next comma ensuring I left one between sections.
Then copied and pasted back into BI, hit done and waited for the next error.... rinse and repeat until you no longer get errors.
Then I clicked on the gear for "Source" in the applied steps section
Changed Open file as to "Automatic"
Doubled Clicked on the file shown
Clicked Insert
Then hit close and apply.
I now had a refreshed updated report... Annoying (I hope there is an easier way someone can describe) but it worked so now future reports will just update with no issues.
Oh and if you have a report you made it may have a button called Fix, I had to do that at least once.
I am having a similar issue but I already deleted the column from an appended. The "source" tables are all the same (I didn't delete anything). The only change is the column deleted from the appended table.
Is there some way to restore that column?
I have tried going through the Advaced Editor to "restore" the append forumula to the default which doesn't seem to work.
Dear All,
I'm in the same situation right now, but I can't solve the issue with the solution suggested in this post.
Can you please help me to solve the issue? I basically deleted four columns from my excel file, but deleting the column from the query brings me to the issue "the column wasn't found".
I don't know how to solve it, I'm available to share the query information with you, I really need to fix the problem.
Thank you,
Alessandro
Thanks for your help ! It works !
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
15 | |
13 | |
13 | |
12 | |
11 |