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 :
Microsoft Dynamics CRM (Archived)

Advanced Filter using the Date criteria - Before Today

(0) ShareShare
ReportReport
Posted on by 195

In the Advanced Filter there are many options when using a date field.  I want to pull all Leads that are created before TODAY.  There is the On or Before and then you have to specify a specific date.  I do not want a "hard coded" date, but always to show everything created before TODAY.  Is there a way to do this in the Advanced Filter??

*This post is locked for comments

I have the same question (0)
  • Vile Andreas Rantala Profile Picture
    1,257 on at
    RE: Advanced Filter using the Date criteria - Before Today

    Hi,

    I think you should use in your advanced find, Creation Date = Last X Hours or Last X days with that you could see the leads created before Today.

    I hope this helps.

    Regards :)

  • CindiRella Profile Picture
    195 on at
    RE: Advanced Filter using the Date criteria - Before Today

    Unfortunately that still includes today's date.  

  • Vile Andreas Rantala Profile Picture
    1,257 on at
    RE: Advanced Filter using the Date criteria - Before Today

    Ok, then use Creation Date = LastDay.

  • CindiRella Profile Picture
    195 on at
    RE: Advanced Filter using the Date criteria - Before Today

    Again that will not work because it includes TODAY's data.  I don't want that included in the data that is returned.

  • Verified answer
    Guido Preite Profile Picture
    54,084 Moderator on at
    RE: Advanced Filter using the Date criteria - Before Today

    A filter "before today" is not available for DateTime fields.

    You need to specify the date or create a boolean field to mark today's leads (and run daily an update when they get old) in order to perform your query.

  • Aileen Gusni Profile Picture
    44,524 on at
    RE: Advanced Filter using the Date criteria - Before Today

    Hi Cindi,

    Out of the box view in CRM does not have this filter criteria.

    You should create a custom view, see this:

    social.microsoft.com/.../how-to-create-a-custom-view-showing-older-than-x-days-ms-dynamics

    THank you.

  • CindiRella Profile Picture
    195 on at
    RE: Advanced Filter using the Date criteria - Before Today

    Thanks, that was what I though.  Would be nice if I could just type BEFORE TODAY.  

  • Suggested answer
    MaJo Profile Picture
    395 on at
    RE: Advanced Filter using the Date criteria - Before Today

    What I would do is select "Last x Days" filter and enter value something like "365".

    This would bring all the items in last 365 days for that date field.

    Mathew

  • lawix10 Profile Picture
    334 on at
    RE: Advanced Filter using the Date criteria - Before Today

    Wow almost 3 years after and Microsoft did not fix this issue permanently,

    Am trying to create a view for past members.

    So the date should be before today.

    please how do I do that.

    Regards.

  • Community Member Profile Picture
    on at
    RE: Advanced Filter using the Date criteria - Before Today

    This may help you.

    msdn.microsoft.com/.../hh179519(v=nav.90).aspx

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#2
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans