Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Filter Dates to Only See Yesterday's Values

Posted on by 10

I am trying to create a report that pulls information from the previous day.  How do I create this filter?  I know T=today.  I was hoping T-1 would equal yesterday but it does not.  

  • Aaron Butler23 Profile Picture
    Aaron Butler23 10 on at
    RE: Filter Dates to Only See Yesterday's Values

    This worked.  Thank you so much

  • vinitgoyal2005 Profile Picture
    vinitgoyal2005 6,330 on at
    RE: Filter Dates to Only See Yesterday's Values

    Hi,

    How are you setting the values for filter?

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,198 Most Valuable Professional on at
    RE: Filter Dates to Only See Yesterday's Values

    You can use (day(-1)) as a query range.

    It's coming from SysQueryRangeUtil class, where you can see other useful methods and event add your own (if you can access code, of course).

    Some documentation can be found under Advanced filtering and query syntax.

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: Filter Dates to Only See Yesterday's Values

    Hi Aaron you can use a value of today() - 1.

    Were are you trying to set this filter?

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

Product updates

Dynamics 365 release plans