This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is now in read-only for platform upgrade. Learn more
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
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.