Forum Discussion

JLambs20's avatar
JLambs20
Icon for Helper III rankHelper III
4 years ago
Solved

Count of Items within a specified date range

Hello,   Recently I got help from some great community members with a measure that shows all data points inside of a selected date range (but not using a start or end date in the filter visual).  T...
  • amitchandak's avatar
    4 years ago

    JLambs20 , Try new measure like

     

    countx(Filter('SD Time Off', 'SD Time Off'[Time Off Start Date] <= MAX ( 'All Dates'[fulldate] ) && (
    ISBLANK ( 'SD Time Off'[Time Off End Date] )
    || 'SD Time Off'[Time Off End Date] >= MIN ( 'All Dates'[fulldate] ))
    ), 'SD Time Off'[Time Off Start Date])