Forum Discussion

Trabka's avatar
Trabka
Frequent Visitor
4 years ago
Solved

Search column name headers by name (like)

Hi there, I am searching advice how can I find column name by the header where I know the header partially.   For example:   I have one column header called "Calculation XXX Jan", and on some poi...
  • Vijay_A_Verma's avatar
    4 years ago

    Use this to find last column names starting with "Calculation XXX"

    = List.Last(List.Select(Table.ColumnNames(Source),(x)=>Text.StartsWith(x,"Calculation XXX")))