Pivot table in Oracle Apex

Hi Experts,

I need, when I need to create an interactive report exactly similar to a PivotTable in Excel. What some similar to the characteristic Break of the interactive report command

I use Oracle Apex 4.2.5.

I would like to know if it's possible.

Best regards

Patrick

Hi Patrick,

everything is possible.

try to check this plugin, it's maybe you need: ORA-00001: Unique constraint violated: PivotTable for Apex plugin

Otherwise, you can use the interactive report controlbreak or you can go further and simply create a report model that exactly fits your dispostion.

I hope this helps.

Tags: Database

Similar Questions

  • Alignment of the table in Oracle Apex

    Hi all

    I use Oracle Apex 4.2.5 for application development. I used 26 theme.

    In my page I used the Template of the Page as a level with the sidebar tab left. Graphic design and report on this Page.

    I created a button to hide / show the sidebar.

    When I hide the sidebar, then more space white bar inside the graph. (chart appear somewhere not in the Center)

    My requirement is necessary reduce the white space (or center the graph) when the sidebar is leather.

    Here is my sample application to apex.oracle.com.

    Application name: chart

    Application ID: 36667

    Sugi_demo = workspace

    Username = my_demo

    password = my_demo

    Thank you

    Su.GI

    Hi Su.gi,

    Please check the application now.

    I removed the width fixed 530px and centered on the chart.

    I have used Inline CSS in the page attributes:

    object {
      margin: 0 auto !important;
    }
    

    I hope this helps!

    Kind regards

    Kiran

  • Tables to double entry or Pivot table using oracle 11 g

    Hi all


    I want my PivotTable and create something like below:

    I have the table in this format

    Objective measure of the output in detail
    _________________________________________

    NVM CSV Some text to the text
    F & M VS some text somet


    I want it to appear on the page

    Output: NVM
    Detail: CSV
    Goal: A text
    Measure: a text

    Output: Vs
    Detail: CSV
    Goal: A text
    Measure: A text

    No idea how to do it?

    Thanks in advance

    Pivot doesn't seem to be necessary. Create a standard report using one of the by default: vertical report... built-in report templates, or model of attribute value pairs in the current theme.

    (Please update your forum profile with a real handle instead of "858002".)

  • Oracle apex 5.0: pass values from one page to the other as well save you can save same value in the table.

    I use oracle apex 5.0

    Issues related to the:

    (1) I created an application where I have a form on which I have a button named 'Add', now if I click on that button values need to be stored in table.how to create! I use the dynamic button that is created by the html tag < input type = "button" > need help with this.

    (2) if the value stored in the table how the same value will be on the agenda of the calling page. ?

    New to this world of Apex.

    concerning

    Pranav shah

    http://zderadicka.EU/Apex-dynamic-actions-with-report-region/

  • Oracle apex and extjs grid table

    Hello

    IM new to extjs and I was wondering if anyone can help me with this.
    I want to create a report in oracle apex and place the output in the extjs grid table
    for example, I want to display the output of select * from object in table grid

    thnx in advance
  • Execution of the procedure of Oracle APEX

    Hello

    I've written a procedure ' create or replace PROCEDURE process_csvfile (p_filename IN VARCHAR2); " et I want to execute this procedure to Oracle Apex.


    PROCEDURE:

    create or replace PROCEDURE process_csvfile(p_filename IN VARCHAR2)
    AS
    statement1 varchar2(1000);
    statement2 varchar2(1000);
    statement3 varchar2(1000);
    
    begin
    dbms_output.put_Line(p_filename );
    statement1:= 'alter table adb.external_bcc_test location ( '  ||chr(39)|| p_filename||chr(39)|| ')' ;
    dbms_output.put_line(statement1);
    EXECUTE immediate statement1;
    dbms_output.put_line('statement1-> completed');
    EXECUTE immediate 'truncate table ADB.ADB_BCC_TEST';
    dbms_output.put_line('statement2-> completed');
    statement3:='insert /*+ append */ into ADB.ADB_BCC_TEST(BCC_ID,BCC_ADD,"NO_OF_BCC(GEO)") select * from adb.external_BCC_test';
    dbms_output.put_line(statement3);
    EXECUTE immediate statement3;
    dbms_output.put_line('statement3 insert-> completed');
    
    EXCEPTION
    WHEN OTHERS
    then
    raise;
    END;
    
    

    I created the button and the action as a dynamic Action where I wrote below PL/SQ as dynamic Action to perform this procedure


    BEGIN
    
    process_csvfile;
    END;
    
    


    But I get an error" " " ORA-06550: line 4, column 3: PLS-00306: wrong number or types of arguments in the call to 'PROCESS_CSVFILE' ORA-06550: line 4, column 3: PL/SQL: statement ignored (go to error) "

    Oracle Apex Version: 4.2.1

    Thank you

    BO.

    BO123 wrote:

    I've written a procedure ' create or replace PROCEDURE process_csvfile (p_filename IN VARCHAR2); " and I want to run this procedure from Oracle Apex.

    1. create or replace PROCEDURE process_csvfile (p_filename IN VARCHAR2)
    2. AS
    3. statement1 varchar2 (1000);
    4. statement2 varchar2 (1000);
    5. statement3 varchar2 (1000);
    6. Start
    7. dbms_output.put_Line (p_filename);
    8. statement1: = ' change the location of the table adb.external_bcc_test (' |) Chr (39) | p_filename | Chr (39) | ')' ;
    9. dbms_output.put_line (statement1);
    10. EXECUTE immediate statement1;
    11. dbms_output.put_line ('end statement1->');
    12. EXECUTE immediate ' truncate table ADB. ADB_BCC_TEST';
    13. dbms_output.put_line ('end of reporting2->');
    14. statement3: = "insert / * + append * / into ADB." ADB_BCC_TEST (BCC_ID, BCC_ADD, ' NO_OF_BCC (GEO) ') select * from adb.external_BCC_test';
    15. dbms_output.put_line (statement3);
    16. EXECUTE immediate statement3;
    17. dbms_output.put_line ('end statement3 insertion->');
    18. EXCEPTION
    19. WHILE OTHERS
    20. then
    21. lift;
    22. END;

    The treatment is an external table. How to get the source file in the specified location?

    dbms_output.put_linethe instrumentation is unnecessary in an environment of APEX (unless the apex_debug.log_dbms_output method has been called). Use apex_debug API methods instead so that information is available in debug mode.

    There is no reason to use dynamic SQL statements in lines 15-17.

    Creating a column named "NO_OF_BCC (GEO)" is not a good idea and is in conflict with the recommendation of the Oracle do not use identifiers in quotes for the names of database objects. This objects will only cause problems and confusion.

    Lines 20 to 23 are a bug. It doesn't hide where any exception occurred in fact. If there is no specific exception that must be handled in this procedure, it should not contain an exception block.

  • Connection to the database to Oracle using Oracle Apex 5.0.1

    Hi all

    Is it possible to connect to the Oracle (Oracle SQL Developer 4.1.1) database using Oracle Apex 5.0.1 instead of using the object browser. As he was more workspace after you have downloaded the data we have on CSV Excel.

    For example: regardless of the tables I've created in the Application Builder is created in the object browser. We have limited the workspace of 500 MB. This is the reason why we cannot use this method to load the data and retrieve it. (Note: can I ask 2 GB of space to work on the approval of the Director, who is still not sufficient)

    Is it possible that I will create an apex.oracle.com application by using the application builder and I will create in the database tables. When I load the file in application, data will be stored in the database Oracle instead of the object browser.

    Well let me know is possible, if yes, how can I proceed.

    If this isn't the case, please let me know how I can get more workspace.

    According to my understanding, other possibilities are: 1) taking backup of old files and free up space, 2) create another workspace and get extra work space.

    Thanks for your help!

    Kind regards

    Vinod

    Hello

    When you load data using APEX SQL Workshop utilities for example, the data is stored in your database tables.

    Object browser is just seen tool your schema as the table objects and the data in the tables, just as SQL Developer.

    If you have no good reason to keep these files that you downloaded in the workspace, delete those. Data is stored in database tables.

    Kind regards

    Jari

  • Pivot table column alignment

    Hi all

    I use the Oracle 11 g database to develop my application.

    I've created a generic column report.

    For this I used the concept of PIVOT table.

    My example query is

    with pivot_data like)

    SELECT DEPTNO, JOB, SAL, BISHOP

    WCP

    )

    SELECT *.

    OF pivot_data

    PIVOT)

    SUM (SAL)

    FOR DEPTNO

    IN (& P90009000_LIST.)

    )

    This output is

    WORK BISHOP 10 20 30

    --------- ---------- ---------- ---------- ----------

    PRESIDENT 5000

    7902 800 CLERK

    7698 950 CLERK

    7788 1100 CLERK

    7782 1300 CLERK

    7698 5600 SELLER

    MANAGER 7839 2450 2975 2850

    7566 6000 ANALYST

    8 selected lines.

    but I need the output as below

    BISHOP OF WORK 10 20 30

    --------- ---------- ---------- ---------- ----------

    PRESIDENT 5000

    THE 800 7902 CLERK

    THE 950 7698 CLERK

    1100 7788 CLERK

    1300 7782 CLERK

    5600 7698 SELLER

    MANAGER OF 2450 2975 2850 7839

    6000 7566 ANALYST

    8 selected lines.

    Come 10,20,30 pivot columns

    How to do this in my application?

    Thank you

    Su.GI

    Thanks Solomon.

    I used the code below.

    His job very well.

    with pivot_data like)

    SELECT DEPTNO, JOB, SAL, & P90009000_LIST., BISHOP

    WCP

    )

    SELECT *.

    OF pivot_data

    PIVOT)

    SUM (SAL)

    FOR DEPTNO

    IN (& P90009000_LIST.)

    )

    Thank you

    Su.GI

  • Update of the elements on the Page regarding filters in Oracle APEX interactive report

    I recently started using interactive reports in my Oracle APEX application. Previously, all pages in the classic application reports. The interactive report in my new page works fine, but now, I would like to add a summary box/table above the interactive report on the same page that displays values added some columns in the interactive report. In other words, if my interactive report displays 3 names of separate Manager, 2 separate offices and 5 different employees, my summary (box) will contain a line and three columns with numbers, 3, 2, and 5, respectively.

    So far, I did this job creating the box summed up as a classic report that account of the distinct values for each column in the same table that my interactive report pulls. The problem is when I try to filter my interactive report. Of course, the classic report is not updated based on the interactive report filters, but I don't know how I could link the two so that the classic report meets interactive report filters. From my research, there are ways to refer to the value in the search box of the interactive report using javascript/jquery. If possible, I would like to refer to the value of the filter of the interactive table with javascript or jquery to refresh the summary box whenever a new filter is applied. Does anyone know how to do this?

    Thanks, Patrick! I was always getting some of the old filters for a reason, but I was able to use the tables included in queries to retrieve my ID to report, that I used in the APEX_IR. Function GET_REPORT.

    More details here.

  • Sort data in pivot table

    Hi Experts,

    Here's the requirement I need to sort the text Text_field field say to sort this column, I called another field. Sort_Text_field.

    I have the pivot table as follows

    Can I sort Text_field even if Sort_Text_field is not in the PivotTable on the side.

    Thank you!

    Month1-(Jan) Month2-(Feb)
    Text_fieldMetricValue1MetricValue2


    Thank you!!

    Just in case if helps others. Tim Dexter tanks

    Follow this link: https://blogs.oracle.com/xmlpublisher/entry/new_skool_crosstabbing

    Customization

    One new feature that I discovered this week is the ability to show a single column and sort by another. I got a data set which was extracting the month abbreviations, we wanted to show for months through the top and headers of lines on the side. As you know XSL is not very good with dates, in particular recognizing the names of months. He just wants to sort them alphabetically, so, after comes before Jan, etc..
    A way around this is to generate a number of months to the sides of the month and which allows to sort. We can do that in the crosstab, unfortunately it is not exposed in the user interface still but its doable.

    Go back and take a look at the initial crosstab command. especially the line inputs and columns. There, you will find the sort criteria.

    "ProductsBrand {, o = a, t = t}, PeriodYear {, o = a, t = t}.

    Note these key commas inside the braces? Because there is no field that precedes them, this means that the crosstab should sort on the column before the brace that is PeriodYear. But you can insert another column in the data set to be sorted. For myself how I needed to work.

    <>" _Fund_Type_._Fund_Type_Sort_, o = a, t = n} ';' _Fiscal_Period__Amount__._Amt_Fm_Disp_Abbr_ {_Fiscal_Period__Amount__._Amt_Fiscal_Month_Sort_, o = a, t = n} ';' _Execution_Facts_._Amt_ ';' amount '? >

    Excuse the horribly verbose XML tags, good ol' BIEE: 0) emboldened columns are not in the table, but in the data set. I just open the field, dropped and changed the value type (t) is 'n', number, instead of the default 'a' and my crosstab started sorting how I wanted that it.

    If you find other tips and tricks, please share in the comments.

  • With the help of TWG instead of Collections of Oracle APEX

    Hello

    I use Oracle APEX v.4.2 and wanted to see if there were problems with the use of global temporary Tables (GTT) on Oracle APEX Collections. I remember reading another post here that mentioned that there are problems with the session ID and TWG.

    Basically, I want to call a procedure of package from dynamic action where this procedure will perform a form any treatment and insert records into a TWG, which I would then use to dial from a classic APEX SQL report. I seeks to implement the TWG to preserve the lines and run an EXECUTE IMMEDIATE 'TRUNCATE TABLE TWG' within the APEX statement.

    Can someone pls let me know of any problems with the above scenario or I better stick to the Collections of the APEX.

    Hope to hear from someone soon on the above and, possibly, examples of use of TWG in a similar way.

    Thank you.

    Tony.

    You cannot use with APEX, since TWG is bound to a specific database session (aka connection)-> see DECLARE GLOBAL TEMPORARY TABLE statement

    As with APEX you can (and will) get a different Session DB for each load/submit/ajax-call of a page, you will never see the TWG previously created again.

    Peter

  • XMLFile parameter is not supported by Oracle APEX, please use the setXMLFile() method

    "XMLFile parameter is not supported by Oracle APEX, please use the setXMLFile() method.

    I created a test web app in apex.oracle.com to try a few things. I created a Flash 2D pie chart in a Web page, and it seems to make very well. But before rendering, I get the error message above, on the region of graph for 1-2 seconds.

    Can anynone tell me what means the error message above and why I'm getting this. I do not use a custom XML part. Has not changed the default settings of the chart area.

    I could see above the error appearing clearly since the apex.oralce.com is so slow... and graphics region takes awhile to load. Otherwise I could not have noticed. It happens in the IE8 and Google chrome.

    Oralce Apex 4.2.5.00.006 (https://apex.oracle.com)

    Google Chrome 34.0.01847.116

    Internet Explorer 8.0.6001.19518

    Can anyone help please. I'll try to become a test application setup dispalying this awhile earlier error message.

    I used HTML5 graphics in apex 4.2.0.00.27 in my office in my real application workspace. Most of my users still use IE8. HTML5 graphics all appeared well in their IE8 browser. One fine day, some parameters must be changed by my network administrator or soemthing else could have happened. I have no idea. My webapplication HTML5 graphics disappear IE8 users. IE9 users had no problem. I contacted our IT support staff of any changes to security settings that day, or earlier. Absolutely no help from my frustration. I have to change maps of my application (only about 6 of them) to the Flash graphics to overcome this obstacle. This is the story behind why I use Flash cards. If anyone has experienced a similar problem in IE8 HTML5 graphics please shed any light for me... This problem may be nothing to do with the "XMLFile parameter error message', but I'm not sure.

    You strike again BUG introduced with Oracle Application Express 4.2.5

    http://www.Oracle.com/technetwork/developer-tools/Apex/application-express/Apex-425-known-issues-2186292.html

    18601802 - ANYCHART XMLFILE WARNING DISPLAYED BEFORE FLASH GRAPHICS RENDERING when Flash graphics that take a long time to make, the user can see the following warning message appears briefly "XMLFile parameter only is not supported by Oracle APEX, please use setXMLFile() method.» The table will be always delivered. Solution: Please advise end-users to ignore the message.

  • Oracle Apex 4.2.4 cannot create PDF

    I can't create PDF reports through the use of Apex.

    (1) I have installed Oracle XE, upgrade the application Express of Apex 4.2.4.00.08

    (2) in the print report Listener Oracle APEX value Instance settings

    (3) established a basic report of the emp demo table

    (4) set to allow reporting printing = 'yes '.

    When I run the report and select pdf I get error message not a pdf file is valid.

    Open the file in wordpad and it contains, given therefore seems not to be conversion from XML to PDF format below.  Any ideas what I am doing wrong! :

    <? XML version = "1.0" encoding = "UTF-8"? >

    < apexListnerFOP >

    < DOCUMENT >

    < DATE > 07/03/2014 < / DATE >

    STAFF of < user_name > < / username >

    < > 101 APP_ID < / APP_ID >

    Ridgway library < APP_NAME > < / APP_NAME >

    < > 12 PAGE_ID < / PAGE_ID >

    Report < TITLE > 1 < /title >

    < REGION ID = "2221822669173184" >

    rowset <>

    < ROW >

    < > 7369 EMPNO < / EMPNO >

    SMITH < ENAME > < / ENAME >

    CLERK of < JOB > < / JOB >

    < MGR > 7902 < / MGR >

    < HIREDATE > 17/12/1980 < / HIREDATE >

    < > 800 SAL < / SAL >

    < COMM > < / COMM >

    < DEPTNO > 20 < / DEPTNO >

    < / ROW >

    The issue was the auditor of the Apex.  I didn't properly configure it.

    I've recreated the service ensuring that account APEX_PUBLIC_USER has been unblocked and APEX static resources highlighted in apex/pictures folder.

    Now works.

  • Oracle apex without password field application login page

    Hi all

    Someone please help with this request. I want to have a login to application page where users just enter their login user id and just click the button connection; Once they connect. I have an authorisation procedure which checks against the database for their user id table and redirects to different pages based on their role as defined in the database. If its a user id invalid; the process redirects to the page that is not permitted.

    Is it possible in the apex oracle to connect to the app with just their user name. We use Oracle APEX 4.0.2 version and oracle 10g r2 database.

    Previously, we had the LDAP authentication, which was no - ssl and we do not want to use it, as this will not be the policy of the company. We have tried to establish a SSL connection and create oracle certificate using s/n, but it always takes some time.

    DECLARE

    v_role VARCHAR2 (30);

    v_page NUMBER;

    BEGIN

    BEGIN

    SELECT user_role

    IN v_role

    FROM table_a

    WHEN USER_ID = UPPER (TRIM (: P101_USERNAME));

    EXCEPTION WHEN NO_DATA_FOUND THEN

    v_role: = NULL;

    END;

    IF v_role = "MANAGER" OR v_role = "ADMINISTRATOR."

    THEN

    v_page: = 1;

    ELSIF v_role = "ANALYST."

    THEN

    v_page: = 32;

    ON THE OTHER

    v_page: = 200;

    END IF;

    APEX_UTIL.set_session_state (p_name = > 'FSP_AFTER_LOGIN_URL', p_value = > NULL);

    wwv_flow_custom_auth_std. Login (P_UNAME = >: P101_USERNAME,)

    P_PASSWORD = >: P101_PASSWORD,.

    P_SESSION_ID = > v ("APP_SESSION").

    P_FLOW_PAGE = >: APP_ID | ':' || v_page);

    END;

    How to change, the process described above to allow the value null for the password field.

    Please help with possible suggestions. Thanks in advance.

    Thank you

    Orton

    Write a custom authentication scheme

    http://allthingsoracle.com/custom-authentication-in-apex/

    and simply return true without checking the password field. The author, Patrick Barel, gives an example:

    FUNCTION authenticate (username_in in VARCHAR2

    password_in IN VARCHAR2)

    RETURN A BOOLEAN VALUE

    IS

    BEGIN

    RETURN TRUE;

    END to authenticate;

    A custom authentication function can do what you want in terms of functionality, as long as it returns true if the authentication is successful or false otherwise.

  • How add us a button to check for each line in a report to oracle Apex?

    How we publish one every line ina report in oracle Apex? (with the help of select * from empdate)

    I need to add new row in the table (with the help of select * from empdate)

    I need to click on the box and I want to delete the row from the table!

    I need to click on the box and I want to change the whole table raow!

    See this blog entry for an example: adding a checkbox to your report & #8211; APEX_ITEM tutorial & #8211; APEX blog

    Thank you

    Tony Miller

    Software LuvMuffin

