Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics RMS (Archived)

Custom Report Date Filter

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
I am trying to modify a date filter to default from Today: Begin Filter FieldName = "ViewTenders.Date" FilterOp = reportfilteropBetween FilterLoLim = "" FilterHilim = "" End Filter (displays current date) to Yesterday (a selection in the date picker dropdown): Begin Filter FieldName = "ViewTenders.Date" FilterOp = reportfilteropBetween FilterLoLim = "" FilterHilim = "" End Filter However, this places the text Yesterday in the date field and the report will not run (type mismatch error). I know that the keyword for This Month is MonthStart, does anyone know what the keyword for Yesterday? Thanks, Ted Archer CIO Fairvilla Megastore

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Custom Report Date Filter

    Sorry, apparently text inside of quotes does not display. The values I was able to find are <YearStart>, <MonthStart> and <Today>. To use current month as the default for a report set the FilterHiLim to <MonthStart> and the FilterLoStart to <Today>.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Custom Report Date Filter
    I was able to find the following are examples of valid values for the FilterLoLim and FilterHiLim properties in the Customization Guide and examining other reports: "" "" "". For Last Month you set the FilterHiLim to "" and FilterLoLim to "".
  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Custom Report Date Filter

    I've wondered the same thing about setting the default date filter on a report to Last Month. I tried using LastMonthStart and LastMonthEnd but it didn't work.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans