Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Time field on SSRS Report Expression display

Posted on by 205

I'm creating Query Base Report in my "Time Attendance Table" have Time field when i put this field on sssrs report it will show like this "HH:mm:ss".  I need to show time on my report please help me how can i show time on my report.

*This post is locked for comments

  • MNarmeen Profile Picture
    MNarmeen 1,846 on at
    RE: Time field on SSRS Report Expression display

    Thankyou Zia, your solution works perfectly !

  • Suggested answer
    Ziauddin Zia Profile Picture
    Ziauddin Zia 40 on at
    RE: Time field on SSRS Report Expression display

    Hi Deepak,

    try this in report expression:

    =Format(TimeSerial(0,0,Fields!starttime.Value),"hh:mm:ss tt") - 12 hour clock

    =Format(TimeSerial(0,0,Fields!starttime.Value),"HH:mm:ss tt") - 24 hour clock

  • DEEPAKNONU Profile Picture
    DEEPAKNONU 205 on at
    RE: Time field on SSRS Report Expression display

    Thanks for your reply but it's not working i already do all this things.

  • Suggested answer
    Hajish Profile Picture
    Hajish 460 on at
    RE: Time field on SSRS Report Expression display

    Please try the below steps.

    1.Deploy the report

    2.Restart report service.

    3.Refresh AOT elements and refresh report server from AX.

    4.Restore the report.

  • DEEPAKNONU Profile Picture
    DEEPAKNONU 205 on at
    RE: Time field on SSRS Report Expression display

    Can u tell me please how can i send my .xpo file because in my rich formatting attachment link option is disable.

  • Sohaib Cheema Profile Picture
    Sohaib Cheema 46,610 User Group Leader on at
    RE: Time field on SSRS Report Expression display

    we really want to help you, but you know sometimes its hard, if we don't have access to machine.

    Kindly provide us 3 things

    1) your XPO with all objects

    2) your PDF file of report with current and desired output

    3) Your exact application version of AX.

  • DEEPAKNONU Profile Picture
    DEEPAKNONU 205 on at
    RE: Time field on SSRS Report Expression display

    I too much appreciated your response thanks but i tried normally drag drop is also not give any result so tried to write job for seen the value of field when i write the job then i notice that the field give me the integer value so i need to do first change "time2str" In display method then may be i use this method as a field. I tried this thing but can u please suggest me how can i use "time2str" in method against "RsEntryTime" field  for display.

  • DEEPAKNONU Profile Picture
    DEEPAKNONU 205 on at
    RE: Time field on SSRS Report Expression display

    Thanks Sir but i tried this thing before 3hours but nothing happen same result

  • Sohaib Cheema Profile Picture
    Sohaib Cheema 46,610 User Group Leader on at
    RE: Time field on SSRS Report Expression display

    Part 1:

    First simply drag your field on design of SSRS. don't do anything with formatting. Let it display data,, which is coming from AX.

    Part 2:

    Now, when you are sure that data is coming on Report, and it just matter of formatting left, right click your textbox and click textbox properties. Finally click on Number and change formatting there.

  • DEEPAKNONU Profile Picture
    DEEPAKNONU 205 on at
    RE: Time field on SSRS Report Expression display

    Thanks for response actually Mr. sohaib that field which call in my table is in AOT> System Document> Types > timeofday . This EDT call in my table field and field name "rsEnteryTime" and it's EDT is "timeOfDay". How can i use this if i use as normal it's shows nothing.

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans