brawnystaff
Board Regular
- Joined
- Aug 9, 2012
- Messages
- 109
- Office Version
- 365
I am using the M code below to search for column headers that have the word "Date" in them and change the column data type to date.
However, the keyword search is case sensitive. Is there a way to make this case insensitive? Thanks.
However, the keyword search is case sensitive. Is there a way to make this case insensitive? Thanks.
Power Query:
Change = Table.TransformColumnTypes(RenameHeaders, List.Transform(List.FindText(Table.ColumnNames(RenameHeaders), "Date"), each {_, type date})),