I have a SSRS field called dates. I calculated the difference between the last and beginning date using the following code:
=Code.MinutesToHoursMinutes(DateDiff(“n”,FIRST(Fields!Date.Value), LAST(Fields!Date.Value, “grp_Order”)))
The Code.MinutesToHoursMinutes is jsut a function that makes it Hours Minutes format.
How do I now average all of these?????
Average on what, given you are already using FIRST and LAST? And why only a scope for LAST too please?
Anyway, the average is on
DateDiff("n",FIRST(Fields!Date.Value), LAST(Fields!Date.Value, "grp_Order"))or other expression rather then theCode.MinutesToHoursMinutesfunction, no?So in the average text box:
… or something similar.