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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Splitting Column with different headers

Hello, I am new to Power Query and I'm looking to reorganize this report but I'm running into the issue of splitting columns with different headers as show below.

 

Connor_H_0-1676480085798.png

 

Where I would like to have it set up like this.

Connor_H_1-1676480339774.png

 

Thank you for any help!

 

1 ACCEPTED SOLUTION

Hi,

you can obtain your result applying the steps of the attached file

serpiva64_0-1676501242356.png

If this post is useful to help you to solve your issue, consider giving the post a thumbs up and accepting it as a solution!

 

View solution in original post

3 REPLIES 3
serpiva64
Solution Sage
Solution Sage

Hi,

instead of an image can you post sample data

Anonymous
Not applicable

ItemDescription           
111111Desciption 1           
CustomerInvoiceQuantity UnitSales Balance Cost value  Margin Contribution ratio
111Inv-011.00 EA100.00 50.00  50.00 50.00
 Inv-032.00 EA200.00 100.00  100.00 50.00
 Inv-043.00 EA300.00 150.00  150.00 50.00
Total    600.00 300.00  300.00 50.00
             
111222Description 2           
CustomerInvoiceQuantity UnitSales Balance Cost value  Margin Contribution ratio
222Inv-111.00 EA100.00 50.00  50.00 50.00
223Inv-122.00 EA200.00 100.00  100.00 50.00
Total    300.00 150.00  150.00 100.00
             
111333Description 3           
CustomerInvoiceQuantity UnitSales Balance Cost value  Margin Contribution ratio
333Inv-221.00 EA100.00 50.00  50.00 50.00
334Inv-232.00 EA200.00 100.00  100.00 50.00
Total    300.00 150.00  150.00 100.00

 

This is the original set up of the data, below is the desired outcome

 

ItemDescriptionCustomerInvoiceQuantityUnitSales BalanceCost ValueMarginContribution Ratio
111111Description 1111Inv-011EA100505050
111111Description 1111Inv-032EA20010010050
111111Description 1111Inv-043EA30015015050
111222Description 2222Inv-111EA100505050
111222Description 2223Inv-122EA20010010050
111333Description 3333Inv-221EA100505050
111333Description 3334Inv-232EA20010010050

Hi,

you can obtain your result applying the steps of the attached file

serpiva64_0-1676501242356.png

If this post is useful to help you to solve your issue, consider giving the post a thumbs up and accepting it as a solution!

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.