Date issue when exporting data to Excel from SSRS report, where date is less than 1/1/1900

Hi,
I am using SSRS report to display the data from database. In that data, One of the column is DATE. when I am exporting to Excel all that dates are displaying fine except 1/1/1800 12:00 AM. Instead of 1/1/1800 12:00 AM it is displaying XXXXXXXXXXXXXX values.
Please help me to fix the issue.
Please let me know if more clarification required.
Thanks In advance.

Hello,
We can use Cstr() function to convert the Date type data to String data. Suppose we have a field named DateTime, please refer to the expression below:
=Cstr(Fields!DateTime.Value)
Then we can get a string type data. There is an article about SSRS expression, you can refer to it.
http://msdn.microsoft.com/en-us/library/ms157328.aspx
If you have any questions, please feel free to let me know.
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support

Similar Messages

  • Issue with exporting line to excel on Crystal Report 2013

    Hi all,
    I got the issue when exporting to Excel
    I would like to export to excel with line border in cells. But it seems there is limitation when using "line" object. If I use line, in excel file, there is nothing. Then I changed to use border cells. It's exported fine to excel, but I got another issue.
    Because data is so long, so I use "can growth" function. But if I use "can growth" function. I got issue when export to excel file like the picture I attach here.
    There are a lot of empty cells when wrapping text, how can we remove empty cells? And the line was drawn incorrectly.
    Thanks so much.

    I need a report with border cell and do not merge cell or blank row/cell after exporting to Excel. Most of them are fine (using border cell instead of line object). But I got issue when using "CanGrow" option to extend height of text object automatically.
    Below is detail.
    1. If the "CanGrow" option is false
    - In preview report, the field does not extend the height to show all data if it is over
    - Then, export to Excel by "Microsoft Excel (97-2003)"=> it shows exactly what I saw in previewing (data has been truncated automatically).
    - If export to Excel by "Microsoft Excel (97-2003) Data only" => it shows all data but the formatting of cell (border, width) is missing
    2. If the "CanGrow" option is true
    - In preview report, the field extends automatically if the field is too long but other fields still remain
    - Then, export to Excel
    I expect I can see all data with the correct border cell and do not merge cell in the preview and Excel (the cell may be wrap text or not if it is over the size but the data need to be kept instead of truncating)
    Is there any solution to meet it?
    Many thanks.

  • Regarding Issue when Exporting the Output of the Discoverer Report to Excel

    Hi,
    Can Any of you guys help me out in this issue. I am exporting the Discoverer Report Output to Excel sheet, I am able to export but while I am opening the excel sheet I am getting an error saying "UNABLE TO READ FILE".
    Please help me out in this Issue, it is so urgent.
    Thanks in Advance..
    Raja.

    Hi,
    Is there any way to export the output of scheduled Discoverer Reports to a particular server using Discoverer plus.Only by openning and exporting each report manually.
    is there any way to get the output name in a particular syntax. I want to concatenate date in the output name.Only by entering the filename when you do the export.
    The best way to do this is to use Discoverer Desktop and a third party scheduler. Then you can export all your reports automatically and define the filename used in the output. Search this forum for more information on third party schedulers.
    Rod West

  • Error when exporting to other format from crystal report

    Hi,
    I have been facing an error "Method 'IRCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.EditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version = 11.0.3300.0, Culture-neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overriden." while trying to export the crystal report to another format (e.g. pdf and excel) from an application from a software vendor.
    For your information, the machine OS that is running the application is Window 7. Before I did the installation of the application, it already has Visual Studio 2005 and Crystal Report XI Release 1 installed in the Window  7 system. After I had the above error, I went to search more information on the website and found out that I need to upgrade to Crystal Report XI Release 2 from the search results. However, after I upgraded from Crystal Report XI Release 1 to Crystal Report XI Release 2 and apply service pack 6, I still faced the same error when I tried to export. I even tried to uninstall Visual Studio 2005 and Crystal Report XI Release 2 but I'm still facing the same above error while exporting. I also tried to reinstall the application from software vendor but the same error come out.
    Your help is highly appreciated. Thanks!!
    Regards,
    Jennifer

    Good morning Jennifer
    When you say:
    " I also tried to reinstall the application from software vendor but the same error come out."
    I wonder if the app you are trying to install is from a 3rd party vendor / developer? If it is, installing CR XI r2 (11.5) will not resolve the issue for you. From the error, the app was compiled with CR XI R1 (11.0) and the only way to get that app to use CR XI r2 will be to recompile it with CR XI r2 assemblies. E.g.; you will have to have access to the source code and then recompile the app, ensuring that you are referencing CR XI r2 assemblies. Or am I missing something here?
    Ludek

  • Data missing when Exporting or print preview from ALV report

    Hi
    I have a alv report which is showing fine but when i try to export it to say excel sheet or do print preview some of the data is missing. Can anyone tell me how to fix this. or at least point to some document that discuss this problem.
    Here is my ALV CODE
    *  CALL_ALV
    form call_alv.
    *  v_repid = sy-repid.
      perform build_field_catalog using field_tab[].
      perform build_eventtab      using events[].
      perform comment_build       using header_alv[].
      perform build_sorttab       using gt_sort[].
    *  perform build_layout.
    *  v_variant-variant = '/TEST3'.
    * Call ABAP List Viewer
      call function 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_callback_program      = v_repid
          i_callback_user_command = ''
          i_structure_name        = 'REC'
          it_fieldcat             = field_tab[]
          it_special_groups       = gt_sp_group[]
          it_sort                 = gt_sort[]
          i_save                  = v_save
          is_variant              = v_variant
          it_events               = events[]
    *      is_layout               = gd_layout
        tables
          t_outtab                 = REC
        exceptions
          program_error            = 1
          others                   = 2.
    endform.
    From my Catalog this data is missing
    * BUILD_FIELD_CATALOG
    form build_field_catalog USING pt_fieldcat type
                                   slis_t_fieldcat_alv.
      data:  ls_fieldcat type slis_fieldcat_alv.
      clear: fieldcat, pt_fieldcat[].
      ls_fieldcat-tabname        =                'REC'.
      ls_fieldcat-edit           =                ' '.
        ls_fieldcat-fieldname      =                'PERNR'.
        ls_fieldcat-seltext_s      =                'Employee #     '.
        ls_fieldcat-seltext_m      =                'Employee #           '.
        ls_fieldcat-seltext_l      =                'Employee #           '.
        ls_fieldcat-datatype       =                'C'.
        append ls_fieldcat to pt_fieldcat.
    There r coupole that's missing
    But there couple that show's up like this one
        ls_fieldcat-fieldname      =                'STIME'.
        ls_fieldcat-seltext_s      =                'ST   '.
        ls_fieldcat-seltext_m      =                'St Tm     '.
        ls_fieldcat-seltext_l      =                'Start Time          '.
        ls_fieldcat-datatype       =                'C'.
        append ls_fieldcat to pt_fieldcat.
        ls_fieldcat-fieldname      =                'ETIME'.
        ls_fieldcat-seltext_s      =                'ET      '.
        ls_fieldcat-seltext_m      =                'Et Tm           '.
        ls_fieldcat-seltext_l      =                'End Time             '.
        append ls_fieldcat to pt_fieldcat.
    I always reward points.
    Thanks

    hi Anwarul,
    Try the following code:
    *  CALL_ALV
    form call_alv.
    *  v_repid = sy-repid.
      perform build_field_catalog using field_tab[].
      perform build_eventtab      using events[].
      perform comment_build       using header_alv[].
      perform build_sorttab       using gt_sort[].
    *  perform build_layout.
    *  v_variant-variant = '/TEST3'.
    * Call ABAP List Viewer
      call function 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_callback_program      = v_repid
          i_callback_user_command = ''
          i_structure_name        = 'REC'
          it_fieldcat             = field_tab[]
          it_special_groups       = gt_sp_group[]
          it_sort                 = gt_sort[]
          i_save                  = v_save
          is_variant              = v_variant
          it_events               = events[]
    *      is_layout               = gd_layout
        tables
          t_outtab                 = REC
        exceptions
          program_error            = 1
          others                   = 2.
    endform.
    form build_field_catalog USING pt_fieldcat type
                                   slis_t_fieldcat_alv.
    call function 'REUSE_ALV_FIELDCATALOG_MERGE'
    exporting
    I_PROGRAM_NAME  = sy-repid
    I_STRUCTURE_NAME = 'REC'
    changing
    CT_FIELDCAT          = pt_fieldcat.
    When you export to excel, the character fields and numeric columns gets re-arranged, but all the fields will be displayed in this case.
    hope this helps.

  • Missing data when exporting webi to excel (not 65536 limit problem)

    Hi guys
    I just meet a problem about webi that it will miss data when exporting webi to excel.
    It's not about 65536 limitation, as my webi report do some aggregration and limitation and never beyond that limitation.
    Also there are 2 tabs in my reports, if I split the 2 tabs into 2 separate reports and export them separately, then problem disappeared.
    Any ideas on this?

    Hello Claes
    according to:
    http://help.sap.com/erp2005_ehp_05/helpdata/en/c1/eda0f591ec12408b25e7a1b369ca45/frameset.htm
    Tools => Import and Export => Specifying the Sequence of the External Data Structure => External File Structure: Specification
    Table EST07 should be part of export file. I am not sure if the packing requirement ist part of EST07.
    Furthermore wirh ECC 6.0 EnhPAck3 some changes happend generally in the area of DG classification.
    E.g. Dynamic dangerous goods classification. I am not sure if these changes are "included" in some sense in the EH&S data download.
    With best regards
    C.B.
    PS: please check this link on the top:
    http://help.sap.com/erp2005_ehp_05/helpdata/en/c1/eda0f591ec12408b25e7a1b369ca45/frameset.htm
    Refer to "Table Assignment: Specifications"
    I believe packaging requirement is part of table EST0B but this is part of the download file.
    Edited by: Christoph Bergemann on Aug 27, 2011 7:12 PM
    Edited by: Christoph Bergemann on Aug 27, 2011 7:13 PM

  • How to download data in excel from web report in sap ?

    how to download data in excel from web report made  in sap abap?
    through tcode smw0.

    for exemple using
    MS_EXCEL_OLE_STANDARD_DAT

  • How do I get rid of memory issue when exporting in imovie

    How do I get rid of memory issue when exporting in imovie?

    Delete the content that is filling it up. Text messages, iMessages, SMS, emails, Safari Cache; essentially all data for all of the built in apps.

  • Can we update the data from SSRS report to any database ?

    Hi Team,
    Greetings !!!!
    Can we update the data from SSRS report to any database ?
    Thanks,
    Anand Gavle.

    Nope SSRS doesnt have write back options. Its just a reporting tool
    However one thing you can do is to link a webpage from SSRS report and do the changes through it
    SSRS has the ability to navigate to web page through which you can capture any data inputs from users and save it to your db.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • When exporting to a DVD from Final Cut Pro X, what settings are there to make sure you making the highest quality DVD possible?

    When exporting to a DVD from Final Cut Pro X, what settings are there to make sure you making the highest quality DVD possible?

    There have been a lot of recent reports of difficulties sharing to DVD, but haven't been hearing about unreadable disks. Posibly there was an encoding error. Or it could have been bad media (blank disk).
    Does it play in your Mac?
    What brand of disks are you using?
    Russ

  • Hi there! So I am using Lightroom 3 on a pc and I have ran into an issue when exporting images. The DPI and image size (in inches) that I am selecting during the export process. For example I just exported a collection and set the dpi to 180 and the size

    Hi there! So I am using Lightroom 3 on a pc and I have ran into an issue when exporting images. The DPI and image size (in inches) that I am selecting during the export process. For example I just exported a collection and set the dpi to 180 and the size to 7 inches on the long edge. My exported result is 457 dpi and sized at 3200x2134 pixels.. Any ideas on why this is happening and what I can do to correct it?

    The DPI setting in a digital image has no meaning at all. You need to learn how to calculate what you need in your exported image. The only measurement in a digital image that has any meaning is the number of pixels in each direction. It doesn't matter what you set that DPI to (actually it's PPI or pixels per inch). The image will have the same number of pixels regardless of the setting. If you need an image that is 5 x 7" (for example) at 200 PPI then you would want an image that measured:
    5 x 200 = 1000 pixels
    7 x 200 = 1400 pixels
    So you would need an image that is 1000 x 1400 pixels to have a 5 x 7" image at 200 PPI. The reason your exported image had such a high PPI setting is because you specified the number of inches you wanted the image to be. And there were enough pixels in the image that it calculated out to be that high PPI setting.
    I apologize, I don't explain this very well. But you need to learn to do the math to determine how large you really want your exported images to be.

  • Alignement issue when exporting to PDF

    Hello,
    I'm having some alignment issues when exporting an InDesign file to PDF.
    I have a couple of square pictures, touching eachother at the edges. These are aligned bang on in InDesign (the lines overlap), but when exporting to a PDF and viewing in there, it seems that some seem to jump up slightly.
    Is this just a display issue or a setting issue when exporting to PDF?
    Thanks
    Benny

    The detail is cropped too tight for me to tell how many photos are intersecting there. Is there a vertical intersection as well? If not, I think you're looking at a very slightly non-rectangular frame, if there is, then you might still be looking at a non-rectangular frame, or the frames are not perfectly aligned, which doesn't surprise me if you snapped to a guide -- I find that less than 100% reliable since CS6.
    Presuming that you've zoomed in to show us the problem, that's probably a single pixel misalignment and you'd be very hard pressed to see it in printed output without a loupe.
    You can check the bottom edge of the top photo, and the top edge of the bottom photo(s) for being out of horizontal by using the direct select tool to select the corner points and seeing if the y-coordinate is the same on both sides of the frame.
    My printer tell me to always overlap frames, rather than butting them, for trapping, for what that's worth, but I don't always do what he says, and I've never had a problem.

  • Limit the number of record to download to excel from a report

    I am just wondering if there is a way to limit the number of rows that I want to download to excel from a report in apex, right now when I click download to excel it downloads all records. If I am displaying 15 records on report page I want the ability to download only those records.
    Any help with that would be appreciated.
    Kind Regards,
    Sofia.

    Sofia,
    The same report query runs for downloading the data into excel, I don't think you can limit the number of records in download.
    You can achieve it using custom code, like on click of download excel redirect to another page and then restrict the data as per your need, or you can use the custom procedure to download the limited data.
    Denes' utility to download into excel.
    http://htmldb.oracle.com/pls/otn/f?p=31517:108:1476564836494581:::RP,::
    Regards,
    Manish

  • ESS Information errors if end date is less than system date

    Hi to all,
    I have create an WD Java aplication to create new entries in infotype 0023.
    First problem: At the beginning I couldn't create new entries if start date is less than system date. To solve this problem I used:
    The transaction SPRO to go to Personnel Management>Employee Self Service>Service Specific Setting-->Change Default Start Date
    In HRXSS_PER_BEGDA I changed BEGDA to 01.01.1900 in the DEFAULT_DATE method and i solved the first problem.
    Now I need solved the second problem - we couldn't create new entries if end date is less than system date.
    In this method DEFAULT_DATE I can't change ENDDA because ENDDA isn't a parameter in this method.
    MOLGA (Importing)
    PERNR (Importing)
    INFTY (Importing)
    SUBTY (Importing, optional)
    BEGDA (Changing)
    Can anybody helps me about this second problem?
    Thank a lot for your help.

    I am creating an aplication WD Java:
    - This application uses a R3 Function Module HRXSS_PER_MODIFY_PNNNN
    - This FM uses the method CALL METHOD xss_adapter->modify
    - This Method uses IF_HRPA_PERNR_INFTY_XSS~MODIFY
    - This method uses:
      IF buffer_entry-container->a_pskey-endda < user_today.
        msg-msgid = 'PG'.
        msg-msgty = 'E'.
        msg-msgno = '016'.
        msg-msgv1 = 'Data valid only for past is not'(009).
        msg-msgv2 = 'allowed;'(010).
        msg-msgv3 = 'correct'(011).
        msg-msgv4 = 'end date to a date today or future date.'(012).
        CALL METHOD message_list->if_hrpa_message_handler~add_message
          EXPORTING
            message = msg
            cause   = xss_adapter_generic.
      ENDIF.
    How can I change the value user_today?
    This value is a parameter for the method GET_INSTANCE in CL_HRPA_PERNR_INFTY_XSS, but I don't know when this method is called.
    Can you help me?

  • HELP! LOCKED IN LIMBO W/MIGRATION ASSISTANT DATA TRANSFER:  "LESS THAN 1 MINUTE LEFT" FOR 10 HOURS

    This has happened before. I'm migrating from one Macbook Pro to another Mac (though it doesn't seem to matter if it's a MBP or other Apple powerbook) and it gets almost to the end of the bar with the blue water line a sliver away from finishing but it stays at "less than one minute remaining" as it finishes up migrating settings. Going on 10 hours now.
    Have read other discussions from 2009 to earlier this month w/this issue.Some say it's a Lion OS issue that's been acknowledged as a flaw. Others had the same issue w/Leopard & say to ignore the remaining minute & leave it alone until it finishes which could take a day or more. I'm moving almost 300 GB of data. I've done this before and had same issue and interrupted it. I manually migrated over applications, documents, etc, one by one and it still took overnight just to do some of the data, so this is  not an inordinate amount of time.
    If it's going to complete, I'll let it run. If it's not, I'd like to know so I don't waste more time trying... Thanks in advance for assistance w/this conundrum.

    I'm not a big fan of migration assistant, because this happens all the time.  I'd give it a few more hours, then say "I give up."
    Why didn't you use the Setup Assistant on the target mac using the firewire disk mode?  I don't have absolute evidence, but you rarely see issues with people who use the Setup Assistant with a newly installed OSX (or brand new Mac). 

Maybe you are looking for