omezquita
New member
- Joined
- Apr 1, 2016
- Messages
- 19
- Reaction score
- 0
- Points
- 0
- Website
- www.masterdataanalysis.com
- Excel Version(s)
- 2016
Is there a way to apply a function to all columns in a query?
Right now I have all the values hard coded.
E.g.
I would like something like:
Is this possible?
Thanks!
Right now I have all the values hard coded.
E.g.
HTML:
= Table.TransformColumns(#"Expanded Data",{{"Name", ExcelTrim}, {"Column1", ExcelTrim}, {"Column2", ExcelTrim}, {"Column3", ExcelTrim}, {"Column4", ExcelTrim}, {"Column5", ExcelTrim}, {"Column6", ExcelTrim}, {"Column7", ExcelTrim}, {"Within2", ExcelTrim}, {"Column8", ExcelTrim}, {"Column9", ExcelTrim}, {"Column10", ExcelTrim}, {"Between2", ExcelTrim}, {"Within3", ExcelTrim}})
I would like something like:
HTML:
= Table.TransformColumns(#"Expanded Data", All_Columns, ExcelTrim)
Is this possible?
Thanks!