Forum Discussion

MidtownMo's avatar
MidtownMo
Icon for Helper I rankHelper I
4 years ago

Dynamic Weeks Year Over Year Time Series Chart

I have weekly data for the past two years.  My goal is to show a time series chart that compares the last n weeks this year to the last n weeks last year.  A slicer determines the number of weeks.  The time series chart should be dynamic in that if the selection is 13 weeks, only the last 13 weeks this year and the same period last year are displayed on the chart.  I've been struggling with how to set this up.  I can chart weekly data, but not year over year and not linked to the slicer.  Thanks for your help.

4 Replies