Forum Discussion
PowerBi Refresh failing as underlying SQL server table and column renamed in the DB
Usually, an additional column is not the case, but when the column or a table is renamed, you also have to rename it from the Power Query side of your Power BI click on the source then change the table name! Below is the screenshot to rename the table, for columns you only need to double-click the column name and rename accordingly.
Hope your problem is solved.
Thank you for your response. Since my source is SQL Server , PowerQuery references the new columns when the source is refreshed . The error is on the report , the report still references the old name and gives an error about the old column name missing from the data source .
- tmhalila2 years agoResolver II
If Power Query references the new column that means your dashboard was refreshed successfully but you are getting challenged with some measures that reference the names of the old columns! Can you screenshot the error msg?