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!
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.
Where I would like to have it set up like this.
Thank you for any help!
Solved! Go to Solution.
Hi,
you can obtain your result applying the steps of the attached file
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!
Hi,
instead of an image can you post sample data
| Item | Description | |||||||||||
| 111111 | Desciption 1 | |||||||||||
| Customer | Invoice | Quantity | Unit | Sales Balance | Cost value | Margin | Contribution ratio | |||||
| 111 | Inv-01 | 1.00 | EA | 100.00 | 50.00 | 50.00 | 50.00 | |||||
| Inv-03 | 2.00 | EA | 200.00 | 100.00 | 100.00 | 50.00 | ||||||
| Inv-04 | 3.00 | EA | 300.00 | 150.00 | 150.00 | 50.00 | ||||||
| Total | 600.00 | 300.00 | 300.00 | 50.00 | ||||||||
| 111222 | Description 2 | |||||||||||
| Customer | Invoice | Quantity | Unit | Sales Balance | Cost value | Margin | Contribution ratio | |||||
| 222 | Inv-11 | 1.00 | EA | 100.00 | 50.00 | 50.00 | 50.00 | |||||
| 223 | Inv-12 | 2.00 | EA | 200.00 | 100.00 | 100.00 | 50.00 | |||||
| Total | 300.00 | 150.00 | 150.00 | 100.00 | ||||||||
| 111333 | Description 3 | |||||||||||
| Customer | Invoice | Quantity | Unit | Sales Balance | Cost value | Margin | Contribution ratio | |||||
| 333 | Inv-22 | 1.00 | EA | 100.00 | 50.00 | 50.00 | 50.00 | |||||
| 334 | Inv-23 | 2.00 | EA | 200.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
| Item | Description | Customer | Invoice | Quantity | Unit | Sales Balance | Cost Value | Margin | Contribution Ratio |
| 111111 | Description 1 | 111 | Inv-01 | 1 | EA | 100 | 50 | 50 | 50 |
| 111111 | Description 1 | 111 | Inv-03 | 2 | EA | 200 | 100 | 100 | 50 |
| 111111 | Description 1 | 111 | Inv-04 | 3 | EA | 300 | 150 | 150 | 50 |
| 111222 | Description 2 | 222 | Inv-11 | 1 | EA | 100 | 50 | 50 | 50 |
| 111222 | Description 2 | 223 | Inv-12 | 2 | EA | 200 | 100 | 100 | 50 |
| 111333 | Description 3 | 333 | Inv-22 | 1 | EA | 100 | 50 | 50 | 50 |
| 111333 | Description 3 | 334 | Inv-23 | 2 | EA | 200 | 100 | 100 | 50 |
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 |
|---|---|
| 16 | |
| 12 | |
| 9 | |
| 7 | |
| 6 |