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.
Hi Aaron you can use a value of today() - 1.
Were are you trying to set this filter?
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.
Hi,
How are you setting the values for filter?
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CA Neeraj Kumar 1,922
André Arnaud de Cal... 835 Super User 2025 Season 2