Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

SSRS Parameters Date Format Issue

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi

I am fairly new to SSRS reporting for Dynamics CRM and i'm looking for help.

I have an issue with a report I am creating in Microsoft Sequel Server Reporting Services. I have a fetch xml created from Dynamics CRM (version 2016 update 1) which has been used in a dataset in SSRS. This has a date field in it called DOE. It is a calculated field that has a behaviour of Date Only. I have used this field to create two parameters, a start and end date. See screenshot below.

SSRS-Report-Problem.jpg

When i go to preview in SSRS it comes up with the error below.

SSRS-Report-Problem2.jpg             

I believe this error to be because of the date format. The DOE field seems to be coming through as MM/dd/yyyy rather than dd/MM/yyyy. I have set the report language to en-GB and i have tried numerous combinations of the FormatDateTime, CDate and Format functions on the parameter's but to no avail.

Can anyone help me fix this error? I'm going round and round in circles and not getting anywhere. 

Thanks

Colin

*This post is locked for comments

  • David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: SSRS Parameters Date Format Issue

    With a FetchXml query, the dates should be in the format yyyy-MM-dd - e.g. 2017-06-30

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,492 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