web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How to apply 'greater than today's date' filter on AOT View.

(4) ShareShare
ReportReport
Posted on by 10
Hi Techies,
 
We are working on one data export requirement, a new data entity is created with view as a datasource, while exporting data from the entity we want to apply a filter on View/datasource where ToDate is greater than today's date or null.
 
Things we tried are -
Applied range in data source of view as below.
 
>= getdate()
>= t
 
The same view we are using in SQL as well. If anyone has worked on similar requirement please guide on this.
Any response is appreciated.
Thanks in advance!
I have the same question (0)
  • Verified answer
    Mohamed Amine Mahmoudi Profile Picture
    26,348 Super User 2025 Season 2 on at
    How to apply 'greater than today's date' filter on AOT View.
    Hi,
     
    try use this method in the range value "GreaterThanUtcNow ()"
     
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Verified answer
    Layan Jwei Profile Picture
    8,049 Super User 2025 Season 2 on at
    How to apply 'greater than today's date' filter on AOT View.
    Hi,
     
    As Mohamed said, you can use greaterThanUtcNow()
     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • Verified answer
    Hana Xue Profile Picture
    Microsoft Employee on at
    How to apply 'greater than today's date' filter on AOT View.
    Hi,
    This issue has been discussed before on the forum and as mentioned below you can use greaterThanUtcNow() or you can simply take a look at the old thread. https://www.dynamicsuser.net/t/how-to-filter-greater-than-today-datetime-reocrds-in-aot-query/63713

    Best Regards,
    Hana
  • Layan Jwei Profile Picture
    8,049 Super User 2025 Season 2 on at
    How to apply 'greater than today's date' filter on AOT View.
    Hi Community member,
     
    Is your question answered? If yes, then please verify the answers that helped
  • Suggested answer
    T徐-03070231-0 Profile Picture
    2 on at
    How to apply 'greater than today's date' filter on AOT View.
    how  can I get the sessiondate  in the view
  • Martin Dráb Profile Picture
    236,570 Most Valuable Professional on at
    How to apply 'greater than today's date' filter on AOT View.
    @T徐-03070231-0 your question doesn't belong here, because the thread is about a different topic. Please create a new thread and explain your problem in detail threre.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,771

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 806 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 542 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans