Forum Discussion
Anonymous
4 years agoNot applicable
Split
Hi guys, can anybody help me? Please The column called phase_history has a sequence of steps in my pipeline and first_time_in has the sequence of dates referring to each step of phase_hist...
- 4 years ago
let Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WCi5JLCpRSMsvytUJKMrMTc0syldIzs8rSSzJV3AMdgxAiKZkJiqkpMIklXSUjAyMDHUNzHUNTUIMDKyMzK0MzbWBDAMDHUwZC6wyxmZWJlAZpVgd6jjGIsTAELtj4DIYjgHLoDgmFgA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [phase_history = _t, first_time_in = _t]), ToRows = Table.ToRows(Source), #"Split Rows" = let cols = Table.ColumnNames(Source) in List.Transform(ToRows, each Table.FromColumns(List.Transform(_, each Text.Split(_, ",")), cols)), #"Combined Tables" = Table.Combine(#"Split Rows") in #"Combined Tables"
VahidDM
4 years agoSuper User
Hi Anonymous
One way is to use "Split columns by delimiter", please see the below links:
https://docs.microsoft.com/en-us/power-query/split-columns-delimiter
https://radacad.com/split-column-by-delimiter-in-power-bi-and-power-query
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your Kudos ✌️!!