Forum Discussion
Alexjaco2
2 years agoNew Member
Removing 3 digit numbers from a list
Hi All, I have a list of numbers (stored as texts) that are semi colon sepearated and I need specific 3 digit values removed. Is there any Power Query that can do this? Here is what I have and wh...
- 2 years ago
Alexjaco2 Maybe this?
let Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("fc2xDYAwDATAVazUFO/Y2ImYgjrK/mvgIGiiQHey/P+tpYoiOfUtVDPLr3SSiVGF76CD3Dmszt851vFdedlirsuWeVPAVIB787Hx62zw0VJAZxwi0S8=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Have = _t]), #"Changed Type" = Table.TransformColumnTypes(Source,{{"Have", type text}}), #"Added Custom" = Table.AddColumn(#"Changed Type", "Custom", each Text.Combine(List.Select(Text.Split([Have], " "), each Text.Length(_) <> 3))) in #"Added Custom"
Alexjaco2
2 years agoNew Member
That works! Thanks!