The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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