Forum Discussion
Invalid column name after editing SQL
- 5 years ago
Hello
I think that might work but my report is way too big and complex to start from scratch.
I did get it to work though. I deleted all the tables that suffered any changes and then I reconected to them(direct query) . After that I recreated all the relationships (on these tables).
It works now!
Best Regards,
Thiago Duarte
Hi, ThiagoDuarte
Since you have made changes to the data in the data, it is best to recreate the report.
You can also refer to this related document to edit M query in advanced editor.
DataSource-Error-Invalid-column-name
Best Regards,
Community Support Team _ Eason
Is there any new development in 2025? I have the same issue after some columns were deleted from a underlying table, and the table in the report uses directquery. And the deleted columns are not used in the report.
Is it possible to handle it without deleting the table and re-add it back, or without recreating the report? I tried refreshing the data in the report, and it did not refresh the table structure. The error stays.