has anyone have experience with summing up filtered portal result?
I did with this below script, however, when there is no result in the portal (based on filter parameters - in this case "range of date") ,
the total result in filter sick leave still shows the sum of the total record for an employee (6 days), instead of 0 (zero day), as per below screen shot :
(This is the modification of Personnel Records starter solutions, for Time Off calculation).
This is the filter portal record calculation :
Does anyone has any idea how to "zeroing" the result?
Thank You very much.