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

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

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,167,698
Messages
5,855,233
Members
431,714
Latest member
SA_Carpenter

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