I'm using version 9 with csv files.
CSV File
Start_Date End_Date Term_Start_Date Term_End_Date
01/08/2008 02/29/2008 01/07/2008 05/24/2008
I don't know if you need this information to help me but I found this formula for the week #. I'm using this formula because I need Start_date 01/08/2008 to be week# 1 because I want the week#s to start counting depending on the date in the Term_Start_Date and not the first day of the calendar year 01/01/2008:
if datepart("ww",{START DATE})-datepart("ww", {TERM START DATE}) < 0 then
datepart("ww",{START DATE})+ 53 - datepart("ww", {TERM START DATE})+1 else
datepart("ww",{START DATE})-datepart("ww", {TERM START DATE})+1
=====================
I need the report to list the week#s that are between the Start_Date and End_Date because I need to do some running totals per week.
Week#
1 (this is the week# for Start_date 01/08/2008)
2
3
4
5
6
7
8 (this is the week# for End_date 02/29/2008)
=====================
Thanks for your help
CSV File
Start_Date End_Date Term_Start_Date Term_End_Date
01/08/2008 02/29/2008 01/07/2008 05/24/2008
I don't know if you need this information to help me but I found this formula for the week #. I'm using this formula because I need Start_date 01/08/2008 to be week# 1 because I want the week#s to start counting depending on the date in the Term_Start_Date and not the first day of the calendar year 01/01/2008:
if datepart("ww",{START DATE})-datepart("ww", {TERM START DATE}) < 0 then
datepart("ww",{START DATE})+ 53 - datepart("ww", {TERM START DATE})+1 else
datepart("ww",{START DATE})-datepart("ww", {TERM START DATE})+1
=====================
I need the report to list the week#s that are between the Start_Date and End_Date because I need to do some running totals per week.
Week#
1 (this is the week# for Start_date 01/08/2008)
2
3
4
5
6
7
8 (this is the week# for End_date 02/29/2008)
=====================
Thanks for your help