Forum Discussion
Anonymous
3 years agoNot applicable
Filter a column in Power Query by position?
Hi everyone, I have a simple table like: Date Day Month Year To filter Day, I could use = Table.SelectRows(Source, each ([Day] = "Monday")) for example. But I wonder if ther...
- 3 years ago
Hi Anonymous ,
you are on the right track with that approach. Just change it to:
Table.SelectRows(Source, each (Record.Field(_, Table.ColumnNames(Source){2}) = "Monday"))
ImkeF
3 years agoCommunity Champion
Hi Anonymous ,
you are on the right track with that approach. Just change it to:
Table.SelectRows(Source, each (Record.Field(_, Table.ColumnNames(Source){2}) = "Monday"))