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!View all the Fabric Data Days sessions on demand. View schedule
I need help changing a table from multiple rows to a grouped by and then into a single row see example.
T
Solved! Go to Solution.
Hi @cisyncllc
Pivot column feature exactly does what you want. Pivot columns - Power Query | Microsoft Docs
Select the "groupdesc" column and click on Pivot Column. In the pop-up "Pivot Column" window, select "Itemdesc" for Values column and expand "Advanced options" and select "Don't Aggregate" for Aggregate Value Function.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
=Table.Combine(Table.Group(PreviousStepName,"ID",{"n",each #table({"ID"}&[groupdesc],{{[ID]{0}}&[itemdesc]})})[n])
Hi @cisyncllc
Pivot column feature exactly does what you want. Pivot columns - Power Query | Microsoft Docs
Select the "groupdesc" column and click on Pivot Column. In the pop-up "Pivot Column" window, select "Itemdesc" for Values column and expand "Advanced options" and select "Don't Aggregate" for Aggregate Value Function.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
I need to accomplish this in Power Query so I can use the table in other queries and merges
Thank you for any assistance.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 12 | |
| 7 | |
| 5 | |
| 5 | |
| 3 |