power pivot rearranging

nil71

New Member
Joined
Feb 21, 2018
Messages
1
hi everyone,
i have a power pivot that contains different metrics for every SKU in different dates,
like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]
date[/TD]
[TD]SKU ID[/TD]
[TD]color [/TD]
[TD]forsalestock[/TD]
[/TR]
[TR]
[TD]2/8/2018[/TD]
[TD]293774[/TD]
[TD]red [/TD]
[TD]15[/TD]
[/TR]
[TR]
[TD]2/15/2018[/TD]
[TD]293774[/TD]
[TD]orange[/TD]
[TD]10[/TD]
[/TR]
</tbody>[/TABLE]


i want to rearrange this power pivot to reference specific column for every SKU in a week,for example trying to compare the forsalestock of each SKU week over week. like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]SKU ID[/TD]
[TD]color(week 2/8/2018)[/TD]
[TD]color(week 2/15/2018)[/TD]
[TD]forsalestock(week 2/8/2018)[/TD]
[TD]forsalestock(week 2/15/2018)[/TD]
[/TR]
[TR]
[TD]293774[/TD]
[TD]red[/TD]
[TD]orange[/TD]
[TD]15[/TD]
[TD]10[/TD]
[/TR]
</tbody>[/TABLE]

how can i do that? Is there any formula?
thanks in advance.
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

Forum statistics

Threads
1,223,909
Messages
6,175,314
Members
452,634
Latest member
cpostell

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top