Unpivot Pairs of Data, however one column per pair is not a value but a text entry

Joined
Jul 18, 2023
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Column 1 - 4 is relevant to all potential data rows. Column 5 - 16 is made up of pairs of data where the first column of the pair is text and the second column for the pair is a value. Very compounded data. See Screen Shots for Possible Data Set. Neither Unpivot and Group By works in this instance, since the pairs are not all values. I will change the data in Excel to try and demonstrate the expected end result, I need assistance to do this in Power Query. There are 4 images. Example of possible original data "Original Data Set", Reworked Dataset (here I did a considerable amount of time to get it into this format, This is what I in essence want to do in Power Query. Tab 3 - PQ Data Table (after some work done in Power Query. Tab 4 - Pivot. In the end I must be able to slice and dice as I need to. Please Help with a possible solution. Please ask any questions if this is not clear. Screen Shot 1 - Possible Original Data Set, Screen Shot 2 End Result Pivot with expectation. Screen Shot 3 - Power Query Transformed Data Set. Screen Shot 4 - Manually changed data set to be able to do expected Pivot Table - Kind Regards. Yolandi Drossopoulos
 

Attachments

  • Original DataSet.png
    Original DataSet.png
    16.8 KB · Views: 17
  • Pivot.png
    Pivot.png
    72.8 KB · Views: 16
  • PQ Data Table after Transformation.png
    PQ Data Table after Transformation.png
    87.8 KB · Views: 16
  • Reworked DataSet.png
    Reworked DataSet.png
    58.3 KB · Views: 17
Yes, but you posted pictures of it, not workable data.
 
Upvote 0

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top