I have a calculation field in a report with an IIF statement at the end of each group level, (grouping by date)
=IIf([STAGE_STAT_CD]="PROC",([CountOfREF_NUM]/[TOTAL]),"0.00%")
This is only working if the last record in the group meets the criteria (status = "PROC")
If any other status is listed as the last record the value is the default of 0.00%. I can't just sort the group ascending or descending because the status PROC isn't the first or last alphabetically.
Does anyone know how to make this work no matter where the status PROC is listed in the grouping?