Forum Discussion
emontfort
6 years agoRegular Visitor
Unpivot for item and date
I need to take a query that looks like tab 1, and make it look like tab 2. I have tried to unpivot, but am still not getting exactly what is needed.
- 6 years ago
Select the Supplier Name, UOM, and Item Number columns, then on the Transform ribbon of Power Query, select the little dropdown next to "Unpivot Columns" and then select "Unpivot Other Columns."
Then rename the Attribute column to Date, and the Values column to whatever that is, Sales, Cost, Units, whatever.
Jimmy801
Community Champion
6 years agoemontfort
6 years agoRegular Visitor
Sorry - I orignally attached them - not sure what happened!
So I want to change from Table 1 to Table 2
TABLE 1
TABLE 2
- edhans6 years ago
Community Champion
Select the Supplier Name, UOM, and Item Number columns, then on the Transform ribbon of Power Query, select the little dropdown next to "Unpivot Columns" and then select "Unpivot Other Columns."
Then rename the Attribute column to Date, and the Values column to whatever that is, Sales, Cost, Units, whatever.