Export to excel. Subreport blank rows generated.

Dear Forum
Hoping you can help with a query.
I have a report that has 3 subreports all are supressed if blank and not shown during preview or print.
When i try and export the report to excel the returning result is a series of blank rows in excel.
I know the subreports are the root cause of the issue as when each of them is supressed my blank row count reduces accordingly.
Is this a know issue or is there indeed a resolution.
Thank you forum for your assisatnce as ever
With Kind Regards
Paul Marks

Hi Paul,
Sorry to be a downer but It has been my experience that the more complex a report is the more problems I have when exporting especially to excel.
Below is a link to the export limitations of Crystal 10...I haven't found a newer version for XI or 2008.  This document doesn't give an exact explanation for each limitation but sometimes it's enough to know that there is an issue related to exporting your report.  In your case there are limitations related to exporting suppressed items to an excel spreadsheet.
[Crystal Reports 10 - Export Limitations|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/d0b01060-3a62-2b10-73a1-d03a6c634914]
I don't know how much data you have but my suggestion is to try exporting your report to a csv file instead because suppression is not as much a problem when exporting to that format.  CSV files can be opened directly by Excel you are just missing any nice formatting.
If you need a nicely formatted spreadsheet, create a standalone spreadsheet formatted the way you want and either paste in the data from your exported Crystal report or link to the data in the csv file.  I have found this type of conversion takes a little longer to set up but is much easier to maintain. 
If you do decide to export to csv format i must also suggest that the report be formatted for export (this also helps with data dumps to excel):
1. Start rows of data at the left most margin and align any subsequent rows with this position.
2. Make sure the next column (to the right) always starts where the last column ends.  This ensures no blank columns get inserted between your data.  Subsequent rows should have columns aligned in size and count to ensure proper layout.
3. Make sure all objects in a row have the exact same height and use the "fit to section" command to prevent extra rows from being generated.
4. Suppress all sections that do not contain any objects needed in your export.
5. If your data isn't too wide (less than 256 bytes but it can be more if the printer driver used can print at a high dpi setting) consider using a formula to create each row of data i.e. properly padded for space delimited or with the commas where you want them for csv etc).  This also gives you more control on how each data type is formatted.
Sorry to be so long winded but I hope this helps with your exporting.
Marshall

