This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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 as I understand that's the alternative to Countifs so my DAX function were as follows:
Would appreciate any help where I've gone wrong.
I like to also create new measures based on the hour, for example, 8am - 9am, etc.
Thanks in advance!
Cheers,
DT
Solved! Go to Solution.
@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 )
@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 )
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,
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 33 | |
| 26 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 66 | |
| 36 | |
| 32 | |
| 26 | |
| 23 |