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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
So I have this table that is not in the format that I would like. What I'm tryign to do is create a table in Power Query that will return
| Area | Feeder | Device |
| EAI | 34 | 34 |
| EAI | 1501A | 1501A |
| EAI | 1501A | 6R21 |
| EAI | A162 | A162 |
| EAI | A162 | 2X29 |
| ELA | 4017 | L7511 |
| ELA | 4017 | L8312 |
How can I accomplish this?
Solved! Go to Solution.
=Table.FromPartitions("Area",Table.ToRows(Table.Group(YourTable,"Column1",{"n",each Table.PromoteHeaders(Table.Skip(Table.Transpose(_)))})))
This worked perfectly, thanks so much. Do you have any tips/tricks/information on how I can get better and understand Power Query like this?
1 group your data by ID
2 in each group, transpose the sub table, and skip the first row, and promote the first row as headers.
3 transform the table to a list of lists, which item is a list, of which the first item is a value and the second is a table.
4 use Table.FromPartitions to expand that list to table
=Table.FromPartitions("Area",Table.ToRows(Table.Group(YourTable,"Column1",{"n",each Table.PromoteHeaders(Table.Skip(Table.Transpose(_)))})))
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 14 | |
| 11 | |
| 8 | |
| 7 | |
| 6 |