79616483

Date: 2025-05-11 12:30:01
Score: 1
Natty:
Report link

Is this what you want?

Rename all columns to specified names, regardless of what they were to begin with?

    let  Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    NewColumnNames={"apple","banana","chocolate","dog","elephant"},
    Rename = Table.RenameColumns( Source, List.Zip( { Table.ColumnNames( Source ), NewColumnNames } ) )
    in Rename

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Is this
  • High reputation (-2):
Posted by: horseyride