Forum Discussion
danny_tym
4 years agoFrequent Visitor
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...
- 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 )
amitchandak
Super User
4 years agodanny_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 )
danny_tym
4 years agoFrequent Visitor
Thanks for the prompt response.
I added the extra column 'Date' through Power Query.
Edit the formula and it turn up with this error:
Any help would be appreciated.
Thanks,