Forum Discussion

orangebloss's avatar
orangebloss
New Member
3 years ago
Solved

Returning Column Name of first non- Null value

I have a CSV file I'm using as a source, I'm needing to return the column name of the first non-null value in a row.    In Excel I'd use a simple index match. I've worked out how to return the firs...
  • slorin's avatar
    3 years ago

    Add a List.RemoveFirstN

    List.Skip(List.RemoveFirstN(List.Zip({Record.FieldValues(_), Record.FieldNames(_)}),4), each _{0}=null){0}{1}

    Stéphane