Hi,
I am trying to bring back the min and max dates based on a calendar with the parameters of date-1 and Date-365 to bring back the week numbers.
I need the min and max values to calculate automatiocally. The calendar date would contain a field with date in and a week number as an example below.
WeekNbr Date
2 02/01/2016
2 03/01/2016
2 04/01/2016
2 05/01/2016
2 06/01/2016
2 07/01/2016
2 08/01/2016
3 09/01/2016
I am after trying to bring back the week number based on a rolling 52 week period.So if i looked today it would show the most recent week and 52 weeks back as the minweek.
Thanks
Martin