Downloading interactive report to CSV

Hi There,
We are on apex 3.1.2.00.02. I have two questions...
1. The interactive reports have a - (dash) in the columns with null. So when we download to excel the dash is still there... the user wants null. I can not find where it's been defined to put this dash in the report. Can someone help me figure out how to make this truly null?
2. When we download the report in a csv format, it automatically opens in Excel (which we want); the tab name in Excel is something like... .csv]daily_bank_definition(1) If we try to rename the tab we get an Excel error about invalid naming format even if the new name is "valid". Is there a way to have the tabname set to what you want? Has anyone else seen this issue and have you been able to get around it?
Thanks in advance for your help.
Kristina

Hi Kristina,
To remove the dash from null columns you need to go into the Report Attributes and under Pagination you will see 'Show Null Values as '. Just remove the - from there.
In order to change the tab name to what you want you will have to save the csv file first and remove the [1] from the name. You should then be able to change it.
Regards
Paul

Similar Messages

  • Selecting columns when downloading interactive reports

    Hello,
    We have a requirement set by Oracle's Corporate Security Architecture Review Board to prevent some columns from displaying when downloading interactive reports to csv format. They should display on the report but not on the csv output.
    I vaguely recall that this was possible when interactive reports were first released but I can't find a way to do it in ApEx 4.1? When I go to Print Attributes > Report Columns, I can see the list of columns and they are all set to Show in report = Yes but there is no way to set it to No. It seems that all the columns selected to display on the Interactive Report are automatically included in the Download.
    Our applications are hosted on apex.oraclecorp.com, I can provide further details if required.
    Thank you for advising if there is a way of excluding columns when downloading.
    Kind regards,
    Isabelle Fallon

    I don't have an answer (other than intercepting the download and writing my own custom handler...ugh!). I just wanted to chime in and say that, I, too, think this is an issue. You should be able to specify, at the column level, what is and isn't available for download. This is provide for Hide, Sort, Filter etc...why not for download???
    This causes more problems when considered in light of another APEX (in my opinion) Bug. When you mark a column as Hidden, it isn't "hidden", i.e. display=none. Rather, it is not sent at all to the page. There are case all of the time wherein one does not wish to display the column but, nonetheless, it is needed to perform some other processing, e.g. conditional logic, pass to linked pages, etc. In these cases, you have to use jQuery (or JavaScript) to hide them. Stinks. Moreover, even though they truly+ are hidden after this change, they are included in the download.
    -Joe

  • Download Interactive Report fails with ORA-06502

    I am using:-
    Apex version 4.2.1.00.08
    Oracle DB 11.2
    Apex Listener
    I.E. 8
    I have created an interactive report and when I download the report to CSV I get ORA-06502.  My report contains over 100 columns some of which are blobs so I am hitting the old 32k limit.  Does anyone have a work round for this problem. The ability to download data is a key feature of my application and this really is a show stopper form me.
    Regards...

    The queries are not executed in parallel but in serial. So the total execution time configured will be for all the Select statements in the report combined.
    As for your second question, since the execution is not parallel hence BO will not initiate any error message until the total execution time exceeds the defined limit. This could be during the execution of first select statement or the second.
    Try executing the queries directly in database one by one and see how much time they are taking.
    - Noman Jaffery

  • Download from Interactive Report to csv is not working

    Hi there,
    when I try to create a download form my interactive report I get an empty csv/pdf.
    I just checked with other report pages where the download functionality is working - but the settings seem the same.
    In the interactive report properties I've set the check boxes for csv and pdf and it is also displayed properly then on the report page. But when I click on the download (csv or pdf) just an empty document is opened.
    What settings can I check now - what might be the reason for the error?
    BR & thank you,
    Lena

    Keerti,
    You're using the "Display Condition" of the Interactive Report Region (IRR) to show the report or not.
    If you have multiple selects just use a PL/SQL expression as in:
    :P1_MULTI_1 IS NOT NULL
       AND :P1_MULTI_2 IS NOT NULLNow, if that works for you lets take things a little further... You don't need the second submit button all the time (I'd get rid of it entirely but you seem to really want to hide the region until a selection is made). I did the following:
    1. Updated the display condition of the report to use a PL/SQL expression.
    2. Set the display condition of the submit button to the opposite of the IRR.
    3. Added the item name of the select to the interactive report attributes > Advanced Attributes > Page Items to Submit.
    Now the go button can be used for everything.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur
    Edited by: Dan McGhan on May 14, 2009 12:28 PM
    Updated as only clicking "go" works with Page Items to Submit.

  • Interactive reports / export CSV

    Hi everybody,
    We've got a problem with Apex 4.0.1.00.03 and the interactive reports.
    Ours applications are beyond a proxy server in SSL security, and the problem is when we do an export in *.csv with an interactive report with IE (7, 8 or even 9) there is a bug and we've got this message:
    Internet Explorer can't download f from appw.xxx.xx.ch
    We'haven't this kind of bug or message while we're using Chromium, Firefox, Safari or Opera, only IE.
    Does anyone got this kind of architecture and this sort of message or bug with IE and the export ?
    Best regards
    Chrispi

    Bump.
    Will it be possible in Apex 4 with Websheets may be?

  • Download Interactive Report data does not match on-screen data

    Hi,
    I have a page which has a process which runs a query and returns a random % of rows from a table, and saves this into a collection.
    Then, based on the random rows, I want to select data from another table, where the rows match certain columns in the collection.
    I have created a query to select the data I want, and have it displayed in an Interactive Report region.
    The data on the screen is fine, but when I go to 'Dowload' the data to csv or excel from the Interactive report, the data is different.
    I have also created a normal report region with the same query, and when I download it from here, it works fine, so I know it has nothing to do with the query.
    Any ideas?
    Amanda.
    The process details are:
    Process Point: On Load - Before Regions
    Run Process: Once per page visit
    Then in the Interactive report query is something like:
    Select ..
    from
    DATA_TABLE c
    select
    c001 User_Id,
    c002 Account_No,
    c003 Transaction_Date
    from htmldb_collections where collection_name='PX_COLLECTION'
    *) d*
    where
    c.user_id = d.user_id AND
    c.account_no = d.account_no AND
    c.transaction_date = d.transaction_date

    Hi,
    This is because of web caching. You should invalidate the page caching in the access tab of page properties or you just change the page url with a dummy paramater like this
    http://domain/portal/page?_pageid=6,1,6_11&_dad=<dad>&_schema=<schema>&1=1
    Here &1=1 is a dummy parameter
    This will invalidate the cache and the page will be refreshed.
    Thanks,
    Sharmila

  • Downloading Interactive Reports

    Anyone know the best way to do the interactive report download.
    The *.CSV file is putting blank spaces for every character that is blank as in the row has a max char limit of 100, so thats alot of wasted space and messing around with rows to get rid of empty characters.
    Yet my tables set to varchar. Basically i want to be able to export this into a word doc without too much of a haste and screwing around.

    I don't have an answer (other than intercepting the download and writing my own custom handler...ugh!). I just wanted to chime in and say that, I, too, think this is an issue. You should be able to specify, at the column level, what is and isn't available for download. This is provide for Hide, Sort, Filter etc...why not for download???
    This causes more problems when considered in light of another APEX (in my opinion) Bug. When you mark a column as Hidden, it isn't "hidden", i.e. display=none. Rather, it is not sent at all to the page. There are case all of the time wherein one does not wish to display the column but, nonetheless, it is needed to perform some other processing, e.g. conditional logic, pass to linked pages, etc. In these cases, you have to use jQuery (or JavaScript) to hide them. Stinks. Moreover, even though they truly+ are hidden after this change, they are included in the download.
    -Joe

  • Download Interactive Reports to Spreadsheet - Aggregation rows?

    Is there any way to use the Interactive Report download formats (either XLS or CSV) so that the spreadsheet includes the aggregation rows (SUM, AVERAGE) for each control break displayed on the screen.
    I am on 3.1.0.00.32 (soon we will be at 4.1).
    When we create a customized report using the interactive tools, it only downloads the data, and not the sum rows.

    bhenderson wrote:
    Is there any way to use the Interactive Report download formats (either XLS or CSV) so that the spreadsheet includes the aggregation rows (SUM, AVERAGE) for each control break displayed on the screen.
    I am on 3.1.0.00.32 (soon we will be at 4.1).
    When we create a customized report using the interactive tools, it only downloads the data, and not the sum rows.A workaround would be to use SQL to provide the aggregation rows. The ROLLUP, CUBE and GROUPING SETS (my favourite) group functions are especially build for such a task.
    Here is an example in the docs: http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_10002.htm#i2091446

  • Urgent!!  Download Interactive report in HTML as it is

    I have an interactive report where i have highlighted rows and colums based on some conditions.But when i download the same report in html, all the highlighted format are gone.I mean all the colours are gone.I want the same format in html too.so how is this possible.

    Hi,
    this is not so easy. Read it yourself:
    http://www.apexninjas.com/blog/f?p=100:1:0::::P1_ARTICLE:1920
    http://www.talkapex.com/2009/04/custom-download-for-apex-interactive.html
    Best regards,
    Tobias

  • How to download a report into CSV file format?.

    Hello all,
    I have a requirement like this.
    I have one custom Report. I need to download this report output into CSV format. In the selection screen, i am giving the pathname where report output need to be saved. Please let me know how to do it..
    Thanks in advance....
    Regards
    Ravi

    TYPE-POOLS: truxs.
    TYPES:
      BEGIN OF ty_Line,
        vbeln LIKE vbap-vbeln,
        posnr LIKE vbap-posnr,
      END OF ty_Line.
      ty_Lines TYPE STANDARD TABLE of ty_Line WITH DEFAULT KEY.
    DATA: itab   TYPE ty_Lines.
    DATA: itab1  TYPE truxs_t_text_data.
    SELECT
      vbeln
      posnr
      UP TO 10 ROWS
      FROM vbap
      INTO TABLE itab.
    CALL FUNCTION 'SAP_CONVERT_TO_CSV_FORMAT'
      EXPORTING
        i_field_seperator    = ';'
      TABLES
        i_tab_sap_data       = itab
      CHANGING
        i_tab_converted_data = itab1
      EXCEPTIONS
        conversion_failed    = 1
        OTHERS               = 2.
    IF sy-subrc &lt;&gt; 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        filename = 'C:\TEMP\test.txt'
      TABLES
        data_tab = itab1
      EXCEPTIONS
        OTHERS   = 1.
    I found this in the blogs ....reward if it helps

  • Interactive Reporting & Imported CSV File

    I have a query that joins an IR result set w/ a CSV file that I've imported into IR. I would like to import a more current version of that CSV file (I can use the same file name each time) without having to update the query, is that possible? I tried importing a CSV file with the same name as a file that was already imported and all IR did was add a 2 to the end of the filename.
    I looked in the Dashboard Studio Optimize Utility and it shows DataModel6 as being the parent of this query; however, I do not see DataModel6 when I'm in the IR Studio.
    Thanks.
    Terri T.

    I did a presentation @ Hyperion Solutions 2005 on this topic.
    I can send you part of the PPT if you drop me a note off line
    Wayne Van Sluys
    TopDown Consulting
    [email protected]

  • Interactive Report Download to CSV limit is 65535 in APEX 3.2

    Hello ,
    I have an IR report in APEX 3.2 that returns around 75,000 rows . I have set the maximum row count in the report attributes under Pagination to 200,000 rows.
    Despite this when I download the report to CSV, only 65535 rows are downloaded .
    Is this a known bug with APEX 3.2 ? can someone please share the link if this bug is documented.
    If not, Is there some other attribute I need to change to increase the download limit ?
    Thanks,
    Dippy
    Edited by: Dippy on Jan 7, 2011 1:59 PM

    Hi Tony,
    Thanks for the reply . I have adjusted maximum row count to 100,000, even then I can download only 65535 .
    I have around 12-15 Interactive Reports(each with different Query) and I do not want to write a custom download procedure for each report and also the application is in production.
    I just want to understand(confirm) if it is a existing bug (3.2) , if there is any patch that will solve this or if there is a setting somewhere that I have missed.
    Can you please check with some other query on your 3.2 installation ?
    I ran a test on
    select rownum
    from all_objects where rownum < = 80000Norma report I was able to download all the rows but IR stopped at 65535
    Thanks,
    Dippy
    Edited by: Dippy on Jan 10, 2011 11:33 AM

  • Interactive Report Download CSV file Issue (output includes separator BR)

    Hi,
    I have a Interactive Report and displaying the column values (multiple values in same ROW) as mentioned below.
    SQL Query
      select deptno,
           function1(empno) empno
      from emp
    IR Output
    Dept       Employee No
    10         AAA,BBB,CCC, ...    // -  Row 1
    20         XXX,YYY,ZZZ, ...    // -  Row 2 Now I want to display each employee in a new Line, so modified the SQL Query
    Modified SQL Query
      select deptno,
           REPLACE(function1(empno),',','<br>') empno
      from emp
    New IR Output
    Dept       Employee No
    10         AAA
               BBB
               CCC
               ...    // -  Row 1
    20         XXX
               YYY
               ZZZ
                ...    // -  Row 2 SO, Interactive Report Out put looks fine and that's the way we want.
    But the problem is when I download the Report in CSV or in PDF using the Action Menu -> Download..
    I am getting break line B R in the output, and also I have two different output in CSV for two different column. [Logic is same for both the columns.]
    CSV output1
    Employee No
      AAA<br>BBB<br>CCC
      XXX<br>YYY<br>ZZZI have other columns also with multiple values...for that column, I am getting the following CSV output
    CSV output2
    City List
      1111<br>
      2222<br>
      3333<br>So, in CSV for one column, I am getting all the values in same line with the seperator B R (Output1)
    for other column, I am getting values in new line with the separator B R. (Output2)
    Is there a way to FIX this CSV or PDF output for Interactive Report.
    I DON'T WANT THE SEPARATOR BR in CSV and also the values should always be in New Line.
    I want to have the following Output in CSV
    Employee No
      AAA
      BBB
      CCCThanks,
    Deepak
    Edited by: Deepak_J on Feb 24, 2010 11:45 AM
    Edited by: Deepak_J on Feb 24, 2010 11:46 AM
    Edited by: Deepak_J on Feb 24, 2010 11:48 AM

    Thanks.. Jari.. for the quick response.
    I updated my SQL query with Chr(10) and added the code in Page HTML header.
    Now the CSV & PDF output are fine..getting each individual value in seperate line (no BR tag)
    BUT in the Interactive Report Output, I am now getting first 2 values in 1 line, then next value in next line, and so on..
    IR Output
    Employee
      AAA BBB
      CCCCCCC
      DDDDDI have few more issues with CSV & PDF output
    1. In PDF is there a way to increase the column width, as for some of the columns, the values are getting truncated.
    2. For some of the columns in IR Report, I have user BR tag in Column Heading and this also come in CSV output (column heading with BR tag), is there a way to fix this. In PDF Column headings are fine (no BR tag)
    and by the way..what exactly this does.
    <style type="text/css">
    .apexir_WORKSHEET_DATA td{white-space:pre;word-wrap: break-word}
    </style>Thanks,
    Deepak
    Edited by: Deepak_J on Feb 24, 2010 12:20 PM
    Edited by: Deepak_J on Feb 24, 2010 12:21 PM

  • Download CSV of Interactive Report

    Hi,
    I am using Apex 4.1 and Oracle 11g.
    Can anyone pls help me with this below issue.
    select a,b,c,'<font style="font-size:10px; background-color:#FF0000; color:black" nowrap>'|| d ||'</font>',e from table_name
    a,b,c,d are column names.
    I have used the above HTML code for giving background color for single column. But when I am downloading the Report in CSV format through Actions Menu on Interactive Report in the d column i am getting the HTML code also along with data in it which i dont want. I want only the data to come into CSV not the HTML code along with it.
    Regards,
    Shoaib
    Edited by: Shoaib581 on 04-Jun-2012 01:15

    mahmoudrabie wrote:
    Dear Shoaib,
    i am getting the HTML code also along with data in it which i dont want. I want only the data to come into CSV not the HTML code along with it. 1) Right click on the interactive report ---> edit report attributes
    2) Change the column (Display Text As) to *(Standard Report Column)* for column d
    This does not solve the problem because he is getting the html code in CSV and not in browser
    >
    <font style="font-size:10px; background-color:#FF0000; color:black"  nowrap>'|| d ||'</font>Stop using font tag because it is deprecated
    Please remove the html formatting from the sql query and use the Interactive report Actions Menu > Format > Hightligh option
    Login as developer Go to Actions Menu > Save > Save as default > primary report to save it as default for all users
    http://apex.oracle.com/pls/apex/f?p=46417:4
    Login test/test

  • Download to CSV format in Interactive report

    Hi all,
    We have APEX 4.2. We have created Interactive report on a table. When we download that report to csv, everything is fine except for loan number which is a varchar2(50 Byte) (e.g. 210568900000000012). It is shown as 2.10569E+15. When we try to format the cell as text, it rounds off the number (e.g 210568900000000000).
    Please advice.
    Regards,
    Andy

    I encountered this issue previously, but regarding leading zeroes. It was really a battle with Excel - not APEX.
    Although I'd be interested to see if anyone has found a workaround that made Excel interpret it as a character instead of a number. We tried a few leads but to no avail.

Maybe you are looking for