Forum Discussion

AllanBerces's avatar
AllanBerces
Post Prodigy
6 months ago
Solved

Less than or equal Today

Hi good day, can anyone help me correct my calculated column. what i required is there should be no value beyond <= Today   **bleep** Earned = CALCULATE(     SUM('table'[Earned]),     FILTER(  ...
  • AllanBerces's avatar
    AllanBerces
    6 months ago

    Hi Ritaf1983 thank you very much for the reply i got the solution

    **bleep** Earned = CALCULATE(
        SUM('table'[Earned]),
        FILTER(
            ALL('table'),
            'table'[Task] = EARLIER('table'[Task]) &&
            'table'[Trade] = EARLIER('table'[Trade] ) &&
            'table'[PlanDate] = EARLIER('table'[PlanDate]) &&
             [PlanDate] <= TODAY()
      )
    )