What mean if you already use FIRST and LAST? And why, please, only for LAST?
In any case, the average value is on DateDiff("n",FIRST(Fields!Date.Value), LAST(Fields!Date.Value, "grp_Order"))or another expression, and not on the function Code.MinutesToHoursMinutes, no?
So, in the middle text box:
=Code.MinutesToHoursMinutes(Avg(`DateDiff("n",FIRST(Fields!Date.Value), LAST(Fields!Date.Value, "grp_Order"))
... or something similar.
source
share