Forum Discussion

ValeriaBreve's avatar
ValeriaBreve
Post Partisan
3 years ago
Solved

transform a column type based on column name

Hello, I need to change the column type of my table based on a text they contain.   So I have my list with all the columns that should be converted to the type Currency.Type: filter_type_names ...
  • Jakinta's avatar
    3 years ago

    Hi Valeria,

     

    does this work?

     

    FinalTransformedColumns = Table.TransformColumnTypes( #"Removed Columns", List.Transform( filter_type_names, each {_,Currency.Type}))