Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello all,
in power query, there is a column similar to blue table as shown below. Is it possible to change blue colored colored one to orange colored columns ? if possible, How to split based on column name?
Thanks advance
Hello, Krishna09
let
source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
headers = Splitter.SplitTextByDelimiter("/")(Table.ColumnNames(source){0}),
data = List.Repeat({Table.ToColumns(source){0}}, List.Count(headers)),
tbl = Table.FromColumns(data, headers)
in
tbl