Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Filtering on datetime value

Posted on by 2
Hi, 
 
I am trying to add a filter in a table using a timedate value. My goal is to get all records from before 3 days earlier than todays date. So in a date value I would use: ..t-3d however when I try to enter this on a datetime value I get an error. Any advice on how to fix this? 
 
I am in a user view only so I cannot change the value or value type in developer view. 
 
Thank you! 
Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,647 Super User 2024 Season 2 on at
    Filtering on datetime value
    Hi, hope the following can give you some hints.
     
     
    Thanks.
    ZHU
  • Ariba Mehdi Profile Picture
    Ariba Mehdi 160 on at
    Filtering on datetime value
    Hi there,

    Check Entering Combined Dates and Times section in the link below.
     
     
    Try these filters:

    t-3d 00:00
    t-3d 0
    t-3d time

    Hope it helps!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans