Forum Discussion
Axel_hnk
4 years agoFrequent Visitor
Replace Leading Characters for Multiple Columns at Once
Hi there, I have always a couple of columns in my data source where the data has leading (in my case) zero. I get rid of them by: Table.TransformColumns(#"StepBefore", {{"ColumnName", each Text.Tri...
- 4 years ago
Simple enough,
= List.Accumulate({"col1","col2",..."coln"},#"Previous Step",(s,c)=>Table.TransformColumns(s, {c, each Text.TrimStart(_,"0")}))