Display the values of the 2D stacked column chart

Hello

I use the following sql which shows the percententage of errors in a month
SELECT NULL
,      TO_CHAR(MA.DATE_LOGG,'Mon'),
sum(decode(el.error_type,'On',1,0)) "Ons", 
sum(decode(el.error_type,'Pa',1,0)) "Prt",
sum(decode(el.error_type,'No D',1,0)) "No D",
sum(decode(el.error_type,'Sys',1,0)) "Sys",
sum(decode(el.error_type,'Oth',1,0)) "Oth"
FROM
       table1 MA, table2 EL, table3 CR
       WHERE
                 MA.ERROR = EL.ERROR
       AND       MA.ERROR IS NOT NULL
       AND       MA.COUNTRY = CR.COUNTRY_CODE         
      AND       TO_CHAR(DATE_LOGG,'YYYY') = nvl(:P5_FILTER,to_char(sysdate,'YYYY'))
      AND       CR.REGION_CODE = NVL(:P5_REGION,CR.REGION_CODE)
GROUP BY TO_CHAR(MA.DATE_LOGG,'Mon'),  trunc(ma.date_logg, 'Month')
ORDER BY  trunc(ma.date_logg, 'Month')
Now the values are displayed correctly, however, the stacked bar displays the real percentage value, for example 60% on stacked bar. When we mouse over the bar it shows "No D", Sys, Oth. Is there a way to display permanently type Decode and percentages?

Apex 4.1 / 11g

Thank you
Sun

Hi Sun,.

If you would like to add the series name in the values displayed in the bar of the items themselves, then you will need to customize the XML graph and update the tag to embed {% SeriesName}. I've added an example for my sample application, indicating where the XML code must be changed: http://apex.oracle.com/pls/apex/f?p=36648:90. For a complete list of available AnyChart keywords, such as % SeriesName, please see the AnyChart online documentation: http://anychart.com/products/anychart/docs/users-guide/label-text-formatting.html?fromtree.

I hope this helps.
Kind regards
Hilary

Tags: Database

