Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

How to display date instead of dateTime when printing a report?

(1) ShareShare
ReportReport
Posted on by 509

Good day everyone,

I'm developing a report that uses an RDP with two date parameters.

when the date parameters are displayed in the report using auto design, they are formatted as dateTime instead of date, which can mislead the user and confuse them.

Screenshot-sales-responsible-date-format-issue.jpg

Is there a way to remove the time portion of the date?

  • atajjo Profile Picture
    atajjo 509 on at
    RE: How to display date instead of dateTime when printing a report?

    Thank you Will, I'll do just that.

  • Verified answer
    WillWU Profile Picture
    WillWU 22,352 on at
    RE: How to display date instead of dateTime when printing a report?

    Hi Abdullah T

    Yes, an auto design works well for that quick report solution when you need to mainly get some data out fast and the users aren't too picky on how it looks.  

    In your case , you need to use precision design.

  • atajjo Profile Picture
    atajjo 509 on at
    RE: How to display date instead of dateTime when printing a report?

    I'm using an auto design though, and if I understand correctly, I have to create a precision design to add this formatting, right?

  • Verified answer
    WillWU Profile Picture
    WillWU 22,352 on at
    RE: How to display date instead of dateTime when printing a report?

    Hi Abdullah T,

    Please use following expression in the textbox of the date field.

    =format(Parameters!Dataset1_AsPerDate.Value,"dd/MM/yyyy")

    Refer to:

    daxture.blogspot.com/.../format-date-in-ssrs-report.html

  • Verified answer
    Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: How to display date instead of dateTime when printing a report?

    Hi Abdullah,

    Have you tried to format the values using this?

    =format(Parameters!Dataset1_FromDate.Value,"dd/MM/yyyy")

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,661 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,379 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans