goldminedatadiva
Technical User
I am new to SSRS2005, I am a semi-pro in Crystal.I also use GoldMine as the data source.
I now have to create a report in SSRS and have done it pretty well. Looks just like my Crystal.
Here's the deal I need to filter the data of history to be on my report to represent the last full week of data by user.
In crystal I created a formula field that would give me my start date
if DayOfWeek (CurrentDate)=1 then CurrentDate-7 else
if DayOfWeek (CurrentDate)=2 then CurrentDate-8 else
if DayOfWeek (CurrentDate)=3 then CurrentDate-9 else
if DayOfWeek (CurrentDate)=4 then CurrentDate-10 else
if DayOfWeek (CurrentDate)=5 then CurrentDate-11 else
if DayOfWeek (CurrentDate)=6 then CurrentDate-12 else
if DayOfWeek (CurrentDate)=7 then CurrentDate-13
and then to get my enddate
{@LastWeekStartDate}+6
I would then filter the history date to be between those 2 dates.
Question how to I accomplish this now??
I'm not sure how to enter this in my where SQL statement.
Can anyone point me in the right direction??
Jill
I now have to create a report in SSRS and have done it pretty well. Looks just like my Crystal.
Here's the deal I need to filter the data of history to be on my report to represent the last full week of data by user.
In crystal I created a formula field that would give me my start date
if DayOfWeek (CurrentDate)=1 then CurrentDate-7 else
if DayOfWeek (CurrentDate)=2 then CurrentDate-8 else
if DayOfWeek (CurrentDate)=3 then CurrentDate-9 else
if DayOfWeek (CurrentDate)=4 then CurrentDate-10 else
if DayOfWeek (CurrentDate)=5 then CurrentDate-11 else
if DayOfWeek (CurrentDate)=6 then CurrentDate-12 else
if DayOfWeek (CurrentDate)=7 then CurrentDate-13
and then to get my enddate
{@LastWeekStartDate}+6
I would then filter the history date to be between those 2 dates.
Question how to I accomplish this now??
I'm not sure how to enter this in my where SQL statement.
Can anyone point me in the right direction??
Jill