Similar Questions

  • How to display a value of transitional attribute to column db entity column?

    Mr President

    Help me at the time 12.2.1 jdev.

    How to display a value of transitional attribute to column db entity column?

    I have the requirement to indicate a value of transitional attribute column in the column db entity for some reason any.

    Any body can help as my show in the picture below

    The StAmt is a transitional column and a column db of the entity.

    tworows.png

    Any body can help please. !

    Concerning

    This means that the amount to be the attribute will always has the same value of the transient attribute? If so, why do you want the amount attribute the transient attribute is sufficient?

    Anyway, if you want to get attribute data in attribute transitional amounts you can open class ViewRowImpl and appearing in the getter or amount, you can get the value in the transitional as attribute:

      public Number getAmount()
      {
        return getTransientAttribute();
        //return (Number) getAttributeInternal(AMOUNT);
      }
    

    in this case, the quantity data store database will not appear on the table it will still get the transitional attribute data and it's meaningless.

  • Request for 3D stacked column chart

    Hello

    I had two 3D histograms. Each table has separated the SQL statement, which are very similar only difference is in the WHERE clause. Now I would like to combine the bottom two codes into one and create only a single 3-d stacked column chart.

    CODE 1:

    Select

    link null, label RECEIVED_DATE, COUNT (TICKET_ID) as "received".

    Of

    QTMT_TICKETS

    where

    RECEIVED_DATE BETWEEN sysdate-7 AND sysdate AND

    BATCH = 1

    Group

    RECEIVED_DATE

    order by

    RECEIVED_DATE / / desc

    CODE 2:

    Select

    link null, RECEIVED_DATE, COUNT (TICKET_ID) label as "rejected."

    Of

    QTMT_TICKETS

    where

    RECEIVED_DATE BETWEEN sysdate-7 AND sysdate AND

    BATCH = 11

    Group

    RECEIVED_DATE

    order by

    RECEIVED_DATE / / desc

    Would you please so kind and help me with this? I tried to do it, but failed.

    Thank you very much and best regards,

    Vladimir

    Refer to this link to add an additional series: How to create a stacked bar chart

    Thank you

    Tony Miller
    Software LuvMuffin
    Ruckersville, WILL

  • How to use the script to display the number of columns contain no data

    I have a requirement. There is a source that is the excel, the excel file file, we need to load data into the staging table. There are 5 columns mandatory ones must not be null. We used "No. Data Check" for this. The logic is so mentioned previously mentioned 5 columns don't contain any record that the record will be moved to without data. So far, it is fine. Now the requirement is to show what column or columns contain no data. We used a script to do this like:

    RES =' '

    RES = input1 [0] + ": failed because values null in required columns;"

    INPUT1 [1] = res;

    Output 1 = res;

    But it shows message "down because of nulls in the required columns", which is a generic message. We must show what column or columns does not contain the value "failed because of null values in a column required columnA, columnB or columnC. Can someone help me in this regard. Any kind of help is appreciated.

    You can use the variable inputname1, which keeps an array of names of the entry for the script processor attribute. For example:

    var result = "";

    var first = true;

    for (i = 1; i< input1.length;="" i++)="">

    If (input1 [i] == null | input1 [i] == ' ') {}

    If {(first)

    Firstly = false;

    } else {}

    result += "";

    }

    lead inputname1 += [i];

    }

    }

    If (result.length > 0) {}

    result = "failed due to null values in the following mandatory columns:"+ result; "

    }

    Output 1 = result;

    Kind regards

    Nick

  • display the name of column in exported .xls

    Hello

    I found the following code which works perfectly to export data from forms in .xls.
    procedure ExportToExcel is
    
    APPLICATION OLE2.OBJ_TYPE;
    WORKBOOKS OLE2.OBJ_TYPE;
    WORKBOOK OLE2.OBJ_TYPE;
    WORKSHEETS OLE2.OBJ_TYPE;
    WORKSHEET OLE2.OBJ_TYPE;
    ARGS OLE2.LIST_TYPE;
    CELL OLE2.OBJ_TYPE;
    J INTEGER;
    K INTEGER;
    file_name_cl VARCHAR2(32767);
    user_cancel EXCEPTION;
     
     
    BEGIN
     
    file_name_cl := CLIENT_GET_FILE_NAME('C:\rep2excel', 'MyExport.xls', 'XLS Files (.xls)|*.xls|', NULL, SAVE_FILE, TRUE);
    file_name_cl := SUBSTR(file_name_cl,1,LENGTH(file_name_cl));
    --
    IF file_name_cl IS NULL THEN
    MESSAGE('INSIDE EXCEPTION STATEMENT');
    RAISE user_cancel;
    END IF;
     
    --MESSAGE('STARTING TRIGGER');
     
     
    APPLICATION := OLE2.CREATE_OBJ('Excel.Application');
    OLE2.SET_PROPERTY(APPLICATION,'Visible',True);
     
    WORKBOOKS := OLE2.GET_OBJ_PROPERTY(APPLICATION, 'WORKBOOKS');
    WORKBOOK := OLE2.INVOKE_OBJ(WORKBOOKS, 'ADD');
    WORKSHEETS := OLE2.GET_OBJ_PROPERTY(WORKBOOK, 'WORKSHEETS');
    WORKSHEET := OLE2.INVOKE_OBJ(WORKSHEETS, 'ADD');
     
    GO_BLOCK('ELEVI');
     
    FIRST_RECORD;
     
    J:=1;
     
    K:=1;
     
    WHILE :SYSTEM.LAST_RECORD = 'FALSE'
     
    LOOP
     
    FOR K IN 1..9 --form has 9 columns
     
    LOOP
     
     
    If not name_in(:system.cursor_item) is NULL Then
     
    args:=OLE2.create_arglist;
     
    OLE2.add_arg(args, j);
     
    OLE2.add_arg(args, k);
     
    cell:=OLE2.get_obj_property(worksheet, 'Cells', args);
     
    OLE2.destroy_arglist(args);
     
    OLE2.set_property(cell, 'Value', name_in(:system.cursor_item));
     
    OLE2.release_obj(cell);
     
     
    End If;
     
    NEXT_ITEM;
     
    END LOOP;
     
     
    J:=J+1;
     
    NEXT_RECORD;
     
    END LOOP;
     
     
    -- for the last record
     
    for k in 1..9
     
    loop
     
    If not name_in(:system.cursor_item) is NULL Then
     
    args:=OLE2.create_arglist;
     
    OLE2.add_arg(args, j);
     
    OLE2.add_arg(args, k);
     
    cell:=OLE2.get_obj_property(worksheet, 'Cells', args);
     
    OLE2.destroy_arglist(args);
     
    OLE2.set_property(cell, 'Value', name_in(:system.cursor_item));
     
    OLE2.release_obj(cell);
     
    End If;
     
    next_item;
     
    end loop;
     
    OLE2.Release_Obj(worksheet);
     
    OLE2.Release_Obj(worksheets);
     
    -- Save the Excel file created
     
    args := OLE2.Create_Arglist;
     
    OLE2.Add_Arg(args,'c:\temp\test.xls');
     
    OLE2.Invoke(workbook, 'SaveAs', args);
     
    OLE2.Destroy_Arglist(args);
     
    -- release workbook
     
    OLE2.Release_Obj(workbook);
     
    OLE2.Release_Obj(workbooks);
     
    OLE2.Release_Obj(application);
     
    MESSAGE('RIGHT BEFORE END');
    END;
    But the cells are filled with data from the 1st line. In Excel, on the 1st line, with bold, I want the name of the columns. How can I do? If the recordings should start from the 2nd line.
    Any ideas?

    Thank you!

    Rogerrrrrrrrrr...
    because there was a pause stmt. in the code... as a stmt message... remove a friend!
    you don't need this funtion now that you need display all visible items in the block...

    PROCEDURE l_call_Excel(p_block varchar2 ) is
    
    APPLICATION OLE2.OBJ_TYPE;
    WORKBOOKS OLE2.OBJ_TYPE;
    WORKBOOK OLE2.OBJ_TYPE;
    WORKSHEETS OLE2.OBJ_TYPE;
    WORKSHEET OLE2.OBJ_TYPE;
    Arglist OLE2.LIST_TYPE;
    CELL OLE2.OBJ_TYPE;
    J INTEGER;
    K INTEGER;
    file_name_cl VARCHAR2(32767);
    user_cancel EXCEPTION;
    Workfont OLE2.OBJ_TYPE;
    WorkInterior OLE2.OBJ_TYPE;
    m_item varchar2(40);
    m_tot_columns number := 0;
    --Inner Proc.
    Procedure put_cell (Row_num number,
                        Col_num number,
                        put_value varchar2,
                        font_name varchar2 default null,
                        font_size binary_integer default null,
                        font_style varchar2 default null,/*here you can pass BOLD for bold, ITALIC for italic etc*/
                        font_color binary_integer default null) is
    Begin
            Arglist := OLE2.create_arglist;
            OLE2.add_arg(Arglist,row_num);
            OLE2.add_arg(Arglist,col_num);
                   cell := OLE2.get_obj_property(Worksheet,'Cells',Arglist);
            OLE2.destroy_arglist(Arglist);
            OLE2.set_property(cell,'Value',put_value);
    
            Workfont := OLE2.get_obj_property(cell,'Font');
            WorkInterior := OLE2.get_obj_property(cell,'Interior');
            If font_name is not null then
                   OLE2.set_property(Workfont,'Name',font_name);
            End if;
            If font_size is not null then
                   OLE2.set_property(Workfont,'Size',font_size);
            End if;
            If font_style is not null then
                   OLE2.set_property(Workfont,font_style,1);
            End if;
            If font_color is not null then
                   OLE2.set_property(Workfont,'ColorIndex',font_color);
            End if;
    OLE2.release_obj(workfont);
    OLE2.release_obj(workinterior);
    OLE2.release_obj(cell);
    End;
    
    BEGIN
    
      file_name_cl := CLIENT_GET_FILE_NAME('C:\rep2excel', 'MyExport.xls', 'XLS Files (.xls)|*.xls|', NULL, SAVE_FILE, TRUE);
      file_name_cl := SUBSTR(file_name_cl,1,LENGTH(file_name_cl));
      --
      IF file_name_cl IS NULL THEN
         MESSAGE('INSIDE EXCEPTION STATEMENT');
         RAISE user_cancel;
      END IF;
      --MESSAGE('STARTING TRIGGER');
    
      APPLICATION := OLE2.CREATE_OBJ('Excel.Application');
      OLE2.SET_PROPERTY(APPLICATION,'Visible',True);
    
      WORKBOOKS := OLE2.GET_OBJ_PROPERTY(APPLICATION, 'WORKBOOKS');
      WORKBOOK := OLE2.INVOKE_OBJ(WORKBOOKS, 'ADD');
      WORKSHEETS := OLE2.GET_OBJ_PROPERTY(WORKBOOK, 'WORKSHEETS');
      WORKSHEET := OLE2.INVOKE_OBJ(WORKSHEETS, 'ADD');
      OLE2.set_property(Worksheet,'Name','this is my sheet, named by me');
    
      GO_BLOCK(p_block);
      FIRST_RECORD;
     /*as your data should print from second row*/
      J:=2;
      K:=1;
      LOOP
        m_item := get_block_property(p_block,first_item);
        K:=1;
        Loop
         exit when M_ITEM IS NULL ;
          If not id_null(find_item(p_block||'.'||m_item))  then
               If get_item_property(p_block||'.'||m_item,item_type)IN ( 'TEXT ITEM' ,'DISPLAY ITEM','LIST','CHECKBOX')
                     and get_item_property(p_block||'.'||m_item,visible) ='TRUE'   then
                    If j=2 then
                    put_cell(1,k,get_item_property(p_block||'.'||m_item,column_name));
                  end if;
                  If not name_in(p_block||'.'||m_item) is NULL Then
                    put_cell(j,k,name_in(p_block||'.'||m_item));
                  End If;
                  K:=k+1;
                 end if;
           end if;
         m_item := get_item_property(p_block||'.'||m_item,NEXTITEM );
         END LOOP;
         J:=J+1; 
    
       exit when :system.last_record = 'TRUE';
       NEXT_RECORD;
       END LOOP;
      OLE2.Release_Obj(worksheet);
      OLE2.Release_Obj(worksheets);
      -- Save the Excel file created
      Arglist := OLE2.Create_Arglist;
      OLE2.Add_Arg(Arglist,'c:\temp\test.xls');
      OLE2.Invoke(workbook, 'SaveAs', Arglist);
      OLE2.Destroy_Arglist(Arglist);
      -- release workbook
      OLE2.Release_Obj(workbook);
      OLE2.Release_Obj(workbooks);
      OLE2.Release_Obj(application);
      MESSAGE('RIGHT BEFORE END');
    END;
    
  • Cannot display the data in a chart, received the error: no connection is possible.

    Hi Expert,

    I am under sample SH in OracleBI response. Extract them from data in a table are fine, but I can't view a chart.

    Thank you
    Helen

    Here is the error message:
    -----
    Graphic generation error
    An error occurred during the execution of 'connect' No connection could be made because the target machine actively refused it. [Socket: 764]
    Error details
    Error codes: ETI2U8FA
    -----

    I use oc4j

    Here is the site:
    http://5y2xch1:9704/Analytics/saw.dll?answers & SubjectArea = SH


    This is SQL
    ----
    SELECT products. Prod name' saw_0, calendar. "" Calendar month Desc ' saw_1, calendar. "" Calendar Month Name "saw_2,"sales facts. " "" Amount sold "saw_3 OF SH ORDER BY saw_0, saw_1, saw_2
    Here is xml in advance
    -------

    "< xmlns:saw="com.siebel.analytics.web/report/v1 saw: report "container ="http://www.w3.org/2001/XMLSchema"xmlVersion ="200705140"xmlns: xsi ="http://www.w3.org/2001/XMLSchema-instance"xmlns:sawx="com.siebel.analytics.web/expression/v1 ">"
    < subjectArea saw: criteria = "SH" >
    < saw: columns >
    < formula saw: column = 'products. & quot; Prod name & quot; ' columnID = "c2" / >
    < formula saw: column = "calendar. & quot; Calendar month Desc & quot; ' columnID = 'c0' / >
    < formula saw: column = "calendar. & quot; Calendar Month Name & quot; ' columnID = "c1" / >
    < formula saw: column = "& quot; Made sales & quot;. & quot; Amount sold & quot; ' columnID = 'c3' / > < / saw: columns > < / saw: criteria >
    < saw: views currentView = "2" >
    < saw: view xsi: type = "saw: compoundView" name = "compoundView! 1"rptViewVers ="200510010">
    < saw: cvTable >
    < saw: cvRow >
    < viewName saw: cvCell = "titleView! 1 ">
    < saw: displayFormat / > < / saw: cvCell > < / saw: cvRow >
    < saw: cvRow >
    < viewName saw: cvCell = "tableView! 1 ">
    < saw: displayFormat / > < / saw: cvCell > < / saw: cvRow > < / saw: cvTable > < / saw: see >
    < saw: view xsi: type = "saw: titleView" name = "titleView! 1"rptViewVers ="200510010"/ >
    < saw: view xsi: type = "saw: tableView" name = "tableView! 1"rptViewVers ="200510010"more ="false"/ >
    < saw: view xsi: type = "saw: staticchart" name = "staticchart! 1"rptViewVers ="200510010">
    < tid="charts/column.cxml"/ saw: model >
    < saw: selections >
    < saw: Categories >
    < position saw: category = "0" >
    < columnID saw: column = "c2" / > < / saw: category > < / saw: Categories >
    < saw: measures >
    < columnID saw: column = position 'c3' = '0' / > < / saw: measures >
    < saw: seriesGenerators >
    < saw: measureLabels / > < / saw: seriesGenerators > < / saw: selections >
    < saw: canvasFormat / > < / saw: view > < / saw: views > < / saw: report >

    Published by: user914594 on February 4, 2011 08:22

    Hello
    Check the Oracle BI server Javahost weather is on or not. If the server is.
    Click Start-> Run-> Services.msc

    What version of OBIEE do you use?

    Kind regards
    Srikanth

  • Display the column names in a table

    Stupid question time...

    How to display the names of columns in a table on the front panel? I thought by right clicking on the table would give me a selection to view.

    Hi Eric,.

    Right-click the table and select "Show column headers" visible elements "->":

  • Windows Live Mail Inbox does not display the sender first name

    In the Inbox Windows Live Mail how can I change the order of the shipper and the Re?  I have two new computers and two new Windows Live Mail.  On one, the command is correct.  Name of the sender is first in bold and easy to see.  On the second computer the Re is the first, in bold.  Name of the sender is second, smaller in size and hard to see.  I want to first see the sender name.  I have Windows 7 Home premium 64-bit for both computers.

    You have the pane of folders on the left, the list of messages in the Center and the reading pane on the right.

    You see the inconvenience of having the reading pane on the right.  The list of messages is not wide enough to display the number of columns.

    You can display the reading pane on the bottom.  View tab, reading pane,... Bottom

    At the top of the list of messages, right-click a column header, columns...

  • Display the name of the tag as the column name and the value in the tag as a row of data from the input string.

    Hi Forum members,

    I am looking for a query display the name of the tag as the column name and the value in the tag as a row of data.

    I have to print the values within the tag to a file by choosing the value of the flags. the sequence of the tags will vary each time, as the tag name will change dynamically.

    So here is the example of input data and the expected output. The string in the text column must be separated as the column names and values.

    Input data
    Select 1 as seqno,' < > 0210A 50 4f < / 4f > < 5f20 > TEST CARD 16 < / 5f20 > < 5f2a > < / 5f2a > < 82 > 1 c 00 < / 82 > ' double text


    Output:

    Seqno 4f 5f20 5f2a 82
    0210A 50 16 1 00 TEST CARD 1

    Please help me by providing your entries on this.

    We use the version of Oracle 11.2.

    Note: This is not the XML string

    Thank you

    Shree

    with

    data in the form of

    (select 1 as seqno,'<4f>0210 A 50<5f20>TEST CARD 16<5F2a><82>00 1' text of all the double union)

    Select 2 as seqno,'XYZ<4F>0210 A 50<5f20>TEST CARD 16<5f2a><82>00 1' text of all the double union

    Select 3 as seqno,'<4f>0210 A 50<5f20>TEST CARD 16<5F2A><82>1 00XYZ ' text of all the double union

    Select option 4 as seqno,'<4F>0210 A 50<5F20>TEST CARD 16<5f2A><82>1 00XYZ' double text

    )

    Select d.seqno, x.*

    d the data,

    XMLTable ('/ root')

    by the way xmltransform (xmltype ('': replace (replace (text,'<><>'),)))

    XmlType (q'~http://www.w3.org/1999/XSL/Transform "version ="1.0"> ")

                                                     

                                                       

                                                         

                                                       

                                                     

                                                     

                                                       

                                                         

                                                       

                                                     

    ~'

    )

    )

    path of columns '4f' varchar2 (10) "tag4f."

    path of "5f20' varchar2 (30)"tag5f20. "

    path of '5f2a' varchar2 (10) "tag5f2a."

    path of varchar2 (10) "82" "tag82.

    ) x


    SEQNO 4f 5f20 5f2a 82
    1 0210A 50 16 TEST CARD - 1 00
    2 0210A 50 16 TEST CARD - 1 00
    3 0210A 50 16 TEST CARD - 1 00
    4 0210A 50 16 TEST CARD - 1 00

    with

    data in the form of

    (select 1 as seqno,'<4f>0210 A 50<5f20>TEST CARD 16<5F2a><82>00 1' text of all the double union)

    Select 2 as seqno,'XYZ<4F>0210 A 50<5f20>TEST CARD 16<5f2a><82>00 1' text of all the double union

    Select 3 as seqno,'<4f>0210 A 50<5f20>TEST CARD 16<5F2A><82>1 00XYZ ' text of all the double union

    Select option 4 as seqno,'<4F>0210 A 50<5F20>TEST CARD 16<5f2A><82>1 00XYZ' double text

    ),

    Chopper (seqno, Key, value, String) as

    (select seqno,

    regexp_substr (text,'<(.+?)>', 1, 1, null, 1),

    regexp_substr (Text,'>(.*?))

    regexp_substr (text,'<.+?>. *? ) (.*) $', 1, 1, null, 1). » <>'

    from the data

    Union of all the

    Select seqno,

    regexp_substr (String,'<(.+?)>', 1, 1, null, 1),

    regexp_substr (String,'>(.*?))

    regexp_substr (String,'<.+?>. *? ) (.*) $', 1, 1, null, 1)

    Chopper

    where regexp_substr (string,'<(.*?)>', 1, 1, null, 1) is not null

    )

    Select '4f', seqno, '5f2a', '82', '5f20.

    of (seqno, lower (key) select key, value)

    Chopper

    )

    Pivot (max (value) for key in ('4f' as '4f', '5f20' as '5f20', '5f2a' as '5f2a', "82" as "82"))

    Concerning

    Etbin

  • Display the value of the column automatically based on another column in a table

    Hello

    I use APEX 5.0, I have a requirement to display the field automatically based on the tabular presentation of other numbers.

    img.png

    in the screen shot attached above when I press Add button line a new line is created and enter the value in 'place no.', 'dept and identification of height place' when I press tab or get out of the column "height", "GID" should appear automatically.

    To display the GID my query will be like that. "Select GID from x where no = '1011' place and dept = 88 and height = 88'.

    How to get the value of from GID of the another value entered in Place no, dept and height in tabular form.

    Thanks in advance

    Ravi.

    Hi Ravi

    No need to point of Application or process. I just completed the task with the following steps

    (1) create 4 hidden items

    P2_SELWID

    P2_SELDEPTH

    P2_SELHEIGHT

    P2_CALCWNAME

    (2) gives 3 CSS classes in three columns of tables.

    . WID

    . DEPTH

    . HEIGHT

    (3) create the function jQuery for re - get three items from the page on a line if one of them has been changed.

    Add the following code to the function and the declaration of global variables

    function setRowItemValues(p_rownum){
        wid_col_id = 'f02_' + rownum ;
        wid_col_val = $('#'+wid_col_id).val();
        depth_col_id = 'f03_' + rownum ;
        depth_col_val = $('#'+depth_col_id).val();
        height_col_id = 'f04_' + rownum;
        height_col_val = $('#'+height_col_id).val();
        wname_col_id = 'f05_' + rownum;
        // set P2_SELWID,P2_SELDEPTH,P2_SELHEIGHT
        $s("P2_SELWID", wid_col_val );
        $s("P2_SELDEPTH", depth_col_val );
        $s("P2_SELHEIGHT", height_col_val );
        $s("P2_SELWNAMEID", wname_col_id );
        // Call the Dynamic Action to get WNAME if all values are not null
        if( wid_col_val != ''  && depth_col_val != '' && height_col_val != '' ){
            //Call DA to Get WNAME from WINT
            $.event.trigger("CalcWNAME");
            // set the Tabular form
            $('#'+wname_col_id).val($x("P2_CALCWNAME").value);
        }
    }
    

    and run when the Page loads

    $(document).on("change", ".WID,.DEPTH,.HEIGHT", function(){
        rownum = $(this).attr('id').substr(4);
        setRowItemValues(rownum);
    });
    

    (4) create a dynamic Action to get WNAME based on a PL/SQL function. Note the submitted page elements.

    CalcWNAME

    (5) set of the corresponding element in the line of the function jQuery, after completing the DA.

    Please check and I hope your problem is now solved.

    Concerning

    Mahmoud

  • How to display the value of the column

    Oracle 10g on Linux

    I want to display the value of the id column in the table of www if count (distinct id) is 1. The following query is fine except that it does not display the value of the column ID help, please.
    SELECT count(distinct id)
                   FROM www c
                  WHERE C.x_code IN (SELECT D.x_code
                                                     FROM www_app d
                                                    WHERE d.y_code = '1151299386')
                  having count(distinct id) = 1                                                

    I think you can use MAX in this case

    SELECT max(id)
                   FROM www c
                  WHERE C.x_code IN (SELECT D.x_code
                                                     FROM www_app d
                                                    WHERE d.y_code = '1151299386')
                  having count(distinct id) = 1
    
  • How to display the number of lines of time giving the values of the columns?

    Hi all

    I want to display the number of rows times the value exists in the column num in the query below


    with t AS
       ( SELECT 'venkatesh' NAME, 'hyd' LOC, 2 NUM FROM DUAL
         UNION ALL
         SELECT 'prasad' NAME, 'hyd' LOC, 3 NUM FROM DUAL
         UNION ALL
         SELECT 'krishna' NAME,     'hyd' LOC, 1 NUM FROM DUAL )
      SELECT T.* FROM T
      CONNECT BY ROWNUM <= NUM
    
    
    Expected output:
    
             venkatesh            hyd      2
             venkatesh            hyd        2
             prasad                 hyd        3
             prasad                   hyd      3
             prasad                   hyd      3
             krishna           hyd       1
    Published by: Nag Aswadhati on November 1, 2012 12:34

    Aswadhati NAG wrote:
    Hi all

    I want to display the number of rows times the value exists in the column num in the query below

    Expected output:
    
    venkatesh            hyd      2
    venkatesh            hyd        2
    prasad                 hyd        3
    prasad                   hyd      3
    prasad                   hyd      3
    krishna           hyd       1
    

    With the help of connection by: -.

    with t AS
       ( SELECT 'venkatesh' NAME, 'hyd' LOC, 2 NUM FROM DUAL
         UNION ALL
         SELECT 'prasad' NAME, 'hyd' LOC, 3 NUM FROM DUAL
         UNION ALL
         select 'krishna' name,     'hyd' loc, 1 num from dual )
      select t.name, t.loc
      from t
      connect by level <= num
             and name = prior name
             and (prior sys_guid() is not null);
    
    NAME      LOC
    --------- ---
    krishna   hyd
    prasad    hyd
    prasad    hyd
    prasad    hyd
    venkatesh hyd
    venkatesh hyd 
    
     6 rows selected
    
  • Implementation report in shape to display the header of the column on the left, right, with values

    Hi guys,.

    I created a report that copies the data on my table (the usual apex report).

    Basically I want to format the output of my data like this:

    ID of the database: 14
    Name of the database: Oracle 11 G
    Build databases: xx... xxx

    Is it possible that I can do the report format so it displays the headers on the side instead of up as result of the SQL query.


    Thanks a lot guys.

    Published by: AI November 30, 2011 22:00

    I wrote:
    Looks like one I need is

    Paging & page layout > Template1: value attribute pair

    When I format it as I would in MS Word so headers aligning left (instead of Center) and right values?

    Have you tried to set column alignment/topic alignment properties in the report column attributes?

    Thanks a lot guys. Sorry, I'm very new to this SUMMIT.

    You will get a faster, more effective response to your questions including information as much information as possible from the outset. This should include:

  • Full version of APEX
  • Edition and the full version of DB
  • (EPG, SST or APEX listener) Web server architecture
  • Browser (s) and version (s) used
  • Theme
  • Model (s)
  • Region/item (s)

    With APEX, we are fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things is the best way to solve most of the problems.

  • How do I display values skyrocket in the IR filter for the joined table columns?

    Hello

    I have a problem in the IR the query is based on a table, joined with other tables. I would like to provide users the ability to use IR filter search bar in the joined table columns. The problem facing on this filter, the Expression field, by pressing the arrow button displays values for the fields in the primary table, but not for fields that come from joined tables. Have you experienced this behavior in your reports? Is this normal?

    TIA

    Hello

    Correlated subqueries can improve performance - but it does not depend on the involved tables, the number of columns and the existence of indices. As far as I know, the optimizer has problems with them. You could try to explain the Plans on the two statements to verify that.

    In any case, I created a new test page with the SQL for IR:

    SELECT E.EMPNO,
    E.ENAME,
    D.DEPTNO,
    D.DNAME,
    E2.EMPNO "EMPNO2",
    E2.ENAME "ENAME2"
    FROM EMP E, EMP2 E2, DEPT D
    WHERE E.EMPNO = E2.EMPNO(+)
    AND E.DEPTNO = D.DEPTNO(+)
    AND E2.PRIMARY_EMPLOYEE(+) = 'Y'
    

    http://Apex.Oracle.com/pls/OTN/f?p=267:226

    As far as I can see, it works properly - except that if I do a filter on the ename column, when I try to create a second filter, drop-down lists ename all the values, while the other columns list only the available values after having applied the first filter. Which seems strange that the filters are applied as ANDS. But it does the same thing for other areas - IE, the field used in a filter is not filtered for the second filter - so I guess this is normal, but only a person in Apex could probably explain why it is so.

    Otherwise, everything seems to work as I expect and the above page works the same as my test page, which uses external joins http://apex.oracle.com/pls/otn/f?p=267:224

    Andy

  • Multiple values per column in the stacked bar chart

    I want to use a bar chart stacked in a dashboard of the process, but I am wondering how I can add multiple values per column, because through the available methods, you can only add one value per column. I add some values to hardcode and I get the chart but, for example, I want to add series anocher in the table named 'Closed' and values for this in each column (January, February, etc.)

    Data source for filling
    result as a Fuego.Chart.DefaultXYDataSource
    result = Fuego.Chart.DefaultXYDataSource ("Opened");

    addValue result
    using
    value = 5,
    columnHeader = "January".

    addValue result
    using
    value = 10,
    columnHeader = "February".

    addValue result
    using
    value = 15,
    columnHeader = "March".

    addValue result
    using
    value = 7,
    columnHeader = "April".


    I enjoyed your collaboration if you have worked with graphics stacked bar.

    Hello

    You were very close.

    Try to use the Fuego.Chart.XYZDataSourceImpl object. This will give you the third dimension that your stacked bar chart needs and these attributes in the addValue method:

  • value
  • rowHeader (maybe that's where you set your month name)
  • columnHeader (maybe it's where set it to 'Open' or 'Closed' in your example)

    Dan

Maybe you are looking for

  • Is it possible to set up an Apple TV Remote to control an iPad Pro?

    Hello I'm looking to put up an Apple TV remote be able click through a presentation of the iPad... Is there a way to define who, perhaps even to the control through an album in the Photos app? Or would I need to get the remote bluetooth?

  • S277HK drivers

    I try to install the drivers for the monitor in Windows 10 S277HK and the response of the system the generic Plug & Play monitor is updated. Y at - it a special procedure to install these drivers? Thanks for your help.

  • Restart loses the profile.

    Every time my computer reboots, Vista can not find my profile and creates a temporary profile.  I use restore system (rstrui.exe) once or twice to get my profile up.  What is the problem and how to fix it?

  • BlackBerry App stopped whatsapp

    WhatsApp app do not open, no update I deleted it and tries to install but unable to do so. already updated to 2474 and I tried two ways to suggestions on BB forums but nothing has worked.  any help will be appreciated.

  • Hide the extension of the url

    Hello!Muse has an option to hide the extension .html in the url?