Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
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
| User | Count |
|---|---|
| 19 | |
| 12 | |
| 8 | |
| 8 | |
| 7 |