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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Connor_H
Regular Visitor

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
Super User
Super User

Hi,

instead of an image can you post sample data

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors