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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

How to Filter a Public View in Greater Than or Equal to Current Date

(2) ShareShare
ReportReport
Posted on by 10
We have a public view of a table which we want to filter the column ENDDATE on everything Greater than or Equal to Todays Date. But if one puts in the option "On or after" one can only select a fixed date.
 
What setting should one do to create a dynamic filter that allways selects everything with an enddate larger than or equal to todsays date?
I have the same question (0)
  • Adis Profile Picture
    6,784 Super User 2026 Season 1 on at
    Hi,
     
    Can you try to put in (Day(0))
     

    Kind regards, Adis

     

    If this helped, please mark it as "Verified" for others facing the same issue

    Keep in mind that it is possible to mark more than one answer as verified

  • MH-07050742-0 Profile Picture
    10 on at
    Thanks for the suggestion Adis.
    But I can't see how to put in (Day(0)).
    Whenever you choose the option "On or After" the only date-option is to choose a date in the calendar that pops up.
    This seems strange to me though. Usually one have the option of entering a "dynamic" date. But I cannot see how.
     
    Best regards,
    Mikael Helmers
  • Suggested answer
    Tom_Gioielli Profile Picture
    3,086 Super User 2026 Season 1 on at
    There are probably a few ways to do this, but I prefer the path of least resistance in a situation like this.
     
    • Add a new formula or calculdated field to your table. The field should be a boolean (TRUE/FALSE), with a formula like the following (my syntax might be a little off, but you should be able to get it with the prompts):
      • End Date > Today()
    • Use this new field in your system views.
      • End Date in Future = TRUE
    The formula fields are always calculated and up to date, so no backfill is necessary. There's also no separate code to deploy or maintain, and this uses all standard functionality in CRM without extension. It should meet your requirement and take less than an hour to do. Hope this approach helps. Good luck!
  • MH-07050742-0 Profile Picture
    10 on at
    Thanks  for your answer. We have done exactly that. But I posed the question because I thought that it really should be a simpler way of doing this.
     
    Best regards,
    Mikael Helmers
  • Suggested answer
    suva2381 Profile Picture
    57 on at
    Hello,
    You can ues a calculated field to check if your field is greaer than current date else use
    <condition attribute="createdon" operator="next-x-days" value="9999" />

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 91

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 78 Super User 2026 Season 1

#3
Martin Dráb Profile Picture

Martin Dráb 55 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans