Forum Discussion

SamOvermars's avatar
SamOvermars
Helper I
4 years ago
Solved

Filtering rolling total based on value in another column

Hello,  I have this sample table  Box# Item Category Date Produced Truck2 Requested Truck3 Requested B100 A Autos 2/1/2021 4 0 B100 B Home 2/5/2021 1 1 B200 A2 Home 2/...
  • richbenmintz's avatar
    richbenmintz
    4 years ago

    Hi SamOvermars ,

     

    Maybe you should filter the data in the measure

    Measure = CALCULATE( COUNTROWS('table')
    ,FILTER( ALL( 'table'[Date Produced]), 'table'[Date Produced] <= MAX('table'[Date Produced]) && 'table'[Produced Truck2 Requested]<>0))