Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

ALL function not working with report filter

Hi   I have a measure:  Measure = CALCULATE( DISTINCTCOUNT('Employee - date'[Empl_nr]); ALL('Calendar'[Date]); FILTER('Employee - date'; 'Employee - date'[DateID] = "Leave dat...
  • Anonymous's avatar
    Anonymous
    8 years ago

    The solution was to remove the filter function in the measure. 

     

    CALCULATE(
        DISTINCTCOUNT('Employee - date'[Empl_nr]);
            ALL('Calendar'[Date]);
            'Employee - date'[DateID] = "Leave date";
            'Employee - date'[Date] < TODAY() && 'Employee - date'[Date] <> BLANK() )