Forum Discussion
Unpivot Multiple Columns - Desktop
- 7 years ago
Hi bigdee008
Please check all the applied steps in Query Editor.The last step fill down can be used for other columns you need.
Regards,
Cherie
Thanks Greg.
So my situation is, simply put;
currently, i have Colums A ,B, C, D1, D2, D3, E1, E2, E3
I want to make the colums A, B, C, D, E. -- .i.e. all transaction data under D1 to D3 will go under D likewise for E1-E3 will go under E without losing their mapping.
Im so sorry If im not being clear enough :smileysad:
I went ahead and took a stab at this. Here's the final output of what I did:
Not entirely sure if that is what you are looking for ( or maybe more of a step in the correct direction). If I understand you correctly, the next step would be renaming the Current Head with the New Header?
- bigdee0087 years agoFrequent Visitor
Thanks a lot Nick and Greg, below screengrab shows the row 1 or my actual data set. Maybe that will shed more light on what im trying to accomplish.
I came across the EXACT same thing im trying to accomplish here in the link, however, im not sure how to modify the query utilized there:
- v-cherch-msft7 years agoMicrosoft Employee
Hi bigdee008
You may add condition column and index column.Then use 'Pivot column'.Attached the sample file for your reference.
Regards,
Cherie
- bigdee0087 years agoFrequent Visitor
Hello v-cherch-msft Thanks for the effort but to say that I understand what your are suggesting, i would be lying. Again i have to wwarn that I am a complete noob. Can you share a little bit more detail?