Forum Discussion

danny_tym's avatar
danny_tym
Frequent Visitor
4 years ago
Solved

Countifs to filter if date = today()

Hi guys,        Need your help with a newbie coming across from Excel.        I need DAX to count if the entries were based on today.        I've tried using Calculate along with Filter a...
  • amitchandak's avatar
    4 years ago

    danny_tym , Create a date without timestamp

     

    example

    Date = [datetime].date
    or
    Date = date(year([datetime]),month([datetime]),day([datetime]))

     

    Then it can work with today

     

    or change filter like

    filter(log, log[datetimeconerter] >=Today && log[datetimeconerter]  <today() +1 )