crelle
Technical User
- Apr 23, 2008
- 4
I have searched other postings but haven’t found one that helps my issue, so I decided to post.
Info:
Crystal Reports XI
Group 1 sorted by Assigned Date
Group 2 sorted by Client Reason Code
This formula gives me a total number of days between assigned date and payment date.
//DateDiff ("d", {DBR.DBR_LAST_CHG_DATE_O},{DBR.DBR_ASSIGN_DATE_O})
I have this formula in the report in the group footer 2 because report is grouped by monthly totals only. My detail section is suppressed with just detail totals in group footer 2 and monthly totals in group footer 1 and report totals in the report footer.
My issue:
I use this formula under a heading called “Total Lag”. In the Group Footer I would like to have an average of these totals. But every time I try to put in an average it gives me an average of all the details that the formula is pulling from.
Right now I just end up exporting it to Excel and putting in my own average formula from there. How can I get it to average just the totals showing?
Simplified Example:
Month/Year
Reason Code | Total Assigned | Amount | Total Lag
C – Collected 5 $200.00 11
R – Renewed 8 $250.00 23
Monthly Totals: 13 $450.00 17 <--Average
Info:
Crystal Reports XI
Group 1 sorted by Assigned Date
Group 2 sorted by Client Reason Code
This formula gives me a total number of days between assigned date and payment date.
//DateDiff ("d", {DBR.DBR_LAST_CHG_DATE_O},{DBR.DBR_ASSIGN_DATE_O})
I have this formula in the report in the group footer 2 because report is grouped by monthly totals only. My detail section is suppressed with just detail totals in group footer 2 and monthly totals in group footer 1 and report totals in the report footer.
My issue:
I use this formula under a heading called “Total Lag”. In the Group Footer I would like to have an average of these totals. But every time I try to put in an average it gives me an average of all the details that the formula is pulling from.
Right now I just end up exporting it to Excel and putting in my own average formula from there. How can I get it to average just the totals showing?
Simplified Example:
Month/Year
Reason Code | Total Assigned | Amount | Total Lag
C – Collected 5 $200.00 11
R – Renewed 8 $250.00 23
Monthly Totals: 13 $450.00 17 <--Average