Forum

Expression error: T...
 
Notifications
Clear all

Expression error: The name 'Table.TransformColumnNames' wasn't recognized. Make sure it's spelled correctly.

2 Posts
2 Users
0 Reactions
365 Views
(@dataa)
Posts: 3
Active Member
Topic starter
 

= Table.TransformColumnNames(#"Promoted Headers",each List.Accumulate(Table.ToRecords(Mapping),_,(state,current)=>Text.Replace(state,current[Before],current[After])))

 

Could anyone mention what I am doing wrong. It worked fine before and now it is throwing this error.

 

Thank you.

 
Posted : 23/02/2023 6:49 pm
(@debaser)
Posts: 838
Member Moderator
 

If it worked before and now it doesn't, the most likely cause would be an update (windows or Office or Power BI, depending on what you are using this in).

 
Posted : 24/02/2023 5:44 am
Share: