Hi Query Editor experts
I’ve got a tricky situation where I need to transform a Purchase Order (PO) dataset from columns to rows accordingly. Each order has multiple lines but presented in column format for multiple parameters such as Date, Quantity and Amount. Below is a snip of the sample data:
At the first glance I thought this was a simple Unpivot step for each measure. However, this thought appears incorrect as after the second round of unpivot for the second measure it duplicates all the lines.
Could you please help on this issue? Attached is the sample file.
This is great! Thanks for your help! I have rarely used “pivot” function before hence it did not automatically click in my mind. Got too used to the other way around “unpivot” thing. Thanks so much for your help!