Forum Discussion

Goodkat's avatar
Goodkat
Helper II
2 years ago
Solved

Case insensitive column rename with mapping table

Dear friends of Power Query,   With the help of the forum, and two insightful websites (a big, big thank you to Imke Feldman thebiccountant.com and Rick de Groot gorilla.bi) I was able to further i...
  • Vijay_A_Verma's avatar
    2 years ago

    Use this as your next step

    = Table.TransformColumnNames(Quelle, (x)=>try mdTable[NewText]{List.PositionOf(mdTable[OldText], x, 0,Comparer.OrdinalIgnoreCase)} otherwise x)