Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Count by Date Range - Looking for Help

Hi Everyone,    I have encountered yet another problem that I'm looking to solve.    I have a table with employee names that also contain their start-dates and roll-off dates. Example:   Name ...
  • AlB's avatar
    AlB
    6 years ago

     

    Measure =
    VAR CutOffDate_ =
        MAX ( CalendarTable[Date] )
    RETURN
        COUNTROWS ( FILTER ( Table1, Table1[Roll-Off Date] > CutOffDate_  || ISBLANK( Table1[Roll-Off Date] ) ) )

     

    Please mark the question solved when done and consider giving kudos if posts are helpful.

    Cheers  Datanaut