APEX Report to balance a column of data over 3 columns

I have an sql report that outputs a code and description e.g.
1  Ape
2  Boar
3  Cat
4  Dog
5  Elephant
6  Goat
7  Hare
8  Ibis
9  Jackel
10 Kangaroo
11 Lion
12 Mouse
13 Numbat
I need the following output where the number of records can change but I always want the values to fit into 3 evenly balanced columns e.g. Sorry about trying to line the columns up
1  Ape      6  Goat    11  Lion
2  Boar      7  Hare    12  Mouse
3  Cat      8  Ibis    13  Numbat
4  Dog      9  Jackel    
5  Elephant      10  Kangaroo    
What is the best way to do this in one APEX report. I've tried using 3 separate reports in columns 1,2,3 side by side with "no template" but I can't seem to centre the 3 reports and spread out the values evenly across the page.
thanks in advance
Paul P

Interesting data.
See:
{thread:id=414418}
{thread:id=1013063}
{thread:id=1011638}

Similar Messages

  • Transposing column 1 data as columns and column 2 data as records

    Hi Sirs,
    I have a table having data in the form
    Present data format          
    Interview_no     Question     Answer
    1     Q1     A1.1
    1     Q2     A1.2
    1     Q3     A1.3
    1     Q4     A1.4
    1     Q5     A1.5
    1     Q6     A1.6
    1     Q7     A1.7
    2     Q1     A2.1
    2     Q2     A2.2
    2     Q3     A2.3
    2     Q4     A2.4
    2     Q5     A2.5
    2     Q6     A2.6
    2     Q7     A2.7
    3     Q1     A3.1
    3     Q2     A3.2
    3     Q3     A3.3
    3     Q4     A3.4
    3     Q5     A3.5
    3     Q6     A3.6
    3     Q7     A3.7
    4     Q1     A4.1
    4     Q2     A4.2
    4     Q3     A4.3
    4     Q4     A4.4
    4     Q5     A4.5
    4     Q6     A4.6
    4     Q7     A4.7
    what I need is to change it into
    Required format                                   
    Interview_no     Q1     Q2     Q3     Q4     Q5     Q6     Q7
    1     A1.1     A1.2     A1.3     A1.4     A1.5     A1.6     A1.7
    2     A2.1     A2.2     A2.3     A2.4     A2.5     A2.6     A2.7
    3     A3.1     A3.2     A3.3     A3.4     A3.5     A3.6     A3.7
    4     A4.1     A4.2     A4.3     A4.4     A4.5     A4.6     A4.7
    I am sorry to use that much of space but I think this was the best way to ask the problem. Can we do this using SQL only or we need to go for Pl/Sql I have tried writing a procedure but can't get what eactly I want. I also serched on the net there are a few articles on transposing but they didn't help a lot.
    Please help me with the code.
    Thanks & Regards

    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select 1 as interview_no, 'Q1' as question, 'A1.1' as answer from dual union all
      2  select 1, 'Q2', 'A1.2' from dual union all
      3  select 1, 'Q3', 'A1.3' from dual union all
      4  select 1, 'Q4', 'A1.4' from dual union all
      5  select 1, 'Q5', 'A1.5' from dual union all
      6  select 1, 'Q6', 'A1.6' from dual union all
      7  select 1, 'Q7', 'A1.7' from dual union all
      8  select 2, 'Q1', 'A2.1' from dual union all
      9  select 2, 'Q2', 'A2.2' from dual union all
    10  select 2, 'Q3', 'A2.3' from dual union all
    11  select 2, 'Q4', 'A2.4' from dual union all
    12  select 2, 'Q5', 'A2.5' from dual union all
    13  select 2, 'Q6', 'A2.6' from dual union all
    14  select 2, 'Q7', 'A2.7' from dual union all
    15  select 3, 'Q1', 'A3.1' from dual union all
    16  select 3, 'Q2', 'A3.2' from dual union all
    17  select 3, 'Q3', 'A3.3' from dual union all
    18  select 3, 'Q4', 'A3.4' from dual union all
    19  select 3, 'Q5', 'A3.5' from dual union all
    20  select 3, 'Q6', 'A3.6' from dual union all
    21  select 3, 'Q7', 'A3.7' from dual union all
    22  select 4, 'Q1', 'A4.1' from dual union all
    23  select 4, 'Q2', 'A4.2' from dual union all
    24  select 4, 'Q3', 'A4.3' from dual union all
    25  select 4, 'Q4', 'A4.4' from dual union all
    26  select 4, 'Q5', 'A4.5' from dual union all
    27  select 4, 'Q6', 'A4.6' from dual union all
    28  select 4, 'Q7', 'A4.7' from dual)
    29  -- END OF TEST DATA
    30  select interview_no
    31        ,max(decode(question,'Q1',answer)) as Q1
    32        ,max(decode(question,'Q2',answer)) as Q2
    33        ,max(decode(question,'Q3',answer)) as Q3
    34        ,max(decode(question,'Q4',answer)) as Q4
    35        ,max(decode(question,'Q5',answer)) as Q5
    36        ,max(decode(question,'Q6',answer)) as Q6
    37        ,max(decode(question,'Q7',answer)) as Q7
    38  from t
    39  group by interview_no
    40* order by interview_no
    SQL> /
    INTERVIEW_NO Q1   Q2   Q3   Q4   Q5   Q6   Q7
               1 A1.1 A1.2 A1.3 A1.4 A1.5 A1.6 A1.7
               2 A2.1 A2.2 A2.3 A2.4 A2.5 A2.6 A2.7
               3 A3.1 A3.2 A3.3 A3.4 A3.5 A3.6 A3.7
               4 A4.1 A4.2 A4.3 A4.4 A4.5 A4.6 A4.7
    SQL>

  • Query of the complicated rdf-report in apex-report

    I try to migrate rather complicated rdf report into Apex. I have sucesfully converted the reports file xx.rdf into:
    1. xx.xdo file
    2. xx.rtf word file
    3. xx.xml data file
    4. xx_S.pls and xx_B.pls as package files in database
    The converted xx.rtf file is OK with all fields and images in right places In the Word I get a beautiful xx.pdf report when I start the preview using converted xx.xml file as the data file. -- The problem is just the package file with its several functions. The xml file has also many levels of data formed by tags like <list_g> etc.. Many of Word fields are CF fields from reports (xx.rdf) which now are as package functions with the same names.
    Is there any direct way to generate the Apex report query whic form the xml data file? It seems impossible to start create an Apex query from the package functions and trying to embed on it all the same fields as in xml file. Is it possible to somehow use xx.xdo file and bi publisher as help.
    Thank you very much.

    Okay, there is some confusion there.. You said: "In our case the customer is not willing to invest into Oracle Reports", Yet you are converting an Oracle Report file for their application, is this NOT their report file?
    Then you said " Also the customer is not very eager to use its BI Publisher for Apex reports " But APEX WILL be using BI Publisher for the PDF generation of the report, do they understand having Bi Publisher running the report that APEX can get the PDF from Bi Publsiher?
    Sounds like the customer is rather snarky on their requirements..
    Thank you,
    Tony Miller
    Webster, TX

  • Apex report

    Hi Could somebody clarify the difference between query column vs generic column in Apex reports page creation option.
    Thanks

    Hi unnamed,
    Query column: sql is analyzed immediately when you save the report.
    Generic; sql will be anlayzed if you run the report.
    The columns will be named col01, col02 and so on.
    You can try it yourself, by selecting one by one the choice.
    Leo

  • Need query to list columns and data

    Hi all,
    I am having a requirement that to compare two identical rows based on empno and list the columns and data which columns are varied.
    SQL> select * from emp1 where empno=7369;
         EMPNO ENAME      JOB              MGR HIREDATE           SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-1980       2000                    20
          7369 SMITH      PRO             7788 17-DEC-1980       2100                    20if we see above data - columns mgr,sal and job have different data but same having same employee number
    Now i want to display the columns which are having different values for a given perticular employee having identical rows with employee number
    Note : in my original table i have 300 columns around. above explained is sample example for understanding
    thanks
    krishna.

    Hi,
    If you want a variable number of columns, depending on the data found, then you'll have to use dynamic SQL.
    I suggest you don't do that. I recommend String Aggregation , that is, concatenating the variable number of items into one big string column, formatted so that ir looks like differenct columns. That is, you might get output like this:
    EMPNO MISMATCHED_DATA
          JOB       MGR       SAL
    7369 CLERK     7902      2000
    7369 PRO       7788      2100Notice that the output consists of 3 rows and 2 columns.
    The 1st row displayed serves as a header. (The actual header has the actual, generic column name, mismatched_data.)
    Here's one way to get output like that:
    VARIABLE  data_width     NUMBER
    EXEC      :data_width := 10;
    WITH     unpivoted_data          AS
         SELECT       e.empno
         ,       DENSE_RANK () OVER ( PARTITION BY  e.empno
                                      ORDER BY          e.ROWID
                             )                    AS r_num
         ,       c.column_name
         ,       c.column_id
         ,       RPAD ( COALESCE ( CASE  c.column_name
                                        WHEN  'ENAME'       THEN  e.ename
                                    WHEN  'JOB'       THEN     e.job
                                    WHEN  'MGR'       THEN  TO_CHAR (e.mgr)
                                  WHEN  'HIREDATE'       THEN  TO_CHAR (e.hiredate, 'DD/MM/YYYY HH:MI:SS AM')
                                -- ... more columns in your real problem
                            END
                          , CASE  c.column_name
                                WHEN  'SAL'       THEN     TO_CHAR (e.sal)
                                WHEN  'COMM'         THEN  TO_CHAR (e.comm)
                                WHEN  'DEPTNO'    THEN  TO_CHAR (e.deptno)
                            END
                   , :data_width       -- maximum column width
                   )                         AS d
         FROM    emp1               e
         JOIN       user_tab_columns     c  ON     c.table_name     = 'EMP1'
         WHERE     e.empno     IN (7369)        -- any 1 or more empnos
    ,     got_val_cnt     AS
         SELECT     u.*
         ,     COUNT (DISTINCT d) OVER ( PARTITION BY  empno
                                        ,              column_name
                             )      AS val_cnt
         FROM    unpivoted_data     u
    ,     discrepancies     AS
         SELECT  v.*
         FROM     got_val_cnt     v
         WHERE     val_cnt     > 1
    ,     relevant_columns     AS
         SELECT DISTINCT  column_name
         ,           DENSE_RANK () OVER ( ORDER BY  column_id)     AS c_num
         FROM     discrepancies
    SELECT       d.empno
    ,       REPLACE ( SYS_CONNECT_BY_PATH ( NVL ( d
                                         , RPAD (' ', :data_width)
                             , '~'
                  , '~'
                ) AS mismatched_data
    FROM            discrepancies          d     PARTITION BY ( d.empno
                                              , d.r_num
    RIGHT OUTER JOIN  relevant_columns     r     ON         r.column_name = d.column_name
    WHERE     CONNECT_BY_ISLEAF     = 1
    START WITH     r.c_num          = 1
    CONNECT BY     r.c_num          = PRIOR r.c_num + 1
         AND     d.empno          = PRIOR d.empno
         AND     d.r_num          = PRIOR d.r_num
        UNION ALL
    SELECT    NULL          AS empno
    ,       REPLACE ( SYS_CONNECT_BY_PATH ( RPAD (column_name, :data_width)
                                   , '~'
                , '~'
                )     AS mismatched_data
    FROM      relevant_columns
    WHERE       CONNECT_BY_ISLEAF     = 1
    START WITH     c_num          = 1
    CONNECT BY     c_num          = PRIOR c_num + 1
    ORDER BY  empno          NULLS FIRST
    ;You can specify any number of empnos to be included in the report.
    You really want a CASE expression that has a WHEN clause for every column in your table, but CASE expressions have a maximum of (I believe) 128 WHEN clauses. If you really have 300 rows, you'll have to break that down into smaller groups. In the query above, I used 2 CASE expressions in a COALESCE function, where each of the CASE expressions had no more than 4 WHEN clauses. You may have to use 3 CASE expressions, each with 100 WHEN clauses.
    This solution does not assume there are exactly 2 rows per empno; there can be any number.
    If all the rows for an empno are completely identical, that empno will not be included in the output. This includes the situation where a given empno is unique.
    Again, you can get separate columns for each mismatched item, using dynamic SQL, but it's even more convoluted than the query above.

  • Hiding Column in Data Grid

    Is there is way to hide a column in data grid column?
    Is it possiblo to reorder the column like in excel . I know its not possible bcoz it <table> tag ...

    Select the column within the table and in the property window uncheck the visible. You can also include visible="false" in the jsp page within the column tag.

  • Re: Problem providing download link for BLOB data in apex report

    Hi Don,
    Your solution below worked but in the download option i only see save but not open for PDf file in the blob. Please let me know if you have any suggestion to achieve it
    Thanks
    Jo
    Problem providing download link for BLOB data in apex report 
    591953 Nov 19, 2008 1:55 PM (in response to 660436)
    Currently Being Moderated
    Good morning,
    Here is how I have solved this problem.
    1. The select statement in the sql for the report should not include the BLOB column. I decided to select only 2 columns, the column that has the key and the column with the filename.
    2. On the first column ( the primary key ) I put in the format statement that was simply DOWNLOAD:TABLENAME:BLOB_COLUMN:PRIMARY_KEY
    This works. I believe that the Oracle error I was getting was because I was trying to apply this format statement to the actual BLOB column.
    So, it appears that you can use any of the columns in the report to hold the DOWNLOAD format statement since in the format statement, you are defining the BLOB table, BLOB column and the primary key into that column.
    Hope this helps,
    Don.

    Branched out from a years old thread.
    user3003326 Don't post to old threads, please.

  • Apex Report to Excel Problem in long text data in one cell

    Hi
    Using apex 3.1, I have created one sql Report based on UNION.
    Report has 10 rows & 2 columns only. first column contain title & second Column display values.
    9 rows contain numeric value (converted to char) one last row display Remarks (lot of text).
    When stored in excel last line display data in single line.
    ex
    col1 col2
    A1 456.12
    A2 789.165
    B1 784.126
    B2 456.1
    C1 0
    C2 1
    D1 0
    D2 2
    E1 34.23
    E2 This is row containing long text. This is row containing long text . This is row containing long text.........
    Due to this Report does not fit on one A4 size Paper for printout . Any Solution.

    Hi,
    There's a solution in Excel... Select the cell, select Format, Cells from the menu and select the Alignment tab - tick the "Wrap text" option.
    Obviously, that would require a manual action by the user and would be after the export has taken place.
    Andy

  • Column Links in Apex Reports

    I am using version 4.0 of APEX.  My question concerns linking to other APEX pages from a report.  In APEX we link to another page, which may be a form or another report, by using a column in the report as a link column.  Any column may be used to transfer values from any other column.  This works fine, but the disadvantage is that whichever column is used as the link column has a heading which identifies the column's purpose but may not identify the purpose of the transition to another page.  In Oracle Forms, we could use buttons as a column of the multi-row screen (i.e. same as APEX report), and the button's label identified the purpose for the transition.
    Is there any way to create a column in an APEX report  to serve the same purpose as the button in Oracle Forms?

    Doug wrote:
    I am using version 4.0 of APEX.  My question concerns linking to other APEX pages from a report.  In APEX we link to another page, which may be a form or another report, by using a column in the report as a link column.  Any column may be used to transfer values from any other column.  This works fine, but the disadvantage is that whichever column is used as the link column has a heading which identifies the column's purpose but may not identify the purpose of the transition to another page.  In Oracle Forms, we could use buttons as a column of the multi-row screen (i.e. same as APEX report), and the button's label identified the purpose for the transition.
    Is there any way to create a column in an APEX report  to serve the same purpose as the button in Oracle Forms?
    When discussing "reports" it is essential to indicate whether this means a standard report or an interactive report in order to receive an appropriate response.
    It is possible to create a link column that is distinct from report data columns. In standard reports, this is done using the Add Column Link option from the Tasks menu in the right sidebar of the Report Attributes page. In interactive reports, define a Link Column on the Report Attributes page.
    To provide further information about links to users in both cases, specify an HTML title attribute for the link in the Link Attributes property of the link definition. This will be rendered as a tooltip when the cursor hovers over the link in visual browsers, and as an audio cue on navigation to the link when using a screen reader.

  • APEX report with Break columns and BI Publisher

    I am having an issue with APEX and using column breaks when printing to BI publisher.. It seems that when you write an APEX report that breaks on the 1st or 1st and 2nd columns, the grouping shows nicely in APEX, but when BI Publisher gets the XML data, and you do the same grouping using an RTF file, there is a group of rows with NO grouping info that occurs at the top of the report, then each group you expect has just ONE row..
    (Just giving this a bump to see anyone has an idea here..)
    Any suggestions?
    Thank you,
    Tony Miller
    Message was edited by:
    Tony Miller

    WITH clause or Subquery Factoring allows the set of data to be reused multiple times within the SQL. Oracle will usually materialize the data into a temporary table (you will see it if you take an explain plan of the SQL).
    I would be surprised if it was the actual WITH clause that was causing the performance issue, however you can test this by turning the WITH clause feature off. Go to the Physical model, right mouse click on your Database > Properties > Features Tab, scroll down to WITH_CLAUSE_SUPPORTED and switch it off.
    I'd be interested to know if you do see actual improvement.
    Good Luck.

  • How to create APEX report from data in PLSQL table

    Hi, I have a procedure that is creating/inserting records into multidimensional pslql table. I want to create a report and graph based on the data stored in plsql table. Can someone please advice how to can I select this data in apex OR point me to any sample code?
    Thanks
    Aali

    Hi,
    try to google something about ORACLE TABLE CAST
    SELECT ot.yourcolumn
    FROM
       TABLE(CAST(yourplsqltablevariable AS userdefinedoracletype)) otE.g.
    http://it.toolbox.com/blogs/oracle-guide/using-a-plsql-table-in-sql-11013
    Regards,
    R.

  • Problem providing download link for BLOB data in apex report

    Hi,
    I am trying to create a report on a table with BLOB data so that the report displays a "download" link for the BLOB data. I am trying to give users the ability to download files from a website.
    I have been following the instructions in OBE "Defining and Viewing BLOB Data in Oracle Application Express 3.1".
    In the report, for the BLOB column, I have specified values for the following fields in Report Attributes->Column Formatting->Number/Date Format->BLOB Download Format Mask:
    BLOB Table
    BLOB Column
    Primary Key Column 1
    MIME Type Column
    Filename Column
    BLOB Last Updated Column
    However, when I run the report, I get the following error, even thought there is data loaded into the table:
    report error:
    ORA-01403: no data found
    When I remove the BLOB Download Format Mask information for the BLOB column, then the data displays in the report, but without the "download" link for the BLOB data (which is expected):
    E.g.
    Title Author Created BLOB_CONTENT
    Siebel & RAC Best Practices     Erik.Peterson     17-SEP-08     [datatype]
    Siebel Grid Case Studies     Mark.MacDonald     17-SEP-08     [datatype]
    Siebel CRM Applications protected by Oracle Clusterware     Kelly.Tan     17-SEP-08 [datatype]
    Oracle Grid: The Optimal Platform for Siebel Solutions Mark.MacDonald 17-SEP-08     [datatype]
    Any ideas why I'm seeing the ORA_01403 when I specify the BLOB Download Format Mask?
    Edited by: user716599 on Sep 18, 2008 12:31 AM

    Good morning,
    Here is how I have solved this problem.
    1. The select statement in the sql for the report should not include the BLOB column. I decided to select only 2 columns, the column that has the key and the column with the filename.
    2. On the first column ( the primary key ) I put in the format statement that was simply DOWNLOAD:TABLENAME:BLOB_COLUMN:PRIMARY_KEY
    This works. I believe that the Oracle error I was getting was because I was trying to apply this format statement to the actual BLOB column.
    So, it appears that you can use any of the columns in the report to hold the DOWNLOAD format statement since in the format statement, you are defining the BLOB table, BLOB column and the primary key into that column.
    Hope this helps,
    Don.

  • How to fetch data to APEX Report using stored procedure?

    hi all,
    i am making a report in APEX. user selects two dates and clicks GO button - i have a Stored Procedure linked to that result region so Stored Procedure gets called.
    my stored procedure does the following -
    using specified dates (IN) i do query and put data into a table (this table has been created only for this report) -
    i want to show all these data i entered into the table on my APEX report in the same procedure call. can i use ref cursor to return? how to do that?
    currently, i use another button in APEX which basically fetches all data from table. basically, user clicks one button to generate report and then another button to get report. which is not desirable at all :(
    i m using APEX      3.1.2.00.02 and Oracle 10 database.
    pls let me know if you need further clarification of the problem. thanks in advance.
    regards,
    probashi
    Edited by: porobashi on May 19, 2009 2:53 PM

    Thanks Tony.
    I am not sure what you meant by >> change the report to be based off of a query returning sql statement, no need to keep that table around.... >>
    Here's my stored procedure
    create or replace
    PROCEDURE ABC_PROC (
    START_DATE IN DATE,
    END_DATE IN DATE
    AS
    RULE_REC MTG_OFFICER_FORECAST%ROWTYPE;
    TYPE REF_CURSOR IS REF CURSOR;
    TCUR REF_CURSOR;
    BEGIN
    DELETE FROM ABC_REPORT;
    OPEN TCUR FOR
    SELECT ABC_FORECAST.*
    from MTG_OFFICER_FORECAST , MTG_USERS
    WHERE MTG_OFFICER_FORECAST.NBR_OFFICER = MTG_USERS.NBR_OFFICER AND
    MTG_OFFICER_FORECAST.NBR_INSTITUTION = MTG_USERS.NBR_INSTITUTION;
    LOOP
    FETCH TCUR INTO RULE_REC;
    EXIT WHEN TCUR%NOTFOUND;
    INSERT INTO ABC_REPORT( NBR_OFFICER, OFFICER_NAME, FORECAST_NBR_LOANS, FORECAST_LOAN_AMT, FORECAST_FEES,
    ACTUAL_NBR_LOANS, ACTUAL_LOAN_AMT, ACTUAL_FEES, RATIO_NBR_LOANS, RATIO_LOAN_AMT, RATIO_FEES, NBR_INSTITUTE )
    VALUES ( RULE_REC.NBR_OFFICER, RULE_REC.NAME_LOAN_OFFICER, RULE_REC.NBR_LOANS, RULE_REC.AMT_LOAN, RULE_REC.AMT_FEES,
    ACTUAL_NBR_LOANS, ACTUAL_LOAN_AMOUNT, ACTUAL_FEES, SUCCESS_RATIOS_NBR_LOANS_PERC, SUCCESS_RATIOS_LOAN_AMT_PERC, SUCCESS_RATIOS_FEES_PERC, RULE_REC.NBR_INSTITUTION );
    END LOOP;
    CLOSE TCUR;
    END ABC_PROC;
    Thanks,
    Probashi
    Edited by: porobashi on Jun 2, 2009 11:43 AM

  • APEX Report Data Download in Excel and PDF format

    Hi,
    Can someone please guide me how to download APEX report data in Excel and PDF format.I know this is possible through BI Publisher but that is extra Licence cost for client so i don't want to use that option.
    Thanks in advance.
    Regards
    Prabhat Mishra

    1005844 wrote:
    Hi ,
    Thanks for Reply,
    I am using APEX 4.2 but when i am trying to download the IR data then getting 3 options only(CSV,HTML and Email).
    PrabhatWell, Excel should understand the .csv format for offloads. Perform web seraches to see what can be done for pdfs

  • Stored Procedure used as a data source for an Apex report

    Just wondering whether anyone has used a Stored Procedure as the data source for an Apex report. An option to select Stored Procedures(s) as the data source does not appear within the IDE (only displays Table, Views, Functions).
    Do you have to return the definition of the Stored Procedure via a function ... if so, how is this done ?
    Thank you.

    >
    Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "920338".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    Just wondering whether anyone has used a Stored Procedure as the data source for an Apex report. An option to select Stored Procedures(s) as the data source does not appear within the IDE (only displays Table, Views, Functions).
    Do you have to return the definition of the Stored Procedure via a function ... if so, how is this done ? When asking a question about "reports" it's firstly essential to differentiate between standard and interactive reports. Standard reports can be based on tables, views, SQL queries, or PL/SQL function blocks that return the text of a SQL query. Interactive reports can only be based on a SQL query.
    "Stored Procedures" are therefore not an option (unless you are using the term loosely to describe any PL/SQL program unit located in the database, thus including functions). What would a procedure used as the source of a report actually do? Hypothetically, by what mechanisms would the procedure (a) capture/select/generate data; and (b) make this data available for use in an APEX report? Why do you want to base a report on a procedure?

Maybe you are looking for