Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

SSRS Date Filters

Posted on by 4,757

Hello all,

I have created an SSRS dataset that I need to filter the dates on base on the user's selection when they run the report from SL.

Using  =CDate(Code.RIPARAM("RepBegDate")) and =CDate(Code.RIPARAM("RepEndDate")) in the Between function, I cannot get the end date to be included in the report. 

In order to trick it, I changed the end date part of the filter to: =dateadd("d", 1, CDate(Code.RIPARAM("RepEndDate"))) to bump the date to the next day, and this works in the previewer.

When the report is run through SL however, the end date is still not included in the report - as if the DateAdd function is being ignored through ROISSRS.

For now I have the user running the report by selecting a date one day beyond the date of interest.

Has anyone else run across this and solved it?

*This post is locked for comments

  • Adam Leonard Profile Picture
    Adam Leonard 2,151 on at
    Re: SSRS Date Filters

    Hi Butch,

    what version are you on?

    what is the version of your ROISRS.exe

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans