Forum Discussion
Power Query editor issue
- Dec 01, 2022
Eqa33 Perhaps the attached file with a very basic table and query will get you on your way. It unpivots the initial table, Splits the original column headers (assuming they are structured as in the example) and then re-pivots the whole ending up with 4 columns (ProductNr, Size, Type [Sale or Stock] and Qty).
Eqa33 Perhaps the attached file with a very basic table and query will get you on your way. It unpivots the initial table, Splits the original column headers (assuming they are structured as in the example) and then re-pivots the whole ending up with 4 columns (ProductNr, Size, Type [Sale or Stock] and Qty).
- Eqa33Dec 02, 2022Brass Contributor
Riny_van_Eekelen Thanks for your reply. Your example is correct. Once I have unpivoted the entire Table I end up with the example below. How or what do I split these 2 columns into, to extract inorder to end up as your example?
Thanks again
- Riny_van_EekelenDec 02, 2022Platinum Contributor
Eqa33 Could you upload the underlying data in stead?
- Eqa33Dec 03, 2022Brass ContributorI've fixed it by cahnging the column headers to have two consistent descriptions. For Example: 1) 6 SOH 2) 6 Sales ETC for every size. This way I can easily split the column. Thanks for your help