I am working on sales data and want to convert OrderNumber and Date as row headers .
I have data in the form of transactions.
So,I am attaching the screenshot what I want to achieve.Please suggest how to do in Power Query Editor.
Nisha, I took an easy version where the step names do explain what is done:
#"Added Custom" => whenever there is an Ordernumber that number is taken
#"Filled Down" => the Ordernumber is filled down
#"Pivoted Column" => rotates the data in Column1 into column headings
#"Removed Columns" => takes out the Custom Column, as it is a not needed anymore
In any case you can copy the code and bring it to the advanced editor and then see step by step what is done. I think that will help you understand.