Forum Discussion
Combine different columns from excels files!
- 9 years ago
My suggestion would be to add a Custom Column with formula:
= Table.SelectColumns([D],Text.Split([Combined],","))
Next you can remove column D.
Update:
Just play around with https://bondarenkoivan.wordpress.com/2016/12/12/transform-column-using-custom-function-in-power-query-part-2/
My code here:
Custom2 = Table.FromRecords(Table.TransformRows(Custom1),
(ref)=> Record.TransformFields(ref,
{"D", each Table.SelectColumns(ref[D],ref[Combine],ref[Combine])}))
And new error:
Expression.Error: 1 arguments were passed to a function which expects 2.
Details:
Pattern=
Arguments=List
Still play around, any help is appricicated. Thanks
Happy querying guys ^^!
- MarcelBeug9 years ago
Community Champion
My suggestion would be to add a Custom Column with formula:
= Table.SelectColumns([D],Text.Split([Combined],","))
Next you can remove column D.