Hi everyone,
Im trying to design a report where the financial month ends on the last Friday of every month and the financial year on the last Friday of November.
So for example March 2004 ended on 26th March 2004 and the Financial Year ended on 28 November 2003.
I need to calculate Month to Date (i.e. from 26/03 till today) and Year to Date (i.e. from 28/11/03 till today) figures
The formulas currently in use to set the month and year start are:
MTD - {?Run Date} - (Day({?Run Date}) - 1);
YTD - Date(Year(DateAdd("m", -6, {?Run Date})),7,1)
How do I change these so the month starts after the last friday of every month and the year starts after the last friday of november?
Thanks,
John
Im trying to design a report where the financial month ends on the last Friday of every month and the financial year on the last Friday of November.
So for example March 2004 ended on 26th March 2004 and the Financial Year ended on 28 November 2003.
I need to calculate Month to Date (i.e. from 26/03 till today) and Year to Date (i.e. from 28/11/03 till today) figures
The formulas currently in use to set the month and year start are:
MTD - {?Run Date} - (Day({?Run Date}) - 1);
YTD - Date(Year(DateAdd("m", -6, {?Run Date})),7,1)
How do I change these so the month starts after the last friday of every month and the year starts after the last friday of november?
Thanks,
John