Forum Discussion
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.
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.
3 Replies
- Jimmy801Community Champion
- emontfortRegular 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
- edhansCommunity 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.