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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Filter Dates to Only See Yesterday's Values

(0) ShareShare
ReportReport
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.  

I have the same question (0)
  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

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

    Were are you trying to set this filter?

  • Verified answer
    Martin Dráb Profile Picture
    237,976 Most Valuable Professional on at

    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.

  • vinitgoyal2005 Profile Picture
    6,332 on at

    Hi,

    How are you setting the values for filter?

  • Aaron Butler23 Profile Picture
    10 on at

    This worked.  Thank you so much

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans