Create n weeks trend table/chart based on single date selection in slicer

jwendorf

New Member
Joined
Feb 25, 2009
Messages
7
I have set of data in powerpivot which can be aggregated by a 'WeekOf' date (where the weeks start on Sundays), e.g. when I create a pivot table or a chart I use the WeekOf date as the row or axis. I also have a slicer based on the WeekOf date.

What I want to do is create pivotables and pivotcharts that show an 8 week trend based on a single slicer selection.

For example, if I select 12/29/2013 in the WeekOf slicer, i would like the corresponding tables and charts to show data for 12/29 and the previous 8 weeks:

  • 12/29
  • 12/22
  • 12/15
  • 12/08
  • 12/01
  • 11/17
  • 11/10

Any suggestions on how I could achieve this? Or even some good terminology I could search on?
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Watch MrExcel Video

Forum statistics

Threads
1,130,112
Messages
5,640,165
Members
417,128
Latest member
Xianter

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
Top