Forum Discussion

sparvez's avatar
sparvez
Helper I
3 years ago
Solved

List.Accumulate source column name

Hello altrusits,    Can someone help me how to choose a column name as a source for the function  List.Accumulate ? Thanks in advance.    My code is as follows: = Table.AddColumn(#"previous ste...
  • jbwtp's avatar
    3 years ago

    Hi sparvez,

     

    I guess you are questioning this bit?

    Text.Contains([column to look forl],current,Comparer.OrdinalIgnoreCase)

    You can call a column in a table using the name of the column using

    Table.Column(table as table, column as text) as list

     

    Kind regards,

    John