5 Replies Latest reply: Apr 3, 2017 2:48 PM by Matheus Colares RSS

    Sum between date

    Matheus Colares

      Hi,

      I need sum a values between two data, but this date don't  have any relationship.

      In my dimension a have a package, and this package have a initial date and final date, so a have other table witch have a date and a values, i have tried did something like:

       

      SUM({$< AP_DATA_VMD = {">= $(=AP_AGEN_PAI_DTINI <=$(=AP_AGEN_PAI_DTINI"}>} AP_VAL_VMD)

       

      But not work...

       

       

      Capturar.JPG

      Someone can help me?