Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

Undo a group by in source data with power bi

I have an input which is grouped and want to undo this in power query ideally. The scenario is as shown below where there is a subheader with a sum, and the line items are below, but do not have the details (code, name) from the header.  

source.PNG

I would like the result to be ungrouped as shown below, where the subheader row is removed all together, and the missing details from the header is replicated to the appropriate line items. 

 

target.PNG

 

any help would be appreciated. 

1 REPLY 1
HotChilli
Super User
Super User

Use 'Fill Down' on Vender Code and Vendor Name columns.

Then filter the rows (using the carat in the Type column header) to keep rows which have 'Inv'

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors