Forum Discussion

rmahmood's avatar
rmahmood
New Member
4 years ago
Solved

Receiving Expression.Error after removing a column

Hi,    I was wondering if someone can help me with the below error message.   I received an error stating that a column was no longer found within the table, so proceeded with removing the column...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi rmahmood ,

     

    The Table.RenameColumns function needs the replaced column name. "ID" in the formula cannot be removed. 

    Table.RenameColumns - PowerQuery M | Microsoft Docs

     

    Do you want to delete the ID column in the table and keep the ID.1 column? Then you can rename the column name first, and then remove the ID column.

     

     

    Best Regards,

    Stephen Tao

     

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