Repeated columns in export to excel

Dear all,
I ve gone thr. many forums for this problem bt cud nt find the rite soln.
I m trying to export the data from web dynpro table to excel sheet but when the numeric column is transported then that column gets repeated with alias '#agg'.
Please advice me wid some solution.
Thank u,
anuja

Hi,
in your code you use "exportCollectionButton" on the commandImageLink and "exportLink" in the code, so this sample doesn't make sense. Assuming its a typo in the code and in fact the notToShow() method calls
ActionEvent ae = new ActionEvent(exportCollectionButton);
ae.queue();
then the cricular reference is not a surpise because you queue an action on the command link itself, which then again queues the same action etc.
Frank

Similar Messages

  • Megge column when export to excel

    User is requesting Excel column header to split for infoobjects that are displaying key & text. See attachment showing the column header splitting.
    (Currently all key & text headers merge when exported into Excel apart from last object in row.

    Hi,
    this is not posibble. You can switch on the parameter REPEATED_TEXTS_DISPLAYED at the Analysis Item, but this only repeats the characteristic values, not the headers.
    The export to Excel shows the same as you see in the Analysis Item in Web.
    best regards
    ARNE

  • Paticular columns in "Export to Excel" functionality of PanelCollection

    Hi,
    I am using JDeveloper 11.1.1.5.0.
    I am rendering (render Property to false) some of the columns in the table before it is doing “export to excel” of PanelCollection functionality.
    The table should display that columns in the front end but while exporting it to excel it should hide that columns.
    I have done below coding for the same:
    In jsff file:-
    <af:panelCollection id="pc2" inlineStyle="background-color: #F9E1E0;" styleClass="AFStretchWidth">
    <f:facet name="toolbar">
    <af:toolbar id="t1">
    <af:commandImageLink text="Export to Excel" inlineStyle="width:95px;" id="cil4" actionListener="#{pageFlowScope.TimesheetService.notToShow
    binding="#{xxyyzzBean.exportCollectionButton}">
    <af:exportCollectionActionListener exportedId="t2"
    type="excelHTML"
    filename="empDtlsExport.xls"/>
    </af:commandImageLink>
    </af:toolbar>
    </f:facet>
    The t2 is the table in which 5 columns are present and which is having Binding with dataTable.
    The code in the Bean class:
    public String notToShow(ActionEvent actionEvent) {
    List<UIComponent> uicomps= dataTable.getChildren();
    for(int i=0;i<uicomps.size();i++)
    UIComponent myComp= uicomps.get(i);
    if(myComp.getId().equals("c1")) //the column which should be part of export to excel.
    myComp.setRendered(false);
    if(myComp.getId().equals("c6"))//the column which should be part of export to excel.
    myComp.setRendered(false);
    ActionEvent ae = new ActionEvent(exportLink);
    ae.queue();
    return null;
    But it goes in infinite loop.
    Could anybody help me out for the same?

    Hi,
    in your code you use "exportCollectionButton" on the commandImageLink and "exportLink" in the code, so this sample doesn't make sense. Assuming its a typo in the code and in fact the notToShow() method calls
    ActionEvent ae = new ActionEvent(exportCollectionButton);
    ae.queue();
    then the cricular reference is not a surpise because you queue an action on the command link itself, which then again queues the same action etc.
    Frank

  • How to hide a column while exporting to excel?

    Hello,
    My client requires a crystal report(CR 2011) with Columns A,B,C,D, and E. After exporting this report to Excel, the excel file should contain only columns A,C,and E. I need to hide/suppress columns B and D ONLY during exporting to excel/printing. Is is possible? If yes, how?
    Thanks,
    P

    Hi Prasanna,
    Here's what you can do:
    1) Create a prompt with Yes/No values (Yes means show all columns, No means show limited columns)
    2) Create multiple sections. E.g:
    Page header a would have column headers for all columns
    Details a would have all fields
    Page header b would have columns A, C and E
    Details b would have fields A, C and E
    Use a conditional suppression logic for each of those sections:
    Logic for Page Header a would look like this:
    {?Prompt} = 'No'
    Logic for Page Header b would be:
    {?Prompt} = 'Yes'
    -Abhilash

  • Lost collapsing columns when export to excel

    I have created a report with row grouping, works correctly working in Report Server Browser, 
    after export the report to excel, when clicking on the + in Excel only 1 or 2 of about 100 lines appears, or there is no + head to click for other groups
    a similar report works when exported to excel.
    any solution what to do or whats possibly wrong?
    thank you

    Hi Karl,
    According to your description that you are experiencing the issue when you export the report to excel, drill down report not display all the fields after expand the "+"and some group which should have "+" not shown, right?
    I have tested on my local environment and can’t reproduce the issue, the issue can be caused by the incorrect setting of the visibility and also can be related to the excel rendering.
    Microsoft Excel has limitations with how it manages hidden and displayed report items when they are exported. Groups, rows, and columns that contain report items that can be toggled are rendered as Excel outlines. Excel creates outlines that expand and collapse
    rows and columns across the entire row or column which can cause the collapse of report items that are not intended to be collapsed. In addition, Excel's outlining symbols can become cluttered with overlapping outlines. To address these issues, the following
    outlining rules are applied when using the Excel rendering extension:
    The report item in the top-left corner that can be toggled can continue to be toggled in Excel. Report items that can be toggled and share vertical or horizontal space with the report item that can be toggled in the top-left corner cannot be toggled in
    Excel.
    To determine whether a data region will be collapsible by rows or columns, the position of the report item that controls the toggling and the position of the report item that is toggled are determined. If the item controlling the toggling appears before
    the item to be toggled, the item is collapsible by rows. Otherwise, the item is collapsible by columns. If the item controlling the toggling appears beside and above the area to be toggled equally, the item is rendered with row collapsible by rows.
    To determine where the subtotals are placed in the rendered report, the rendering extension examines the first instance of a dynamic member. If a peer static member appears immediately above it, the dynamic member is assumed to be the subtotals. Outlines
    are set to indicate that this is summary data. If there are no static siblings of a dynamic member, the first instance of the instance is the subtotal.
    Due to an Excel limitation, outlines can be nested up to 7 levels only.
    Article about the show and hide in the excel for your reference:
    http://msdn.microsoft.com/en-us/library/dd255234.aspx
    Thanks for your understanding.
    Regards
    Vicky Liu

  • Merge columns when exporting to excel data only

    Hi,
    I have a report with headers in fowling format.
             Quantity         |
    first day   |  last day |
    When exporting to excel data only I want output in following format and want to merge upper header cells.
    Quantity
    First Day
    Last Day
    Please reply.Thanks.

    Hi,
    You can achieve this requirement Please follow the below document.
    How to WYSIWYG SAP Crystal Reports Export to XLS
    I hope this is the best formatting example suited for this requirement.
    Ludek thanks for preparing this document and sharing with us......This is the best formatting ex.
    Refer Link: Crystal Reports Crystal to Excel
    Thanks,
    DJ

  • Cannot Maintain Columns when exporting to Excel

    I am trying to export a device report from PDF to Excel however the columns all show up but the information is not placed accurately as to each column.

    You either need the Acrobat Forum or the ExportPDF Forum, where people who use the correct software can help. You CANNOT export using Reader alone.

  • Report columns not exported to excel if the column values are links(URLs)

    Hi Friends,
    I am facing this weird situation in my development environment at work using Apex 3.1.2.00.02.
    There is this report where I am using this huge query below to show the statistics of various file loads.
    SELECT f.load_date "Load Date",
           c.cust_name "Customer",
           a.file_id "File ID",
           f.rec_count "Total Records Processed",
           a.success "Successful Records",
           a.file_translation_errors "Customer Validation Errors",
           a.data_referential_errors "CS Validation Errors",
           a.no_activity_type_assigned "No Activity Type Assigned"
      FROM (SELECT   file_id,
                     NVL (MAX (success), 0) success,
                     NVL (MAX (file_translation_errors), 0) file_translation_errors,
                     NVL (MAX (data_referential_errors), 0) data_referential_errors,
                     NVL (MAX (no_activity_type_assigned), 0) no_activity_type_assigned
                FROM ((SELECT   file_id,
                                COUNT (*) success,
                                NULL file_translation_errors,
                                NULL data_referential_errors,
                                NULL no_activity_type_assigned
                           FROM ah_activity_external
                          WHERE status_id IN (43, 53)
                       GROUP BY file_id)
                      UNION
                      (SELECT   file_id,
                                NULL success,
                                COUNT (*) file_translation_errors,
                                NULL data_referential_errors,
                                NULL no_activity_type_assigned
                           FROM ah_cust_gis_arch
                          WHERE status_id IN (1, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 22, 23)
                       GROUP BY file_id)
                      UNION
                      (SELECT   file_id,
                                NULL success,
                                NULL file_translation_errors,
                                COUNT (*) data_referential_errors,
                                NULL no_activity_type_assigned
                           FROM ah_cust_gis_arch
                          WHERE status_id IN (24, 15, 16, 17, 18)
                       GROUP BY file_id)
                      UNION
                      (SELECT   file_id,
                                NULL success,
                                NULL file_translation_errors,
                                NULL data_referential_errors,
                                COUNT (*) no_activity_type_assigned
                           FROM ah_activity_internal
                          WHERE status_id IN (26, 31)
                       GROUP BY file_id))
               WHERE file_id IN (
                        SELECT file_id
                          FROM ah_chain_file
                         WHERE chain_id = :p2_customer
                           AND load_date BETWEEN :p2_load_start_date AND :p2_load_end_date)
            GROUP BY file_id) a JOIN ah_chain_file f ON (    a.file_id = f.file_id
                                                         AND f.file_default = 'N')
           JOIN ah_chain c ON (f.chain_id = c.chain_id)In the above query I have made the following columns as links which would redirect to other pages showing the respective records.
    1) "Successful Records"
    2) "Customer Validation Errors"
    3) "CS Validation Errors"
    4) "No Activity Type Assigned"
    Also I have enabled CSV output under "Report Export"
    Now the issue is when I downloaded this entire report into spreadsheet, only the non-url columns are being exported.
    I have even made sure that "Include In Export" under Column Attributes is set to YES.
    I tried to reproduce this issue using Dept & Emp tables but it seems to be working there.
    I don't know if it is the query which is causing this issue or a genuine Apex bug.
    Hope someone might have faced some thing like this earlier.
    Appreciate your thoughts on this.
    Thanks,
    Raj.

    Raj,
    see if this helps you:
    http://apex.oracle.com/pls/otn/f?p=31517:22
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Column Header in 2 rows in report file but export to excel data only displays only bottom row of column header

    Post Author: blofrese
    CA Forum: Exporting
    I am using Crystal XI and need to output several columns worth of data. Do to so I attempted to have the data presented in 2 rows within the same section.
    Example:Page Header b contains:  7 columns  5 columns
    Details a contains:  7 columns  5 columns
    When exporting to excel data only I only see the bottom 5 column header info and all the detail data in the correct order. How do I get all the Headers to display on the export file?
    Thank you for your time.

    Post Author: jw1234
    CA Forum: Exporting
    I have the same problem. Have you find the solution yet??
    I'm trying to export as Excel data only and have 2 page header band. It only display the 2nd band with the bottom label. None of the 1st band shows up. 
    Page Header a contains:Report TitleDate Range
    Page Header b contains:Dept Name4 columns
    Please help. Thanks!

  • Export to Excel Action in MS SSRS Report not exporting all data in Report

    Hi,
    I have developed a complex Report that has many expandable nodes in a table format. The report works fine.
    However, when I export the Report to Excel using Actions --> export to Excel, only the data in expanded nodes is included. The data in collapsed nodes is not included.
    I am looking for approach to include data in expanded nodes in Excel Export. The expanded data can be expanded in Excel.
    Any help in this regard will be appreciated.

    Hi Abhijit PS,
    Per my understanding you are experiencing the issue with the excel report which have add the drill down action, after export to excel only the expanded nodes included and the collapsed nodes is not shown, right?
    Generally, if we expand the nodes before export to excel then the excel will display the expanded details row and keep collapsed the details row which haven't expand, but we have the toggle "+","-" on the left of the Excel to help
    control the expand and collapse, when you click the "+" you can expand the collapsed notes to see the details rows.
    I have tested on my local environment with different version of SSRS and can always see the "+","-" as below:
    On the Top left corner you can find the "1","2", this help to control the "Collapse All" and "Expand All".
    If you can't see the "+","-" in the excel, the issue can be caused by the Excel version you are currently using, and also excel have limit support of this, please provide us the Excel version information and the SSRS version. You
    can reference to this similar thread:
    lost collapsing columns when export to excel
    Please try to export other drill down report to excel and check if they work fine, if they did, the issue can be caused by the drill down action you have added in this report is not correctly, if possible, please try to redesign the report.
    Article below about how to add  Expand/Collapse Action to an Item for your reference:
    http://msdn.microsoft.com/en-us/library/dd220405.aspx
    If your problem still exists, please feel free to ask
    Regards
    Vicky Liu

  • Formatting an Export to Excel

    Can anyone tell me how to force a column being exported to Excel to be interpreted by Excel as a text field? The column contains only digits, but has values such as '0000' where all four zeroes are to be considered significant.

    Thanks for your replies. Unfortunately, enclosing values in quotes won't work. To give you a simple example, imagine the source for an interactive report is:
    select '0180' account_code, 145.23 amount from dual;
    When the user views the interactive report, they should see 0180 for the account code and 145.23 for the amount...and they do. So far so good.
    Now, they click the tool widget and select to download the report to Excel. Here's where the wheels come off. I need the account code to be interpreted by Excel as text and amount to be interpreted as numeric. Anything I apply at the download-level, like enclosing the columns with single quotes will apply to both account_code and amount. I need a granular way to specify formatting on a field-by-field basis, only to be used when downloading the data.

  • Drill Down is not working after exporting to excel

    Hi,
    I have created a drill down report in SSRS . Its working perfect. But when I export it to excel, it is showing only the expanded nodes. But I want the same functionality which gives user to expand or collapse the nodes in Excel as well. Can any one please
    help me with this?

    Hi sil174sss,
    Per my understanding you are experiencing the issue with the excel report which have add the drill down action, after export to excel only the expanded nodes included and the collapsed nodes is not shown, right?
    Generally, if we expand the nodes before export to excel then the excel will display the expanded details row and keep collapsed the details row which haven't expand, but we have the toggle "+","-" on the left of the Excel to help
    control the expand and collapse, when you click the "+" you can expand the collapsed notes to see the details rows.
    I have tested on my local environment with different version of SSRS and can always see the "+","-" as below:
    On the Top left corner you can find the "1","2", this help to control the "Collapse All" and "Expand All".
    If you can't see the "+","-" in the excel, the issue can be caused by the Excel version you are currently using, and also excel have limit support of this, please provide us the Excel version information and the SSRS version. You
    can reference to this similar thread:
    lost collapsing columns when export to excel
    Please try to export other drill down report to excel and check if they work fine, if they did, the issue can be caused by the drill down action you have added in this report is not correctly, if possible, please try to redesign the report.
    Article below about how to add  Expand/Collapse Action to an Item for your reference:
    http://msdn.microsoft.com/en-us/library/dd220405.aspx
    If your problem still exists, please feel free to ask
    Regards
    Vicky Liu

  • Repeated column headers in Crosstab report when exported to Excel

    I have created a Cross tab report and wanted to export it in the format "Microsoft Excel(97-2003) (*.xls)", as the formatting of the report is lost in Excel  Data Only format. But when I export the data the column headers are repeated in the Excel. Is there any solution to avoid repeated column headers without losing the formatting of layout?

    I suppose one answer we should have before anything else;
    Does the export work from the CR designer?
    You may also want to see the following:
    How to WYSIWYG SAP Crystal Reports Export to XLS
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Matrix exporting to excel with empty columns, with page break option of "Between each instance of a group" selected.

    I am working with Report Builder 3.0 I am using a matrix to produce grouped data on separate worksheets in excel.
    The select is:
    SELECT ID, Measurement, Value, [Date] FROM Measurements_Report. (please ignore the underscores they are just for formatting) 
    The contents of the Measurements_Report table:
    ID__Measurement__Value__[Date]
    1___Hot_________33_____10/1/2014
    2___Hot_________44_____10/2/2014
    3___Cold_________55_____10/2/2014
    The matrix contains a single row group based on the field "measurement". The Measurement group has the page break option of "Between each instance of a group" selected. 
    There is a column group based on the field "Date". 
    When this is matrix is exported to excel on the first worksheet (Hot) there are three columns as shown below:
    ID__10/1/2014____10/2/2014___10/2/1014
    1___33
    2_______________44
    Notice the last column doesn't have a value.
    On the second worksheet (Cold) there are also three columns as shown below:
    ID__10/1/2014___10/2/2014___10/2/1014
    3__________________________55
    This time notice there is only one row and only a value in the last column.
    I only want the columns with data for that worksheet to show up. How can I remove these empty/duplicate columns? Hopefully there is a simple fix. Thanks ahead of time.

    With the following contents of the Measurements_Report table:
    ID__Measurement__Value__[Date]
    1___Hot_________33______10/1/2014
    2___Hot_________43______10/1/2014
    2___Hot_________44______10/2/2014
    3___Cold________55______10/2/2014
    Returns on the first tab (Hot):
    ID__10/1/2014____10/1/2014____10/2/2014
    1___33
    2_________________43
    2______________________________44
    In the excel worksheet it contains a separate column for each date with a value. Thanks again!
    Why is the same date repeating on multiple columns? Do you've the time part also returned from database?
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Exporting to Excel - How to control Column Heading?

    I'm working in SSRS 2012.  I have one tablix in the report body.  The tablix has both Row and Column Groups.
    When rendering in the web browser the report page breaks on a row group.  The Repeat Column Headers property is set to "True" so it shows the column headings from page to page.
    When rendering in Excel, I want one worksheet and not separate worksheets so the page break is disabled via the Page Break->Disabled property expression "=IIf(Globals!RenderFormat.Name="EXCELOPENXML", True, False)".
    This is all good but the Column Headings only show up once at the very top in the excel worksheet. 
    Is it possible to make the Column Headings repeat with each tablix data region as it is rendered vertically down the worksheet?
    OR is there a way from SSRS to set the Excel property "Rows to Repeat at top" to include Column Heading; by default the SSRS Report's header is repeated in Excel, but can the number of rows be changed to include the Column Heading?
    OR is there some other work around?
    Thanks for your help.
    Mark

    Thanks for the reply Wendy.
    You addressed my second question ... "is there a way from SSRS to set the Excel property "Rows to Repeat at top" to include Column Heading; by default the SSRS Report's header is repeated in Excel, but can it be changed to include the Column Heading? 
    Based on your response, the only way to freeze the column header in excel is to freeze or split panes AFTER export to excel.  well booo but I have to accept that I guess.
    My first question is what I really want to do, which is to physically repeat the Column Heading in the excel rendering. I included two pictures demonstrate what I want ...
    1) the standard SSRS report rendered in Excel ... Column Headings are shown once:
    Standard Export to Excel
                           Year
    Region
    Category
    2011
    2012
    2013
            Total
    East
    Sales
    10
    20
    30
    60
    Expenses
    8
    20
    10
    38
    Profit
    2
    0
    20
    22
    West
    Sales
    8
    16
    24
    48
    Expenses
    6
    16
    8
    30
    Profit
    2
    0
    16
    18
    2) what I'd like to see rendered in Excel ... which is to repeat the headers as you scroll down the page
    Desired Export to Excel
                          Year
    Region
    Category
    2011
    2012
    2013
            Total
    East
    Sales
    10
    20
    30
    60
    Expenses
    8
    20
    10
    38
    Profit
    2
    0
    20
    22
                           Year
    Region
    Category
    2011
    2012
    2013
            Total
    West
    Sales
    8
    16
    24
    48
    Expenses
    6
    16
    8
    30
    Profit
    2
    0
    16
    18
    Thanks again for your help,
    Mark

Maybe you are looking for

  • Ipod shuffle 2nd generation not recognized

    Just aquired an ipod 2nd generation shuffle at a yard sale. Plugged it in and I get flashing lights (sorry, color blind and I can't tell if they are green or orange). Shuffle is not recognized by computer with either disk mode or in iTunes. Downloade

  • Mail Password not rembered

    I have an imac since christmas and all of a sudden My mail icon in the dock starts bouncing . When i go to mail it says my pop server cannot identify my password and i need to type it in again . When i got my mac i had it remember the password .Every

  • Small caps in running heads - mixed case problem

    My running head is set to be small caps, and it picks up mixed-case text from the document. I want the head to be all 'lower case' small caps (or 'upper case', unless that really means ordinary caps) but can see no way to achieve this. Instead I get

  • No Output has been selected for priniting

    Hi, While tryig to issue output (RD00) to Printer/Screen, we getting the error No Output has been selected for priniting. Please advise where to maintain this? Regards, Edited by: STUDENT on Oct 2, 2008 7:20 PM

  • I purchased a movie in itunes.

    I want to watch it on apple tv. Homesharing is working, I can see my music library, but not the movie. What am I doing wrong?