Attributes of OBIEE separate column in analysis

Hi all

I am fairly new to create analysis OBIEE and I need help. We have a table called 'Attributes of Service request' and there is an attribute called "number of days open. Currently, for the column that's just showing ' < = 5 days open ' and I'm looking to display other attributes, such as 'open 6-20 days' (each in their own column), open from 21 to 40 days "etc... and I can't seem to find how do."

As always, thanks for the help!

Looks like you need a column logic days open age group.

Find out the right answer here: BI report ages?  It will give you a place to start and apply the same technique to your question.

If you want a column to each slice, then just evaluate each specific cases.

EX:

for the less equal than 5 logical column:

CASE WHEN #DaysOpen > = 5 THEN END to 1 0 OTHERWISE

for the logical column 6-20:

CASE WHEN #DaysOpen<5 and="" #daysopen=""><=20 then="" 1="" else="" 0="">

NOTE: together the aggregation rule on these sum... now you have a 'meter' of the 'elements' in the buckets...

Tags: Business Intelligence

Similar Questions

  • A way to return to the controls at the top of the files and thumbnails when hovering over the name of the file?  I can't even read the sticker because it has been moved to a separate column on the right.

    A way to return to the controls at the top of the files and thumbnails when hovering over the name of the file?

    I can't even read the sticker because it has been moved to a separate column on the right.

    Hi Bobca,

    I'm sorry, but the forecast of nail has been deprecated in the latest version due to security problems.

    Kind regards

    Nicos

  • Values of Colum as separate columns

    I have a table that looks like this:

    Company (varchar),
    FieldName (varchar)
    Valuex (varchar)

    Data can look like this:

    Company Fieldname valuex
    ------------- --------------- -----------

    John 123 name
    MiddleName 123 C
    LastName 123 Smith

    I would like to write a query that comes out like this:

    MiddleName t first name last name company
    ------------- ------------ ---------------- ------------
    Smith John 123 C



    It can be? Thanks in advance.

    Hello

    Column definitions must be hard-coded in the application.
    You cannot hardcode anything today and make sure that it reflects accurately data next year.
    but you can write soemthing today who, when it is executed next year, will make the hardcode then.
    This is called dynamic SQL.
    Here's a way to do it in SQL * Plus, with the command of the COIL:

    /*
    How to Pivot a Table with a Dynamic Number of Columns
    
    For example, you want to make a cross-tab output of
    the scott.emp table.
    Each row will represent a department.
    There will be a separate column for each job.
    Each cell will contain the number of employees in
         a specific department having a specific job.
    The exact same solution must work with any number
    of departments and columns.
    (Within reason: there's no guarantee this will work if you
    want 2000 columns.)
    */
    
    PROMPT     ==========  0. Basic Pivot  ==========
    
    SELECT     deptno
    ,     COUNT (CASE WHEN job = 'ANALYST' THEN 1 END)     AS analyst_cnt
    ,     COUNT (CASE WHEN job = 'CLERK'   THEN 1 END)     AS clerk_cnt
    ,     COUNT (CASE WHEN job = 'MANAGER' THEN 1 END)     AS manager_cnt
    FROM     scott.emp
    WHERE     job     IN ('ANALYST', 'CLERK', 'MANAGER')
    GROUP BY     deptno
    ORDER BY     deptno
    ;
    
    PROMPT     ==========  1. Dynamic Pivot  ==========
    
    --     *****  Start of dynamic_pivot.sql  *****
    
    -- Suppress SQL*Plus features that interfere with raw output
    SET     FEEDBACK     OFF
    SET     PAGESIZE     0
    
    SPOOL     p:\sql\cookbook\dynamic_pivot_subscript.sql
    
    SELECT     DISTINCT
         ',     COUNT (CASE WHEN job = '''
    ||     job
    ||     ''' '     AS txt1
    ,     'THEN 1 END)     AS '
    ||     job
    ||     '_CNT'     AS txt2
    FROM     scott.emp
    ORDER BY     txt1;
    
    SPOOL     OFF
    
    -- Restore SQL*Plus features suppressed earlier
    SET     FEEDBACK     ON
    SET     PAGESIZE     50
    
    SPOOL     p:\sql\cookbook\dynamic_pivot.lst
    
    SELECT     deptno
    @@dynamic_pivot_subscript
    FROM     scott.emp
    GROUP BY     deptno
    ORDER BY     deptno
    ;
    
    SPOOL     OFF
    
    --     *****  End of dynamic_pivot.sql  *****
    
    /*
    EXPLANATION:
    The basic pivot assumes you know the number of distinct jobs,
    and the name of each one.  If you do, then writing a pivot query
    is simply a matter of writing the correct number of ", COUNT ... AS ..."\
    lines, with the name entered in two places on each one.  That is easily
    done by a preliminary query, which uses SPOOL to write a sub-script
    (called dynamic_pivot_subscript.sql in this example).
    
    The main script invokes this sub-script at the proper point.
    In practice, .SQL scripts usually contain one or more complete
    statements, but there's nothing that says they have to.
    This one contains just a fragment from the middle of a SELECT statement.
    
    Before creating the sub-script, remember to turn off SQL*Plus features
    that are designed to help humans read the output (such as headings and
    feedback messages like "7 rows selected.", since we do not want these
    to appear in the sub-script.
    Remember to turn these features on again before running the main query.
    
    */
    

    The first HOLD file that it creates, dynaic_pivot_subscript.sql, looks like this

    ,     COUNT (CASE WHEN job = 'ANALYST'    THEN 1 END)     AS ANALYST_CNT
    ,     COUNT (CASE WHEN job = 'CLERK'      THEN 1 END)     AS CLERK_CNT
    ,     COUNT (CASE WHEN job = 'MANAGER'    THEN 1 END)     AS MANAGER_CNT
    ,     COUNT (CASE WHEN job = 'PRESIDENT'  THEN 1 END)     AS PRESIDENT_CNT
    ,     COUNT (CASE WHEN job = 'SALESMAN'   THEN 1 END)     AS SALESMAN_CNT
    
  • Dimensions of attribute in forms or Ad Hoc analysis

    Is it possible to build form of planning or planning of the Ad-Hoc analyses based on the attribute Dimensions?

    For example:

    I added an attribute Product Manager for the Product dimension.

    Product Manager.png

    And I want to create a report with the following provision:

    Product Manager in the rows,

    Period in columns.

    Cross Report.png

    How can I create this report using the form planning or planning of the Ad-Hoc analyses?

    Hello

    Attributes work with a connection to Essbase does not intend. If you directly connect to Essbase in SmartView you will be able to produce the desired report. I know it sucks, he's been on the list of requests for improvements of years... not sure what the Oracle product management team made.

    See you soon

    JM

  • Can we do Union between 2 fields in OBIEE formula column?

    Hello gurus,

    Can we do the union between 2 fields and calculate a column that in the criteria of the obiee report?

    Vieira says:
    Hey David,

    I m using the same method to evaulte year and MOnthname

    Year: YEAR (CURRENT_DATE)

    Name of the month: MONTHNAME (TIMESTAMPADD (SQL_TSI_MONTH-1, CURRENT_DATE))

    but I want both values in unique colmun...
    Because I have to create a report that runs to the year and last month both at the same time.
    so once I have it calculate such doin union between YEAR and MONTHNAME column, I'll use the PivotTable to create this report...
    So basically I want a column that has the CURRENT YEAR, LAST MONTHNAME as list of values. and that's the reason why I want the union in the formula in the column...

    Let me know if you need more information...

    OK, got it.

    So follow these steps:

    (1) in your first report, put your attribute columns and measure your column a dummy column.

    (2) place a filter on the column "equal to / in".

    MONTH = MONTH (table.date) (TIMESTAMPADD (SQL_TSI_MONTH-1, CURRENT_DATE))

    (3) in the fx of the dummy column, delete content and enter 'Previous month' and name the 'Date Range' column (or whatever you want).

    This will generate a report where the measure is for the previous month.

    (4) in your second report, put the same attribute columns and measure your column a dummy column.

    (5) place a filter on the column "equal to / in".

    Year (table.date) = YEAR (CURRENT_DATE)

    (6) in the fx of the dummy column, delete the content and enter "current Year-to-Date" and name the 'Date Range' column (or what you want).

    This will generate a report where the measure is for the current year.

    (7) combine queries into a UNION.

    The synthesis report will have the values "previous month" and "current year-to-date" in the same column you want.

    (8) in your PivotTable, put the attribute columns in the Section of lines, as in measures Section and the 'Date Range' column in the columns Section.

    That should do it.

  • separate column

    Oracle 12 c.

    I have a table that has several columns for the accommodation of the languages (for some reason that I don't want a child table to accommodate the langauges).  Try to find the DISTINCT languages in the table.

    col1

    col2

    COL3

    COL4

    The sample files are:

    COL1 COL2 COL3 COL4

    Row1: English Spanish Italian Korean

    row2: English Japanese Spanish

    row3: English Spanish Thai Danish

    Italian German row4

    If there is only a SINGLE column which hosts the languages, I can just use:

    Select distinct col1 of table X.

    But now there are several accommodation the langauges columns, how do I enumerate the distinct (NON-DUPPLICATE) langauges, such as return the result set to:

    English

    Spanish

    Korean

    Italian

    Japanese

    Thai

    German

    Danish

    Thank you for helping.

    Scott

    Hi, Scott.

    scottjhn wrote:

    Oracle 12 c.

    I have a table that has several columns for the accommodation of the languages (for some reason that I don't want a child table to accommodate the langauges).

    Looks like you already realize that it is a design of the wrong table.  Any reason you have booked using this model, you should think about it again.  The reasonable way to store data and the reasonable way to solve this problem, are all languages to in 1 column.  If you store the data in a smart way, you will have to convert on the fly, whenever you have to solve a problem like this.  You can use SELECT... UNPIVOT function to convert the 4 columns in 1 and then use plain old SEPARATE to get a single output.

    The FAQ Forum page on swivel also treats of unpivoting.  See Re: 4. How can I convert rows to columns?

    If you get stuck, see this other Forum FAQ page: Re: 2. How can I ask a question on the forums?

  • OBIEE logical column has same SQL but returns different results

    I have a SQL query with a case statement that returns the correct results by operating in Oracle SQL Developer. I've created several logical columns in OBIEE, one for each case in the original query. However, the results returned by each logical column OBIEE are radically different from the original SQL query results, even if the SQL code is virtually identical.

    For example, a column logical OBIEE that returns incorrect results contains the following SQL code:

    SUM (CASE when

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '% a %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%B %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%c %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like"% %") or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%G %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like"hour %") or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like"%%J") or

    ("Registration - College". "" Effective colleges F. ("' Postal code ' like '%R %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%s %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%T %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like"% %") or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%x %') or

    ("Registration - College". "" Effective colleges F. ("' Postal code ' like '%Y %')

    THEN 0 OTHERWISE 1 END)

    The case statement in the original SQL query, which returns the correct results, is as follows:

    CASE

    WHEN (postal_zip_code_permanent like "%%K") or (postal_zip_code_permanent like '% %') or (postal_zip_code_permanent like '%m %') or (postal_zip_code_permanent like '%n %') or (postal_zip_code_permanent like "%p %") THEN "Ontario".

    WHEN (postal_zip_code_permanent like '% a %') or (postal_zip_code_permanent like '%B %') or (postal_zip_code_permanent like '%c %') or (postal_zip_code_permanent like '% %') or (postal_zip_code_permanent like '%G %') or (postal_zip_code_permanent like "%hour") or (postal_zip_code_permanent like "%%J") or (postal_zip_code_permanent like "%%R") or (postal_zip_code_permanent like '%s %') or (postal_zip_code_permanent like '%t %') or (postal_zip_code_permanent like '% %') or (postal_zip_ code_permanent like '%x %') or (postal_zip_code_permanent like "%%Y") THEN "Canada, other than Ontario.

    WHEN (substr(postal_zip_code_permanent,1,1) IN ('1 ', '2', '3', '4', '5', '6' ', 7',' 8 ', ' 9',' 0') or (postal_zip_code_permanent like '%d %') or (postal_zip_code_permanent like '%f %') or (postal_zip_code_permanent like ' % I %') or (postal_zip_code_permanent like "% O") or (postal_zip_code_permanent like "%%Q") or (postal_zip_code_permanent like "%%U") or (postal_zip_code_permanent like ' % W ') or (postal_zip_code_permanent like "%%Z")) THEN 'other')

    WHEN (postal_zip_code_permanent like '% + %') or (postal_zip_code_permanent like '%. %') or (postal_zip_code_permanent like ' %? %') or (postal_zip_code_permanent like '% %') or postal_zip_code_permanent IN ('+ ','.', '?)) (',',') And THEN "Invalid."

    WHEN postal_zip_code_permanent is null THEN 'Blank '.

    Of OTHER postal_zip_code_permanent

    END

    Now I see what the problem was. In the original SQL query, each condition is exclusive, for each record will only be categorized in one of the scenarios WHEN. But in OBIEE, each logical column is autonomous, so some records were classified into more than logical column, even if each logical column was supposed to be exclusive.

  • SUM and CASES on SEPARATE column

    1 query 1:

    SELECT IN_SRC_SYSTEM, COUNT (1)

    (SELECT

    (IN THE CASE WHERE THE VALUE LIKE '% LO %' THEN 'LO'

    WHAT VALUE LIKE ' % THE % ' THEN 'THE

    WHAT VALUE LIKE '% SAP %' THEN 'SAP '.

    WHAT VALUE AS 'SPA %' THEN 'SPA' OTHER 'OTHER '.

    IN_SRC_SYSTEM END)

    OF LOGTD

    WHEN TRUNC (DATE_AGS) = TRUNC (SYSDATE)-1

    AND LOG_STATUS = 'P '.

    AND VALUE IS NOT NULL)

    IN_SRC_SYSTEM GROUP

    ORDER BY 1;

    output:

    IN_SRC_SYSTEM count (*)

    THE 62140

    LO 59611

    SAP 2685

    SPA 95

    I changed above query returns the results online wise.

    Question:-how to add a total of column below sql. (I can reach to above sql by cumulative Group)

    SELECT

    SUM (CASE WHERE THE VALUE LIKE '% LO %' THEN 1 0) OTHERWISE END "LO."

    SUM (CASE WHERE THE VALUE AS THE ' %') THEN 1 OTHER END 0 'LA',)

    SUM (CASE WHERE THE VALUE AS "SAP %') THEN 1 OTHER 0 END 'SAP',)

    SUM (CASE WHERE THE VALUE LIKE ' % SPA %') THEN 1 ANOTHER END 'SPA' 0)

    OF LOGTD

    WHEN TRUNC (DATE_AGS) = TRUNC (SYSDATE)-1

    AND LOG_STATUS = 'P '.

    AND VALUE IS NOT NULL

    output

    THE SAP LO SPA

    62140 59611 2685 95

    2.

    SELECT ERR_SRC_SYSTEM, COUNT (VALUE)

    (SELECT DISTINCT VALUE,

    (IN THE CASE WHERE THE VALUE LIKE '% LO %' THEN 'LO'

    WHAT VALUE LIKE ' % THE % ' THEN 'THE

    WHAT VALUE LIKE '% SAP %' THEN 'SAP '.

    WHAT VALUE AS 'SPA %' THEN 'SPA' OTHER 'OTHER '.

    ERR_SRC_SYSTEM END)

    OF LOGTD

    WHEN TRUNC (DATEAGS) = TRUNC (SYSDATE)-1

    AND LOG_STATUS = 'E '.

    AND VALUE IS NOT NULL)

    ERR_SRC_SYSTEM GROUP

    ORDER BY 1;

    ERR_SRC_SYSTEM, COUNT (VALUE)

    THE 174

    LO 3

    63 SPA

    Question:-how to display columns for bottom case distinct values and the State (I can reach to above sql by cumulative Group)

    Expected:

    THE SPA SAP LO

    174-3-63-0

    I tried something below, but it didn't work because it lead to a distinct value for the column name

    SELECT

    SUM (SEPARATE CASE WHEN TRANSACTION_SID LIKE '% LO %' THEN 1 0) OTHERWISE END "LO."

    SUM (DISTINCT CASES WHERE TRANSACTION_SID LIKE ' % THE %') THEN 1 OTHER END 0 'LA',)

    SUM (DISTINCT CASES WHERE TRANSACTION_SID LIKE ' % SAP %') THEN 1 OTHER 0 END 'SAP',)

    SUM (separate BOX WHEN TRANSACTION_SID LIKE '% SPA %' THEN 1 ELSE 0 END) "SPA".

    OF OD_LG_TRANSACTION_LOG

    WHEN TRUNC (CREATED_DATE) = TRUNC (SYSDATE)-1

    AND LOG_STATUS = 'E '.

    AND TRANSACTION_SID IS NOT NULL

    Kind regards

    Veera

    It's a shame that we didn't give examples of input data to go with your question. Therefore, it is difficult to answer. Saying that, here are my attempts to answer your questions:

    (1) to add columns, you do: col1 and col2 +... + colN. This applies, even if those columns are functions - for example. (Col1) FN + fn (col2) +... + fn (colN).

    (2) maybe you're after something like ' count (distinct cases where trasnaction_sid ' % THE %' as the end value)?

    For example I think you're after, based on a small sample of the dataset:

    with sample_data as (select 1 col1, 'abc' col2 from dual union all
                         select 2 col1, 'bcd' col2 from dual union all
                         select 3 col1, 'abc' col2 from dual union all
                         select 4 col1, 'efg' col2 from dual union all
                         select 5 col1, 'abc' col2 from dual union all
                         select 6 col1, 'hij' col2 from dual union all
                         select 7 col1, 'bcd' col2 from dual union all
                         select 8 col1, 'dfg' col2 from dual union all
                         select 9 col1, 'cde' col2 from dual)
    select count(distinct case when col2 like '%b%' then col2 end) b,
           count(distinct case when col2 like '%d%' then col2 end) d,
           count(distinct case when col2 like '%l%' then col2 end) l
    from   sample_data;
    
             B          D          L
    ---------- ---------- ----------
             2          3          0
    
  • OBIEE dynamic column headings based repository Variables

    Hello

    How can we provide variable name of the repository (from RPD) as column headings in reports (presentation Services).

    Can you please suggest me how to do it?

    Thanks in advance...

    RAM

    Hello

    You can use the following link.

    Oracle Business Intelligence 11g: OBIEE 11 g dynamic column headings

    I used the variable presentation here, you can substitute the variable repository. The difference is that you don't need to create variable presentation, instead you use repository variable there.

    If you are not clear with this, pleas come back. I'll write a new message on your problem.

  • Choose two separate columns and others do not separate

    Hello

    I want two columns separate (X, Y) with other columns (GID, CODE, TID). Please help me on how to do it.

    In the example below, the first and last have the same X and Y and distinct should be applied to this two columns, and then select the other columns (GID, CODE, TID) as well in the query.


    GIDCODETIDXTHERE
    730MKPR12.35653648.72052
    730MKPR22.35562748.72069
    730MKPR32.35562848.72264
    730MKPR42.35577348.72239
    730MKPR52.35581648.72229
    730MKPR62.35583248.72225
    730MKPR72.35593948.72201
    730MKPR82.35603948.72177
    730MKPR92.35608848.72165
    730MKPR102.35614748.72151
    730MKPR112.3561948.7214
    730MKPR122.3562648.72123
    730MKPR132.3563248.72111
    730MKPR142.35638548.72099
    730MKPR152.35653648.72052

    Yes, you can change the data in the example and try.

    Concerning

    Mr. Mahir Quluzade

    p.s. If the answer to your question, then please mark your thread receives a response to the forum clear.

  • Attribute of LOB LOB column vs

    What is LOB attributes?


    Thank you

    Scott

    Question has changed to: scottjhn 6 April 2012 13:56

    >
    What is LOB attributes
    >
    A LOB attribute is a variable in a user-defined object.

    For example, if I define a custom as type

    CREATE TYPE customer_typ_demo AS OBJECT
        ( customer_id        NUMBER(6)
        , cust_first_name    VARCHAR2(20)
        , cust_last_name     VARCHAR2(20)
        , cust_address       CUST_ADDRESS_TYP
        , phone_numbers      PHONE_LIST_TYP
        , nls_language       VARCHAR2(3)
        , nls_territory      VARCHAR2(30)
        , credit_limit       NUMBER(9,2)
        , cust_email         VARCHAR2(30)
        , cust_orders        ORDER_LIST_TYP
        ) ;
    /
    

    Then, all the variables of the type are considered to be 'attributes' of the type.
    So 'customer_id' is an attribute of type "customer_type_demo" and is defined as NUMBER (6).

    If one of these variables has been defined as a LOB (CLOB, BLOB, et al), then this JOB would be an attribute of TYPE.

    In a TABLE definition entities are called "columns". In a type definition, they are called "attributes".
    But a JOB is a PROFESSION: it is a column in a table, but an attribute to a type.

  • How to READ XML and display hirarechy and data in separate columns 2

    Hi, I have the following XML example and I need to extract the hirarechy and values separately. If the value is null, hirarechy must be displayed. Please advice!
    for example,.
    I want to output something this link

    NŒUD
    ---------------------------
    8. TEST4. FIVE
    8. TEST4. SIX
    8. TEST4. 7. TEST2. TWO
    8. TEST4. 7. TEST2. THREE



    VALUE
    ------------------------------------
    1

    5
    I test m


    example of XML data:

    <? XML version = "1.0"? >
    rowset <>
    < ROW >
    < 8 >
    < TEST4 >
    < 5 > 1 < / FIVE >
    < 6 / >
    < 7 >
    < TEST2 >
    < TWO > 5 < / TWO >
    test of m i < 3 > < / 3 >
    < 4 >
    < A > 26 March 12 < / ONE >
    < / OVEN >
    < / TEST2 >
    < / SEVEN >
    < / TEST4 >
    < TEST4 >
    < 5 > 1 < / FIVE >
    < SIX > 26 March 12 < / SIX >
    < 7 >
    < TEST2 >
    < TWO > 5 < / TWO >
    < 3 > 67 < / 3 >
    < 4 >
    < A > 26 March 12 < / ONE >
    < / OVEN >
    < / TEST2 >
    < / SEVEN >
    < / TEST4 >
    < / 8 >
    < / ROW >
    < / LINES >

    Thank you

    Published by: Saad at March 26, 2012 15:18

    What is xml_test in your example? his error on this one.

    This is a table of xmltype object I used to store your XML for my first tests.
    Sorry, I forgot to remove the part while testing with a variable binding in place.

    Try this one (pass your real xmltype variable instead of xmltype(:xmldoc)):)

    SELECT x.node_id
         , x.node_value
    FROM XMLTable(
         'declare function local:getChildren($e as node(), $pID as xs:string?) as element()*
          {
            for $i in $e/(child::*|attribute::*)
            let $ID := if ($pID) then concat($pID,".",name($i)) else name($i)
            return element r
            {
              attribute is_leaf {empty($i/child::*)}
            , element node_id {$ID}
            , element parent_node_id {$pID}
            , element node_name {name($i)}
            , if ($i instance of attribute())
                then ( element node_value {data($i)}, element node_kind {"attribute"} )
                else ( element node_value {$i/text()}, element node_kind {"element"} )
            }
            | local:getChildren($i,$ID)
          }; (: :)
          local:getChildren($d/ROWSET/ROW,())'
          passing xmltype(:xmldoc) as "d"
          columns node_id         varchar2(100)   path 'node_id'
                , node_name       varchar2(30)    path 'node_name'
                , node_value      varchar2(2000)  path 'node_value'
                , parent_node_id  varchar2(100)   path 'parent_node_id'
                , node_kind       varchar2(30)    path 'node_kind'
                , is_leaf         varchar2(5)     path '@is_leaf'
         ) x
    WHERE is_leaf = 'true'
    ;
    
  • How to use the two JS attributes in the single column

    Hi friends,

    I have a tabular presentation. For that column, I need to display the content of this column in the justified way right and that I gave the code below in the attributes of the element of the column
    style="text-align:right;"
    The above works fine I can able to print the content in the right justified.

    In that same column, I need to receive a computed value, and this value must only be filled with the right justified way.

    For this I created a function in the javascript code and called this function in the attributes of the element of this column as
    onfocus="calculateNet(this);"
    But how can I appeal the two encodings in the same attribute of the element in the column in a table.

    I tried giving as specifying the comma between the two, but none of this is taken, what can be the problem and how can I able to give both in the same section of attribute of the element of the column in a table.

    Brgds,
    Mini

    Hello Mini,

    first of all, you have only a single javascript call (onfocus...). It is just a style and has nothing to do with javascript.

    Try this:

    style="text-align:right;" onfocus="calculateNet(this);"
    

    Kind regards
    Dirk

  • A separate column and display the most recent revision of column B

    Hi all

    Need some help here. I have a table and need to display the latest revision. But the problem is, I can't use SEPARATE for the TITLE column. I'm really stuck

    Table name: SPECIFICATION

    TITLE REVIEW        
    SPEC-01 HAS
    SPEC-01 B
    SPEC-01B
    SPEC-01
    SPEC-02 HAS
    SPEC-02 B


    The result should be as below:

    TITLE REVIEW        
    SPEC-01
    SPEC-02 B

    Example:

    SQL> SELECT * FROM specification;
    
    TITLE      R
    ---------- -
    SPEC-01    A
    SPEC-01    B
    SPEC-01    C
    SPEC-01    D
    SPEC-02    A
    SPEC-02    B
    
    6 rows selected.
    
    SQL> SELECT title, MAX(revision)
      2  FROM specification
      3  group by title;
    
    TITLE      M
    ---------- -
    SPEC-01    D
    SPEC-02    B
    
  • Can sql RS only 1 column of return can be printed as a separate column value

    Hello
    I wonder if the result set sql returning only one column can be printed as a separate values column?

    IE.with a simple change to select empno, emp; It should be able to print.
    101,102,103

    Instead of
    EmpNo
    ----------
    101
    102
    103

    Thank you
    Jean Claude

    Here is an example with the EMP table in the Scott schema.

    select ltrim(sys_connect_by_path(empno,','),',') empno_list
      from (select e.*, row_number() over(order by empno) rno from emp e)
     where connect_by_isleaf = 1
     start with rno = 1
    connect by rno = prior rno+1
    

Maybe you are looking for

  • How to temporarily close Firefox?

    You try to view a youtube and he says I have to download an update from Adobe. When I try to download the update, it stops and says that I have to temporarily close Firefox to continue the download.

  • Satellite 5200-801-indicator of battery flashes orange while dc is green

    I have SATELLITE 5200-801, the battery light flashes orange while the domain controller is green and the laptop worksstop when it is off.the battery is empty. I can't boot from external USB cdrom to install windows as its internal DVD does not work H

  • Cell that contains the formula paste between spreadsheets

    How do I paste the value of a cell that contains the result of a spreadsheet formula has, in a worksheet cell B and still have the operation of the formula? OS 10.11.14, numbers 3.6.1.

  • Satellite 1800-S274: HDD upgrade questions

    I have a TOSHIBA SATELLITE 1800-S274 P III 1.1 G 512 MB with XP PRO Spanish Part c: PS183U-00JRSPNC Serial Nr: 32014957PUThe keyboard and the OS is Spanish. The HARD drive was accident, restart the PC, with a blue windows with the error text impossib

  • Wall - plug adapter Exchange program announcements Polish translation

    Hi all! Just to be sure, is this recently announced Exchange adapter taken wall (original announcement) is only related to the adapter from the wall socket - plug - not the whole charger? I only ask because the translation of the announcement in Poli