Forum Discussion

Stu11's avatar
Stu11
Frequent Visitor
4 years ago
Solved

Measure using current filters

Hi,   Wondering if you can help. In the table below you can see those ticket made in Oct (filtered) and the date they were closed.   Can you help me with another column? This will only sum those ...
  • johnt75's avatar
    4 years ago

    You could try a measure like

    Num solved = 
    var maxDate = MAX('Date'[Date])
    var minDate = MIN('Date'[Date])
    return CALCULATE( COUNTROWS('Table'),
       REMOVEFILTERS('Date'),
       'Table'[Solved date] >= minDate && 'Table'[Solved date] <= maxDate
    )