Report of BI showing NULL for decimal numbers

Oracle Business Intelligence 11.1.1.7.0

In an earlier version of BI, we had a problem with our reports where all numbers with the digits after the decimal point would return an empty result in the report (the correct numbers would still appear in the example of data model data), but only when seen as an interactive report (PDF views were very good).  However, after an update it happened with any point of view report, not only the view of interactive report.  I found a work around for that I CAST each column number to Double precision, and then he would show increased the fine.  It worked for a few months, only now it doesn't work at all.  After talking with the system of administration, I don't not think any update that happened between when the solution of MELTING has started working, and when it stopped working.

Everyone knows about this problem?

Well, apparently the cast IRON solution still works, but not when I use a SUM (have not tested the other aggregates).  Creating a subquery as below, however, the work:

SELECT CAST (result AS DOUBLE PRECISION)

Of

(

SUM (col_1) AS SELECT results

FROM table_1

)

Tags: Business Intelligence

Similar Questions

  • Align decimal numbers for the track list

    Hello, you showed me how do it long ago and have forgotten since. I have a Tracklisting of a paragraph as follows:

    1.

    2.

    3.

    4.

    5.

    6.

    7.

    8.

    9.

    10.

    11.

    I followed the tabs tut in the CC tut who says line right to the top of the box of the tab with the text block, click align decimal numbers and click where you want to go, I get the orange arrow, but nothing aligns. The UTU uses a table for example, is the only way it will work?

    Kind regards.

    If you do just a numbered list, you only need to use tabs to align on the decimal point. Simply insert a fixed space called a figure space.

    Make sure your numbers are of equal width. Since the character or control panel menu > OpenType, make sure Tabular Lining is set for numbers:

    Then in front of 1, 2, etc. Insert a space figure (Type > insert a space > Figure space). White space is the width of any character. You can use several spaces figure if you were with a very large number.

  • How to set the {} num.currency such way that it will display "-" sign for negative numbers instead of "()".

    Hi people from Adobe,.

    I am working on a form of invoice of Adobe, where currency a few fields may show as "-" if it is the negative number.

    I use display model num.currency {}, but its poster ($1,234,567.89), I want to display in the form $-1,234,567.89

    Is someone can you please let me know how to achieve this.

    2-25-2016 1-16-10 PM.jpg

    2-25-2016 1-27-20 PM.jpg

    Hello

    I wondered if it would be that simple.  It seems that the United States and Hong Kong are the only ones who use the media for negative numbers.  The Australian currency displayed as you wish.  Maybe you can go into the XML Source and change the line $z, zz9.99 | () $z, zz9.99) $z , zz9.99.  This is how the Australian looks... would need a few tests well.

    Or maybe you can have the hidden decimal field and display a text field with a calculation as DecimalField.formattedValue.replace(/[()]/g,"");. " Do you need to align the decimal points?

    Bruce

  • Bug of STROKE Weird Illustrator containing decimal numbers

    Hello

    I m having this really weird in Illustrator bug when I try to change the size of the stroke to something with decimal numbers. When I have a call 1 pt or pt 2 it works as expected, but when I change it to something like 1.6 pt, the trait is uneven on the way. Some lines are thicker than others, and it's very weird.

    Can someone point me in the right direction? See my 30 sec video-screen for an overview of the bug.

    Bildschirmfoto 2015-06-12 um 09.02.29.pngBildschirmfoto 2015-06-12 um 09.02.16.pngBildschirmfoto 2015-06-12 um 09.02.03.png

    Thanks for your help in advance!

    sure it is an alignment at pixel grid.

    Select the object and check the transform palette. 'show options' in the menu if the option is not visible.

  • Decimal numbers PHP/MySQL

    Hello

    I'm working on a real estate site. Most monthly apartment rental rates are round numbers like $950, however a few have odd prices like $1070,76 (where the need for decimal data type in MySQL).

    On the page where are all the apartment ads, what I want to do is to remove the decimal point and zeroes if the number is round because all zeros are distracting (and useless). For example:

    I have this code snippet:
    If ($r-> maxRent == 0) {}
    $price = ' requested rent $';
    $price. = $r-> minRent;
    $price. = "monthly";
    } else {}
    $price = ' requested rent $';
    $price. = $r-> minRent;
    $price. = '-';
    $price. = $r-> maxRent;
    $price. = "monthly";
    }
    Which shows this:
    Ask the rent 810, 00-950, 00 per month
    1070.76 rental request - $1200.00 per month
    Asking rent $1335,00 per month

    But I want things to be displayed like this:
    Rental $810-950 per month
    1070.76 rental request-$1200 per month
    Rental $1335 per month

    What I have to do it work with regular expressions (Voodoo!) or is there another way? I am currently in a situation where I have to use outdated versions instead of all (PHP 4.1.2 / MySQL 3.23) if that makes a difference in this case.

    I looked through my books and I tried Googling & forums for an answer to the search, but I'm not sure of exactly what I should look for, so I won't have a bit of luck. Any help would be greatly appreicated.

    Kind regards
    Bev

    bsoliman wrote:
    > But I want things to be displayed like this:
    > Asking rent $810-950 per month
    > Asking for rent 1070.76-$1200 per month
    > Asking for rent $1335 per month

    In fact, le.76 seems to me more confused than la.00. I'd do it
    Just use round() to give a round for all rents figure. However, if
    you want to do it your way, add this function to your script:

    function checkEven ($val) {}
    return preg_match ("/ \d+\.00 /', $val")? number_format ($val, 0):
    number_format ($val, 2);
    }

    Then change your code to do this:

    If ($r-> maxRent == 0) {}
    $price = ' requested rent $';
    $price. = checkEven ($r-> minRent);
    $price. = "monthly";
    } else {}
    $price = ' requested rent $';
    $price. = checkEven ($r-> minRent);
    $price. = '-';
    $price. = checkEven ($r-> maxRent);
    $price. = "monthly";
    }

    --
    Adobe Community Expert David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Signature of the device Pin showing Null when the Blackberry playbook tablet App

    I'm developing an app for Blackberry playbook in action script. I signed the application (Release version) and it has deployed on the device, but the axis of the device shows null. When I run the application directly from Flash builder it is showing correctly.

    I added the permissions for the config file, is to show the axis of the device, but after his signature for immediate release it shows null.

    Please let me know why it's happening.

    Thanks everyone, I solved the problem. In fact, there were 2 BB.xml file in my project, one containing the access authorization of pin of the device and the other did not have this permission. I removed the redundant .xml file and every thing went very well thanks to help appreciated guys

  • NULL for repeated records

    Hi team,

    According to the sub query Deptno column is repeated results must show that it is null

    my output should be

        DEPTNO ENAME             SAL         RN        RNK       DRNK
    ---------- ---------- ---------- ---------- ---------- ----------
            10 KING             5000          1          1          1 
                CLARK            2450          2          2          2 
                MILLER           1300          3          3          3 
            20 SCOTT            3000          1          1          1 
                FORD             3000          2          1          1 
               JONES            2975          3          3          2 
            30 BLAKE            2850          1          1          1 
                ALLEN            1600          2          2          2 
                TURNER           1500          3          3          3 
               MARTIN           1250          4          4          4 
               WARD             1250          5          4          4 
               JAMES             950          6          6          5 
    

    14 selected lines

    select deptno
      , ename,sal,
         row_number()
           over (partition by deptno
                 order by sal desc)rn,
         rank()
           over (partition by deptno
                 order by sal desc)rnk,
         dense_rank()
           over (partition by deptno
                order by sal desc)drnk
        from emp
       order by deptno, sal desc
       /
       DEPTNO ENAME             SAL         RN        RNK       DRNK
    ---------- ---------- ---------- ---------- ---------- ----------
            10 KING             5000          1          1          1 
            10 CLARK            2450          2          2          2 
            10 MILLER           1300          3          3          3 
            20 SCOTT            3000          1          1          1 
            20 FORD             3000          2          1          1 
            20 JONES            2975          3          3          2 
            20 ADAMS            1100          4          4          3 
            20 SMITH             800          5          5          4 
            30 BLAKE            2850          1          1          1 
            30 ALLEN            1600          2          2          2 
            30 TURNER           1500          3          3          3 
            30 MARTIN           1250          4          4          4 
            30 WARD             1250          5          4          4 
            30 JAMES             950          6          6          5 
    
    
     14 rows selected 
    

    Hello

    If you need to do this in SQL, and then use an expression BOX to return deptno for the first line of each deptno and NULL for all others.  ROW_NUMBER can determine which is the first line, like this:

    Select

    CASE

    WHEN ROW_NUMBER () OVER (PARTITION BY deptno

    Sal of ORDER BY DESC

    )  = 1

    THEN deptno

    ANOTHER NULL - Default; can be omitted

    END AS deptno

    ename, sal,

    ROW_NUMBER()

    courses (deptno partition

    order by sal desc) rn,.

    Rank()

    courses (deptno partition

    order by sal desc) rnk.

    DENSE_RANK()

    courses (deptno partition

    order by sal desc) drnk

    from scott.emp

    order by EMP. DeptNo, sal desc

    /

    Notice how I used emp.deptno in the ORDER byclause in the query.  Simply deptno in this place means that the results of the CASE, not the original column expression.

  • SCSI ID shows white for RDM virtual machine disks

    Hello

    Since the script below the SCSI ID shows empty, for example, we must show that (1:1)

    Since then, when I run the script, error, SCSI ID this field shows empty

    You can not call a method on a null value expression.

    C:\VM_RDM_Info.ps1:23 char: 29

    + = $ScsiId & {$strControllerKey = $_.} ControllerKey.ToString (); "{0 ...

    +                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo: InvalidOperation: (:)) [], RuntimeException)

    + FullyQualifiedErrorId: InvokeMethodOnNull

    Cannot perform indexing in a null table.

    C:\VM_RDM_Info.ps1:23 tank: 78

    + = $ScsiId & {$strControllerKey = $_.} ControllerKey.ToString (); "{0 ...

    +                                                                              ~~~

    + CategoryInfo: InvalidOperation: (:)) [], RuntimeException)

    + FullyQualifiedErrorId: NullArray

    Help, please.

    My mistake, the last part must also say $dev instead of $_.

    I've corrected above, try again

  • button object unique show/hide for several objects

    Happy new year! Thanks for all the support last year and several years earlier.

    Can you show me how to create an option button that turns the visibility of several objects (all object names that starts with 'Note')?

    I think to use this:

    If (getAnnots3D (pageNum) [0] .activated == false) getAnnots3D (this.pageNum) [0] .activated = true; mesh = getAnnots3D (this.pageNum) var [0].context3D.scene.meshes.getByName ("parameter") .opacity = 1

    (1) it is can you show me the right way to list several items for the getByName ("object_name"), is possible to use a wildcard to select all names of objects from "note"?

    (2) wouldn't be better to use visibility instead of .opacity

    Thanks for the tips

    You must use the visibility allowing you to switch things on and outside, and there is no built-in support for wildcards in the API - if you need to add a custom function as the following:

    for example, meshVisW ("leg", true) touches anything with the "leg" in the name (ord1, myleg...)

    function meshVisW(_name, _vis) {
        var currMesh = null;
        for (i=0; i -1) currMesh.visible = _vis;
            }
    }
    
  • A report that will show how a user has used the secure area?

    Hello everyone.

    I need to view a generated in the report on the activities of the Member section to securezone.

    The ideas are greatly appreciated.

    I've tried selecting the protected area (in the areas of Secure), click on action -> View Secure area usage report

    But it just displays: no data available for the period selected. no matter how to set the filter of time.

    Best regards

    Jones

    It seems that it is a duplicate to your message in this thread: is there a report that will show you how a user has used the secure area? . I will follow on this issue on the same thread.

  • Calculation of tabular form, problem with decimal numbers

    Hello

    I wrote a simple java script function that is responsible for calculating the price * quantity and store that value to total_price.

    function CalcTotalPrice (pThis)
    {
    var vRow = pThis.id.substr (pThis.id.indexOf ('_') + 1);
    html_GetElement ('f07_' + vRow). Value = parseInt (html_GetElement('f06_'+vRow).value, 10) * parseInt (html_GetElement('f05_'+vRow).value, 10);
    }

    The function calculation is correct, but I have problem when the price or quantity decimal numbers.
    For example.
    Currently:
    price * quantity = total_price
    7.5 * 1 = 7 instead of * cf. 7.5 *.

    I've already put a mask of correct format for all of these areas (999G999G999G999G990D00).

    I appreciate your help.

    Request Express 4.2.1.00.08
    Oracle Database 11g Express Edition Release 11.2.0.2.0

    Kind regards

    Hi John,.

    before the multiplication, you analyze your values as an integer, so 'cut' the decimals.
    Replace "parseInt" by "parseFloat" should do the trick.

    function CalcTotalPrice(pThis)
    {
    var vRow = pThis.id.substr(pThis.id.indexOf('_')+1);
    html_GetElement('f07_'+vRow).value = parseFloat(html_GetElement('f06_'+vRow).value, 10) * parseFloat(html_GetElement('f05_'+vRow).value, 10);
    }
    

    Please let me know if this worked for you.

    Thank you
    Sandro

  • show null Tabular text field

    "Seems too simple to ask in this forum, but I know how to display the value null for a selection list, but how can I have a text field are white instead of (null)" in a tabular presentation?

    Hello

    Go change attributes of report and check that the attribute 'See the Null Values like' don't have any value.

    Kind regards
    Jari

    -----
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Why SQL_ID is null for another session

    Hello

    I use Oracle XE 10 g installed on windows XP. I have connected to DB using SQL * more demand twice but the user names are different

    SQL > Connect sys as sysdba
    Password: *.
    Connected.
    SQL > Select sid, username from V$ session where the username is not null;
    SID username
    31 SYS

    Open the SQL * plus the 2nd times

    SQL > Connect Danae
    Password: *.
    Connected.

    SQL > user to see the
    SYS
    SQL > select sid, username from V$ session where the username is not null
    SID username
    Danae 29
    31 SYS

    SQL > show user
    Danae
    SQL > select * sample;
    NUM name
    ABC 1
    .
    ..
    3 selected lines.

    SQL > shoe user sys
    SQL > select sid, sql_id from V$ session where the username is not null

    SID SQL_ID
    29
    31 7xhp0k7jdb4z

    Why SQL_ID is null for the SID = 29?

    Can you please explain...

    I think we may need to quickly check the documentation:
    http://download.Oracle.com/docs/CD/B28359_01/server.111/b28320/dynviews_3016.htm
    "SQL_ID: identifier SQL in the SQL statement that is currently running.
    "PREV_SQL_ID: the last SQL statement executed SQL identifier.

    This implies that SQL_ID holds a value when the session is running of a SQL statement. You can check by querying also the PREV_SQL_ID column:

    select sid,sql_id,PREV_SQL_ID from V$session where username is not null;
    

    Charles Hooper
    Co-author of "Expert Oracle practices: Oracle Database Administration of the Oak Table.
    http://hoopercharles.WordPress.com/
    IT Manager/Oracle DBA
    K & M-making Machine, Inc.

  • Mathematical function to show only the positive numbers?

    Does anyone know of a mathematical function to show only the positive numbers. I have a formula that returns an integer, if the integer is negative, I want to show ZERO. I'd rather not have to use a case statement.

    For example, if it returns 5, I want to see 5. If it returns 0, I want to see 0. If it returns-2, I want to see 0.

    How about this?

    (x + ABS) / 2

    where x is the column?

    When x = 5, you have (5 + 5) / 2 = 5

    When x = 0, you have (0 + 0) / 2 = 0

    When x =-2, you have (-2 + 2) / 2 = 0

  • All AR Oracle seeded available reports what FDF shows values?

    Hello

    I would like if someone is aware of reports Oracle seeded showing values of de FACTO at the level header Transaction that can help eliminate having different demand for RICE.

    Please answer.

    Thank you.

    Nope

Maybe you are looking for