Similar Messages

  • Export in Excel- always first row blank

    hi,
    if i export in excel file always i am getting first row as blank with line. how can i eliminate this row.

    Hi Kayadhu,
    Generally, if we design a report and the top of report body remain extra blank space, it will result in the extra blank row after export the report to Excel. Please see the screenshot below:
    In your case, please try to reduce the blank space in the report body. If the issue still persists, please post more information about your report design structure to us.
    Regards,
    Bin Long
    Bin Long
    TechNet Community Support

  • Exporting to Excel, subreport column alignment problem

    Post Author: rmayer
    CA Forum: Exporting
    I have a Crystal Report (v10) that contains a subreport in the Details section.  The subreport contains only a single field in its Details section and all other sections are suppressed.  When I run the report and export to Excel, for each main report detail having multiple rows returned in its subreport, the first subreport row will display the field where it is expected, but for every subsequent row the field will be shifted one column to the right.  What is even more peculiar is that if I preview the subreport data by itself and do the export, the fields do line up in the same Excel column.
    Any suggestions will be appreciated.
    - Robert -

    Post Author: satyanat
    CA Forum: Exporting
    Gayatry,
    Did you try the following Export options?
    1. Export Page Headers and Footers: On Each Page
    2. Create Page Breaks for Each Page
    When exported with these options the page Header and Footer section was exported as it was in the report.
    Hope this helps you.
    Regards,
    Natarajan

  • Export to csv with blank row error apex 4.0.2

    In a tabular form when I use the export to csv, it return a csv file and the data is fine but there is a blank row between the header and the first row of data.
    It happens in the 4.0.2 release. I used the 3.1.2 release before and it worked perfect.
    It is a bug? any idea to fix it? I want to avoid the manual export because it's a complex query with agrupation levels.
    Thank you!

    An easy solution to formatting columns as text in Excel exporting (even handles leading zeros properly). In the report SQL do the following code:
    For Interactive reports:
    decode(:REQUEST,'CSV','="'||your_column||'"',your_column) your_column_name,
    For Standard reports:
    decode(INSTR(NVL(:REQUEST,'FOO'),'FLOW_EXCEL'),0,your_column,'="'||your_column||'"') your_column_name,
    Interactive report example
    select address1,
    address2,
    city,
    state,
    decode(:REQUEST,'CSV','="'||zip_code||'"',zip_code) zipcode
    from your_table
    Standard report example
    select address1,
    address2,
    city,
    state,
    decode(INSTR(NVL(:REQUEST,'FOO'),'FLOW_EXCEL'),0,zip_code,'="'||zip_code||'"') zipcode
    from your_table
    This will work without modification if users modify and save an interactive report as well.

  • SSIS Excel destination blank row

    I have create an SSIS package in VS 2005 (because we are still in the stone age) where I have three Excel exports using the Excel Destination. One works fine but the other two have a blank first row each time (the second row of the sheet). I have reviewed
    other threads but cannot seem to find a solution.
    I do not have extra data in my templates. I even tried creating new ones but that didn't help. Pressing <CTRL><END> takes me the the first line where the header is.
    There was one that looked promising but the selected answer referred to dead Microsoft forum link (forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2915256&SiteID=1).
    Any suggestions to fix this?
    Thanks for any help.

    I think it may be because of some unprintable characters present at the end of the excel header row.did you try explicitly setting a range to start from 2nd row for them and see if blank row disappears
    http://sqlserversolutions.blogspot.in/2009/02/selecting-excel-range-in-ssis.html
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • SSRS 2008 R2 - Missing Data when Exporting to Excel or CSV (Row Count is 500)

    Hey Folks,
    When exporting SSRS 2008 R2 report  to an csv or excel file not all the rows are being exported. Any suggestions on why this is occurring. The number of rows is less then 500 and it seems to be a pretty straight forward export. Any help is
    greatly appreciated.  Inherited this and not sure if this would be configuration issues or something else. It is happening on a number of reports.
    Thanks.

    Hi Humbly,
    According to your description, when you export report into CSV or Excel format, some rows are missing.
    In your scenario, since you are missing data “rows” in your exported file, we are guessing if you have any visibility setting like toggle which hide those records. It’s possible that you have set toggle or visibility in your report. After exporting
    Excel/CSV, some data might not appear properly. In SSRS 2008 R2, it has reported this kind of issue about data missing after exporting. However, those scenarios are not exactly same as your issue. It mostly turns out be conflict between data and “layout render”
    and related to DataElementOutput property. DataElementOutput property controls export behavior, it indicates which report item data should appear in Excel/CSV render. For more information, please refer to this article: Reporting Services:
    Why aren’t all my report columns exporting to CSV and/or XML?.
    As we tested in our environment(SSRS 2008 R2), no matter what we export into CSV or Excel, we get same results as in BIDS . So I would like to know your report design structure. If possible, please provide some screenshots about results in BIDS and Excel/CSV
    render extension results. It may help us find out the root cause of your issue. Thank you.
    Best regards,
    Qiuyun Yu

  • Numbers Export to Excel adds 1 Row and 1 Column to the Freeze Header/Columns.

    Exporting a Numbers file to Excel, that has 1 Freeze Column and 5 Freeze Headers, somehow adds an additional Row & Column when opened in Excel.
    Thoughts?

    I found the answer to this question with help from SAP Support.
    In the Cross-Tab Expert, Customize Style tab, click "_Column Totals on Top_".
    Then, the Excel Data Only report will show the row titles Top-aligned for the row group.

  • Export to Excel with colored row

    Hi,
    I'm developing a alv report in web dynpro. The first  requirement is to put traffic lights based on some criteria. This part has been done.
    2nd requirement is to export this alv report into excel sheet. If traffic light of the row is 'RED' then in excel sheet it will be colored 'RED', if row is green excel sheet row will be 'GREEN' etc.
    Thanks in advance for providing  me solution of above problem  I'm new to dynpro.
    Thanks in advance,
    Abhijit.

    Hi ,
        If you need cell formatting you must use the Excel XML format. Build a spreadsheet with the features you want and then choose save as XML from within Excel. Then look at the resulting file with a text editor to see how the XML format is built. This is what you need to duplicate in ABAP using Concatenations, the iXML library or XSLTs.
       OR you can go through this link and check if it can help you:
      link : http://www.****************/Tutorials/WebDynproABAP/Excel/Index.htm

  • Export in excel without displaying all rows

    Hello,
    I use OBIEE version 10.1.3.4.1.
    I have a report in "table view" with thousands of rows.
    I would like to export a report to Excel, without displaying the data. Is possible to set the execution as an export in Excel?
    Alternatively I enabled the "Page Control" by 50 "row per page." Is possible to export to excel all the row of the report without to see them all?
    Thanks
    Sara
    Edited by: Sara C. on 25-gen-2010 6.23

    Hi Sara,
    you have 2 options:
    1. use ibots to deliver your report in the form of an excel. This would avoid the generation of report.
    2. Use "download to excel" option. This option downloads the entire content and NOT the ones displayed on the screen.
    Hope this helps.
    cheers,
    Vineeth

  • How do I get PDF forms to export to excel in the desired order?

    How do I get PDF forms to export to excel in the desired order?
    Here is what I have done:
    As taken from another post:
    Choose Forms > Manage Form Data > Merge Data Files Into Spreadsheet.
    In the Export Data From Multiple Forms dialog box, click Add Files.
    In the Select file Containing Form Data dialog box, select a file format option in File Of Type option (Acrobat Form Data Files or All Files). Then locate the form files that you want to merge into the spreadsheet, select them, and click Select.
    Repeat the previous step to add form data files that are in other locations, as needed.
    Click Export. Then select a folder and filename for the spreadsheet, and click Save.
    In the Export Progress dialog box, click either View File Now to open the spreadsheet file or Close Dialog to return to Acrobat."
         The problem now is that Adobe populates Excel in ABC order of the form, based off of the name of each box in the form. For example, if my form has three text boxes, named A, B, and C, then Adobe will export to Excel as such:
    Row 1 =         A                              B                              C
    Row 2 =         data entered             data entered              data entered
    where 'data entered' is whatever the user typed into the form boxes. But what if I want a different order for exporting, and I don't want to rename my text boxes? What if I want:
    Row 1 =         C                              B                              A
    Row 2 =         data entered             data entered              data entered   ?
    Is there a way to do this in acrobat x or xi?
    Thanks

    I don't have time to test right now, but there was a change with Acrobat 10 where it exports according to the tab order, which you may have to set manually, so give that a shot. Otherwise, you'll have to process the file after it's exported if you need the fields in a particular order. This wouldn't be too difficult to do with something like a VBS or JS script in Windows.

  • Excel export contains a blank row for the Report Header

    Hi,
    I am getting a blank row as the first row in my SSRS report when exported to excel. I have already taken care of following things,
    1. I have hidden all of the Page Header items using Globals
    2. The position of Report Body Tablix is 0, that means there is no space between report header and Report Body.
    I have developed this Report in SSRS 2012, please let me know if any more details are required. I think even after hiding Header Items, excel creates a placeholder for page header. I can't remove header from my reports as it is needed to be published in
    pdf.
    Regards
    Mohit

    Hi Mohit,
    According to your description, you are getting a blank row as the first row in your excel report when you export the report to excel, you have hidden all the items in the Page Header by using the Globals, right?
    This blank row is for the page header, although you have hidden all the items in it, but it will still display when export report to excel. Because we can’t hidden the page Header directly. Normally, we can hidden all the items in the page Header, So in
    the design phase we can also see the blank area above the report body when preview.
    We have an alternative way by add the “SimplePageHeaders” setting in “RSReportserver.config” file, after configuration the page Header will not display in the first row of the worksheet but is rendered to the Excel page header. In Reporting Services, the
    “SimplePageHeaders” default value is “FALSE” and it indicates that the page header is rendered to the first row of the worksheet. In order to display the page header in the Header/Footer section of Excel, we need to set the “SimplePageHeaders” setting value
    to “TRUE”. I did a test on my local machine and here are my steps:
    Navigate to RSReportserver.config file: <drive:> Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\RSReportserver.config.
    Backup the RSReportserver.config file before modify it, open the RSReportserver.config file with Notepad format.
    Set the Excel rendering extension code like this:
    <Render>
    <Extension Name="EXCELOPENXML" Type="Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.ExcelOpenXmlRenderer,Microsoft.ReportingServices.ExcelRendering">
    <Configuration>
    <DeviceInfo>
    <SimplePageHeaders>TRUE</SimplePageHeaders>
    </DeviceInfo>
    </Configuration>
    </Extension>
    </Render>
      4.  Save the RSReportserver.config file.
    Note: Changing the rendering extension parameters only affects rendering operations on the Report Server.
    When I access to Report Manager and export the report(includes a page header) to Excel format, the blank row will disappear now.
    Similar thread for your reference:
    SimplePageHeader property in SSRS 2008 not working
    Removing 2 top blank rows when export to excel in ssrs 2008
    r2 report
    You can find more detail in these articles about the page header and page footer:
    Exporting to Microsoft Excel (Report Builder and SSRS)
    If you still have any question, please feel free to ask.
    Regards
    Vicky Liu

  • A single table line generating more than 2 lines when exporting to Excel

    Guys,
    I do have an interactive report on apex with a varchar2(4000) column that is generating more than 1 excel row per table row. In another words:
    Table my_report
    file_id number,
    file_comment varchar2(4000)
    Query on report
    select file_id, file_comment from my_report
    It generates 5 lines on report screen but, when I export to excel using csv or xls format, it generates more than 5 lines. On file_comments field on excel, some of them has a break in 2 or 3 lines. Seems to me a line feed problem with CHR(13) or chr(10).
    Anyone as a solution or a similar problem like this? Any idea?
    Andre.

    you could try to remove the linebreaks in the select.
    select file_id, file_comment, replace(replace(file_comment,CHR(13)),CHR(10)) file_comment_nobreak
    from my_reportThen depending on the type of report you could show one column, but export the other column in the excel/csv file. Not sure if this works with an interactive report too.

  • Exporting to Excel when subreports exist

    Hi SAP,
    I have a main report along with 2 subreports.  When I export to Excel the rows and columns are all thrown off.  One is on top of the other, etc.  What can I do to export the records that will display exactly as they appear when viewing from Crystal?
    Thanks in advance,
    Z

    I tried your recommendation and it didn't do much as far as correcting the export records.  I was able to get the records aligned after shrinking each section in the subreports and main report.  I also noticed that if a field overlaps with another field in the main report or within the subreports it causes the export to be disordered.  Once I was able to align each field without having them overlap I was able to get the records to export normally.
    Thanks for your recommendation nevertheless.
    Z

  • How to Avoid Empty Space in Excel Export , while using SubReport.

    We have a sceneraio where we have parent child relationship and we are using the SubReport Concept to map the child data by taking input parameter from Parent Report.
    The RPL/HTMl viewer , PDF works fine, but  when we export data into excel empty rows are comming.
    Could  you please suggest how can we avoid empty space in Excel Export.
    we have kept the cell (width and height ) same as SubReport Width and height.

    Hi SubhadipRoy,
    According to your description, did you use separate subreport to display the data rather than insert subreport in tablix?
    Based on my test, if we are use separate subreport to display the data in the report, when we export to Excel we will get an additional row. We can adjust the minimum gap between tablix and subreport to work around the issue. In SSRS 2012, if we paste tablix
    and subreport without empty space in report design, it will not display the additional row. You can try to put the tablix and subreport in a rectangle to resolve the issue. 
    Reference:
    http://stackoverflow.com/questions/20367960/remove-additional-column-from-exporting-to-excel-from-ssrs
    There is a screenshot for your reference:
    If the issue is persist, please elaborate the issue for further investigation.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • 2013 Excel WFservlet.xls check exports to Excel and opens blank Windows 7 Ent

    HI All,
    I am trying to work through an issue involving an online check through Accounts payable downloading to a blank Excel document. If the user saves the file it opens as it should but if she chooses to open it, it opens blank. If I go to View>Arrange
    All> leave the Tile selected (basically do nothing but click OK) and click OK it opens. I have done an Office repair with no luck and also a complete uninstall then used the office removal tool then reinstalled with reboots in-between and still no change.
    This computer is on a domain and I can get the check to export to excel without any issues on another computer so I know it's not her roaming profile. I can get it to work on my machine and others as me, admin and her but on her machine no luck. I have opened
    IE settings on her machine and a working machine and matched the settings exactly as well as Excel settings. I have started Excel in safe mode and exported but no luck. I have disabled all add ins in excel and added the site to compatibility settings and trusted
    sites in IE. I reset the browser and deleted history with all options selected.
    In the beginning I was receiving the error "The file format and extension of ".xls" don't match. The file could be corrupted or unsafe. Unless you trust its source, don't open it. Do you want to open it anyway?" I checked the following
    In Windows Explorer Tools > Folder Options > View tab > made sure "Hide extensions for known file types" was unchecked.
    I also did
    Open your Registry (Start -> Run -> regedit.exe)
    Navigate to HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\OFFICE\12.0\EXCEL\SECURITY
    Right click in the right window and choose New -> DWORD
    Type “ExtensionHardening” as the name (without the quotes)
    Verify that the data has the value “0″
    No luck.
    If I log into the computer as local admin or my domain account it still opens blank.

    HI All,
    I am trying to work through an issue involving an online check through Accounts payable downloading to a blank Excel document. If the user saves the file it opens as it should but if she chooses to open it, it opens blank. If I go to View>Arrange
    All> leave the Tile selected (basically do nothing but click OK) and click OK it opens. I have done an Office repair with no luck and also a complete uninstall then used the office removal tool then reinstalled with reboots in-between and still no change.
    This computer is on a domain and I can get the check to export to excel without any issues on another computer so I know it's not her roaming profile. I can get it to work on my machine and others as me, admin and her but on her machine no luck. I have opened
    IE settings on her machine and a working machine and matched the settings exactly as well as Excel settings. I have started Excel in safe mode and exported but no luck. I have disabled all add ins in excel and added the site to compatibility settings and trusted
    sites in IE. I reset the browser and deleted history with all options selected.
    In the beginning I was receiving the error "The file format and extension of ".xls" don't match. The file could be corrupted or unsafe. Unless you trust its source, don't open it. Do you want to open it anyway?" I checked the following
    In Windows Explorer Tools > Folder Options > View tab > made sure "Hide extensions for known file types" was unchecked.
    I also did
    Open your Registry (Start -> Run -> regedit.exe)
    Navigate to HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\OFFICE\12.0\EXCEL\SECURITY
    Right click in the right window and choose New -> DWORD
    Type “ExtensionHardening” as the name (without the quotes)
    Verify that the data has the value “0″
    No luck.
    If I log into the computer as local admin or my domain account it still opens blank.
    The file will open in Chrome but I am wondering if that's because Chrome downloads the file as if I choose to save the file opens fine. I am going to run the OffCAT will post my findings.
    Thank you!

Maybe you are looking for

  • Downloading spreadsheet mime types via weblogic 6.1

              I'm having a problem with a jsp file -- within the weblogic v6.1           server environment that wasn't occuring when using v4.5.1.           The jsp page in question is supposed to handle downloading a           spreadsheet file via a 'p

  • Has anyone tried to connect to a bose gsx 321

    has anyone tried to connect to a bose gsx 321

  • Re-installing OSX on new iMac

    we recently purchased a iMac, G5 w/ intel chip .... we then fired a designer who has obviously lost the original disks that came with the machine. our delema is that we cannot install software, etc because we have no access to the password that was s

  • Digital Camera Raw

    A software update on my MacBook 10.5.8 indicates that I need a Digital Camera Raw Compatibility 2.7 update, but everytime I try, I get an error.  Any suggestions. Thanks

  • Itunes Match vs. synching

    Hi again, I subscribed to itunes Match and I'm really trying to get my head around it and understand it.  I have a Mac computer and an ipad.  Is there a difference between using itunes Match and just synching my device to have the same songs as the c