Filter condition issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2025 10:17 PM
Hello Guys,
I'm working on a report where I need to filter records based on a variable called "Stop Date" within a Multi-Row Variable Set (MRVS). The requirement is to display records exactly 21 days before the Stop Date. For example, if the Stop Date is August 31, the record should appear in the report on August 10. I tried using relative date conditions like before, after, and on, but I haven’t been able to achieve this specific condition. Any help or suggestions would be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2025 11:22 PM
Have you tried "between 22 days before ... AND 20 days before ..."?
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2025 11:44 PM
I’ve already tried using relative conditions like before and after, but they didn’t work as expected. My goal is to retrieve records where the Stop Date falls exactly 21 days from the current date, so they can be displayed in the report. However, I’m unable to get the correct results using filter options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2025 11:47 PM
@Mark Manders could mind share any snips of this condition?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2025 11:39 PM
to get exact 21 days try the approach shared by @Mark Manders
If that doesn't work then try to use a script based approach
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader