Is there a way i can sum the value of a formula for a group.
I need to sum a formula which is working out the Date Difference in weeks. So ive created a formula which collects the minimum and maximum dates and then used the DateDiff function to work out the number of weeks between the dates. However i now need to grand total the number of weeks for the whole report but it seems i cant do this as ive already done a summary for the min and max dates.
Is there a way round this.
so far i have these formulas
@maxdate (this gets me the max date for a particular group)
Maximum ({sessions.sesdate},{course.csesid})
@mindate (this gets me the min date for a particular group)
Minimum ({sessions.sesdate},{course.csesid})
@differenceweeks
DateDiff ("w",{@mindate} ,{@maxdate})
i now need to sum the @differenceweeks formula for the whole report
any help would be grateful
I need to sum a formula which is working out the Date Difference in weeks. So ive created a formula which collects the minimum and maximum dates and then used the DateDiff function to work out the number of weeks between the dates. However i now need to grand total the number of weeks for the whole report but it seems i cant do this as ive already done a summary for the min and max dates.
Is there a way round this.
so far i have these formulas
@maxdate (this gets me the max date for a particular group)
Maximum ({sessions.sesdate},{course.csesid})
@mindate (this gets me the min date for a particular group)
Minimum ({sessions.sesdate},{course.csesid})
@differenceweeks
DateDiff ("w",{@mindate} ,{@maxdate})
i now need to sum the @differenceweeks formula for the whole report
any help would be grateful