Hi,
I wish to countrows of a Sharepoint list with one day i.e. Now() 00:00:00 to Now() 23:59:59. However I am unable to get the formula correct. The field I am checking against is a sharepoint datetime field. Any advise?
CountRows(
Filter(
SP_LIST,
'Issue Date' >= DateTimeValue(Now(), "dd/mm/yyyy 00:00:00.fff"),
'Issue Date' <= DateTimeValue(Now(), "dd/mm/yyyy 23:59:59.fff")
)
Solved! Go to Solution.
@sbgoh - please give this a try. By default, DateDiff function uses "Days" to compare between 2 dates so it ignores times.
CountRows(
Filter(
SP_LIST,
DateDiff(
'Issue Date',
Today()
) = 0
)
)
Thanks
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
@sbgoh - please give this a try. By default, DateDiff function uses "Days" to compare between 2 dates so it ignores times.
CountRows(
Filter(
SP_LIST,
DateDiff(
'Issue Date',
Today()
) = 0
)
)
Thanks
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
User | Count |
---|---|
256 | |
103 | |
93 | |
47 | |
37 |