0 Antworten Neueste Antwort am May 25, 2016 1:09 AM von yantihadi

    Aggregate Filtered Portal Result

    yantihadi

      Hello,

       

      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).

       

      Screen Shot 2016-05-25 at 09.46.25.png

      This is the filter portal record calculation :

      Screen Shot 2016-05-25 at 09.45.48.png

       

      Does anyone has any idea how to "zeroing" the result?

       

      Thank You very much.

      Milka