Maybe you are looking for

  • "Your computer restarted because of a problem" white screen

    Times completely random, sometimes while doing work, sometimes just browse Safari; My Mid 2010 15 "MacbookPro will hang at a blank screen and tell me she restarted because of a problem. I tried AHT 'internet recovery mode' and he told me that the mac

  • Keychain forgot my password

    Keychain seems to have forgotten my password, because I have to enter each at the opening of my commonly used web sites. I've recently updated to OS 10.9.5 since an earlier version of OS 10. Any ideas?

  • Problems with iOS 9.3.1

    Hello! I just noticed today that the screen refreshes not enough fast or I can say that exhibitions display a sort of flicker. This happened after the recent update 9.3.1. At home, we have three iPad and the iPhone. To be precise, the above mentioned

  • DVD player doesn't read CD - R not

    Got the new laptop 2 days ago everything is going well until a friend gave me a cd - r with a few pictures on it. For some reason when I inserted it the computer could not find, asks me to insert a cd when I double-clicked on the drive in my computer

  • Static IP configuration on a WRT610N, need a bit of help please

    173.15.62.62 bridge . 61. 57 subnet Define the Internet to use the static IP... then enter the path of the door, DNS, etc. I guess the IP address is 173.15.62.61 (OR any of my usable subnet to. 61-. 57) Now, the value OFF, DHCP and NAT off (correct?)