Hello
Any help here appreciated.
In M, I am trying to reference a numeric value in a column as the number of characters to split a column by, but I am not sure how to do this.
The value I want to split by is in Column 5 and the Column I want to split is Column1.
I came up with this statement, but it does not work!
= Table.SplitColumn(#"Changed Type","Column1",Splitter.SplitTextByPositions({0, each [Column5]}, false),{"Column1.1", "Column1.2"})
What do I need to do to make this work?
Thanks in advance
Dave
Any help here appreciated.
In M, I am trying to reference a numeric value in a column as the number of characters to split a column by, but I am not sure how to do this.
The value I want to split by is in Column 5 and the Column I want to split is Column1.
I came up with this statement, but it does not work!
= Table.SplitColumn(#"Changed Type","Column1",Splitter.SplitTextByPositions({0, each [Column5]}, false),{"Column1.1", "Column1.2"})
What do I need to do to make this work?
Thanks in advance
Dave