View cube - data Type problem

Hello

I have a cube with 3 measures everything from type NUMBER because they are the Source.

I imported the and in the target table appear exactly as they are to the source (for example, 1.234, 2.324,...)

But when I discovered through the Cube Data Viewer, it shows me just a whole number (for example, 1, 3, 2) with no part of desimal.

What can be the problem, please guide me?

Thank you
RF

Hello

If you select the data cells on the Bulletin Board of cube and click the toolbar with the 00 and arrow from left to right, this will add a decimal point, if you keep clicking top will add another etc.

See you soon
David

Tags: Business Intelligence

Similar Questions

  • Incompatible data type problem in the ADF

    Hello

    I'm new to ADF. I'm writing a logic in the implementation of the entity class.
    The logic contains below two lines.

    Integer itemQty = row.getQuantity ();
    Number Qty = (Number) (itemQty);

    However when compiling, error comes which says 'incompatible data types' that is the integer and the number are not compatible.
    Please let me how can know I convert an integer in Number type.

    Thank you
    Anuj
    Integer  itemQty = row.getQuantity();
    oracle.jbo.domain.Number n= null;
        try
        {
          n = new oracle.jbo.domain.Number(itemQty);
        }
        catch (SQLException e)
        {
          //handle the exception here.
        }  
    

    But why do you need to cast to oracle.jbo.domain.Number?

  • table (cast - invalid data type problem

    Hi all

    Baseline scenario:

    --------------------------
    PACKAGE
    --------------------------
    create or replace
    PACKAGE C2_PAYMENT_DOC IS

    Bin_array TYPE TABLE IS NUMBER
    INDEX OF DIRECTORY;

    FUNCTION test_fun (l_doc_id IN integer) RETURN bin_array;
    --------------------------
    PACKAGE_BODY
    --------------------------
    create or replace
    package C2_PAYMENT_DOC as body

    Bin_array test_fun (l_doc_id-IN integer) FUNCTION RETURNS IS
    l_gross bin_array;
    Start
    c2_purchase_invoice.get_inv_gross_amount (l_doc_id, l_gross (1));
    Return l_gross;
    end;
    END;
    --------------------------
    QUERY
    --------------------------
    Select * from Table (Cast (c2_payment_doc.test_fun (1) as bin_array));

    The query result is ORA-00902: invalid data type
    How can I make the valid select statement?
    Thanks in advance,
    Bartek

    You cannot use local collection types in SQL. You must create a bin_array of type like nested SQL table type. In addition, depending on the version you will not cast:

    SQL> CREATE OR REPLACE
      2    TYPE bin_array
      3      AS TABLE OF NUMBER
      4  /
    
    Type created.
    
    SQL>  create or replace
      2   PACKAGE C2_PAYMENT_DOC IS
      3  FUNCTION test_fun(l_doc_id IN integer) RETURN bin_array;
      4  end;
      5  /
    
    Package created.
    
    SQL> create or replace
      2  package body C2_PAYMENT_DOC as
      3
      4  FUNCTION test_fun (l_doc_id IN integer) RETURN bin_array IS
      5  l_gross bin_array := bin_array();
      6  begin
      7      l_gross.extend;
      8      l_gross(1) := l_doc_id;
      9  return l_gross;
     10  end;
     11  END;
     12  /
    
    Package body created.
    
    SQL> select * from Table(Cast(c2_payment_doc.test_fun(1) As bin_array));
    
    COLUMN_VALUE
    ------------
               1
    
    SQL> select * from Table(c2_payment_doc.test_fun(1))
      2  /
    
    COLUMN_VALUE
    ------------
               1
    
    SQL> 
    

    SY.

  • Bad high and low value with the varchar2 data type

    Hello

    It is an application on e - biz on database 9205, with inventory module.

    In one of the mtl_txn_request_headers of the table, the data for the number of application type is varchar2 (30). When I checked the low_value & high_value in dab_tab_columns, I see that the low_value is 100001 (6 digits) and high_value is 99999 (5 digits).

    I used the utl_raw.cast_to_varchar2 (low_value) to convert the value.

    In our case, we save a large part of the value in incremental number and some of our query will be in the predicate of the range (between).

    How should I handle this kind of situation and which option do I?

    Appreciate any help. Thank you.

    Accepted this looks like a classic bad-data type problem, but as this picture seems be part of Oracle E-Business Suite the OP should probably talk first Oracle.

  • Problem with the length of a CLOB data type

    Hello

    In my application, I have a page with an interactive report of written blogs - on this page, you can add a new blog (text box - CLOB data type), discovered a blog or edit a blog.
    There is something going wrong with the size of the blog text. I know APEX cannot accept that 32K text and I've seen the great value saving thread, but this isn't the solution to my problem.

    The problem is that when I add a blog with say about 4000 characters, it is saved in the database, but the interactive report, when I click on the view or edit icons for this blog, the blog text field appears empty. For small items (< 4000 characters), there is no problem.
    Anyone know why this is happening and how to fix this?
    Thank you!

    There seems to be a bug in the calculation of the value of the element Source when the Source Type is a SQL query and the data type of the selected column is CLOB. I'll file a bug for this. For now, I have demonstrated how you can use a type of function PL/SQL source instead. Please see point P3_TEXT:

    beginfor c1 in (select blog_textfrom blogwhere blog_id = :P3_BLOG_ID) loop  return c1.blog_text;end loop;return null;end;
    

    Scott

  • Help with the problem of data type...

    Hi friends,

    I have a requirement. I have a warrant 2 guests (from and to). The data contained in the guests are like "Fall 2006", "spring 2006", "full of 2006", "Academic 2006"for a given year. " I have data from the year 2000 to 2008. The data type of the column duration in varchar. I have a report corresponding to this prompt. This report works well if it is not linked with the guests. If I have this tie with guests, its giving me results because in the report I gave filter as term is greater than or equal to ' fisrt_pv "(où first_pv est la variable de présentation j'ai utilisé pour mon d'invite de terme... comme second_pv sage est pour à terme rapide) and the term is less than or equal to"second_pv"."» So, if I put my guest (and) fall 2007 and (spring 2008 to) and run the report, its sends a fall 2007, Full 2000... Full2008, spring 2000... Spring 2008. It is because it is comparing the term based on letter of departure with all the other term. We know that the fall 2007 and spring 2008 are next to next semesters, is expected to see just a 2-column output. How do oracle know that?

    I have a term_number associated with this table numbered 1 to the spring of 2000, 2 Full, 3 for autumn 2000 2000, 4 for academic 2000... all the way up to academic 2008. I used this area to the command prompt to order because I want the guest to show as the spring of 2000, Full 2000, fall 2000 etc. instead of 2000 academic, University 2001... hope this field will be useful for you to analyze... I need your help to do this... If you need other info let me know... Thanks for your time n help...

    Kind regards...

    Yes. The problem is that your guests are CHAR, so the calculation "superior to" is done alphabetically rather than numerically. This digital keys.

    Create two columns to contain the term_number that match the values selected in your guests. Then the BETWEEN operator do not filter on numeric values. You can still view the CHAR values in your report, but now they will be in the range that you would expect.

  • change the data type of column in a view

    Hi gurus,

    Please suggest.


    I have been created as below in the region of production.

    CREATE OR REPLACE TYPE PROD. (OBJECT) ACE FEATURE_CUSTOM_LIST_OBJ
    TERMINAL_FEATURE_ID NUMBER (8).
    DATA_VALUE NUMBER (8)
    );
    /


    And the view is created below the base have the PROD. FEATURE_CUSTOM_LIST_OBJ

    CREATE OR REPLACE FORCE VIEW PROD. TERMINAL_FEATURE_TYPE
    (
    TERMINAL_FEATURE_ID,
    DATA_VALUE
    )
    AS
    SELECT
    TERMINAL_FEATURE_ID,
    DATA_VALUE
    TABLE)
    CAST)
    PROD. TERM_RELATED_REF_DATA. GET_TERMINAL_FEATURE_TYPE AS PROD. FEATURE_CUSTOM_LIST_TAB));

    Examples of data must be inserted into the display

    TERMINAL_FEATURE_IDDATA_VALUE
    120
    121
    123
    11THERE
    11N

    If iam thinking is possible that we can change the data type of number of varchar2 data type column in a view?

    Or should I follow create or replace type as whenevr the nonnumeric data tries to bring into view
    sound by giving the number plsql for digital character conversion error since it is a number of data type here.

    I have been created as below in the region of production.

    CREATE OR REPLACE TYPE PROD. (OBJECT) ACE FEATURE_CUSTOM_LIST_OBJ

    OK - but it is a SCALAR - not a collection object

    And the view is created below the base have the PROD. FEATURE_CUSTOM_LIST_OBJ

    CREATE OR REPLACE FORCE VIEW PROD. TERMINAL_FEATURE_TYPE

    No - it isn't. Your type of object is a SCALAR - not a collection. You need create a view on a table or a collection that is treated as a table.

    DDL perspective you posted doesn't even mention your FEATURE_CUSTOM_LIST_OBJ.

    If iam thinking is possible that we can change the data type of number of varchar2 data type column in a view?

    Have you tried using TO_CHAR to format the number as a string?

  • Problem with data type 'Date' in Hyperion Planning V11.1.2.2

    Hello

    I created members with the date data type. However when I save the date, it disappears or comes up with a random date? One has encountered such a problem before?

    If so can you share the fix.

    Thanks in advance for your help.

    See you soon,.

    XXX

    Hello

    This problem is related to you not having is not a coherent framework for your type of date entry.

    So, go to the administration of the application and define the date format DD/MM/YYYY in the application settings and display options, under current default application settings. Then after doing that as a user, go to user preferences and display options and the date format, select the same. Or delete automatically detect them.

    I've seen this behavior if you detect automatically on the user's preferences

    Thank you

    Anthony

  • types of data recovery problem

    Hi, I have a problem trying to retrieve the data type of an object. I use the VMUtils::find_device method to get the especification to cdrom. Then I need to get the data type of backup (VirtualCdromRemoteAtapiBackingInfo or VirtualCdromIsoBackingInfo) but I don't know how to recover this $cdrom_spec info - & gt; support.

    The value of $cdrom_spec is:

    $VAR1 = bless( {
     'deviceChange' => [
                         bless( {
                                  'operation' => bless( {
                                                          'val' => 'remove'
                                                        }, 'VirtualDeviceConfigSpecOperation' ),
                                  'device' => bless( {
                                                       'connectable' => bless( {
                                                                                 'allowGuestControl' => 0,
                                                                                 'connected' => 0,
                                                                                 'startConnected' => 1
                                                                               }, 'VirtualDeviceConnectInfo' ),
                                                       'backing' => bless( {
                                                                             'fileName' => ''
                                                                           }, 'VirtualCdromIsoBackingInfo' ),
                                                       'unitNumber' => 0,
                                                       'controllerKey' => 200,
                                                       'key' => 3000
                                                     }, 'VirtualCdrom' )
                                }, 'VirtualDeviceConfigSpec' )
                       ]
    }, 'VirtualMachineConfigSpec' );
    

    Someone knows how can I get the type of backup data.

    In perl, you can use "ref" to determine the type of thing that is referenced. Here, it will be as follows:

    > print Ref ($cdrom_spec-> support);

  • The date type of the column in the view

    Hello

    I would like to keep the start_date column type as a "date" type. But when create the view like below the type of the column is automatically set to varchar2 (11)

    {code}
    create table emp
    (digital emp_no
    , varchar2 (10) name
    start_date date);

    insert into the emp
    values
    (10, "Alan", January 1, 2010 "")
    insert into the emp
    values
    (20, 'Smith', may 12, 2000 ')

    create or replace view emp_v
    (emp_no
    first name
    start_date
    )
    as
    Select
    e.emp_no
    e.first_name
    , to_char (e.start_date, ' Mon-dd-yyyy "")
    from emp e
    {code}

    Thanks in advance
    Concerning
    Anna

    insert into the emp
    values
    (10, "Alan", January 1, 2010 "")
    insert into the emp
    values
    (20, 'Smith', may 12, 2000 ')

    you forcing oracle to convert string to date here - the best practice is to say explicitly what you mean with a to_date()

    the reason for which the view is created with a varchar column is that you explicitly convert a character with to_char() value, something you don't need as demonstrated above the column date.

  • Problem with the DATA types, in a UNION

    Hello
    I m trying to disply a custom message when no data found using the structure below. Unfortunately I ve you have a problem with the data types I im trying to union
    I tried different types of data in the 2nd SELECTION tool but the rest of the problem. Help, please.

    SELECT HOSP_NAME 'HOSPITAL' DOC_SUR 'NAME', 'NAME' DOC_NAME, d.DOC_ID ID, diagnosis
    H., DOCTOR d, (SELECT d.DOC_ID, COUNT (d.DIAGN_ID) diagnosis
    OF PATIENT_DIAGNOSIS d
    GROUP BY d.DOC_ID)
    WHERE diagnosis > 1

    UNION ALL

    SELECT TO_CHAR ('test'), TO_CHAR ('test'), TO_CHAR ('test'), TO_CHAR ('test'), 0
    OF THE DOUBLE
    If NOT EXISTS (HOSP_NAME 'HOSPITAL' 'NAME' 'NAME' DOC_NAME DOC_SUR, d.DOC_ID ID, diagnosis
    OF ΝΟΣΟΚΟΜΕΙΟ h, ΙΑΤΡΟΣ d, (SELECT d.DOC_ID, COUNT (d.DIAGN_ID) diagnosis
    OF PATIENT_DIAGNOSIS d
    GROUP BY d.DOC_ID)
    WHERE diagnosis > 1);


    ORA-01790: expression must have same type of data, matching expression
    01790 00000 - "expression must have the same type of data, matching expression.

    DOC_SUR 'NAME' DOC_NAME 'NAME', ID d.DOC_ID, HOSP_NAME "HOSPITAL", diagnosis

    What is the data type for these columns

    To_char('test'), to_char ('test'), to_char ('test'), to_char ('test'), 0

    What you're doing here 'test' is already a character. Why do you use TO_CHAR?

  • View the long data type

    Hello

    I use coldfusion 7 and oracle 10g.

    I'm trying to display a field (aprconf_comment) who have a LONG data type and that is formatted with carriage return.
    The problem I have, is the maintenance of wagons return entered by the user.
    The text that is displayed is all in a single paragraph, that all the wagons back had been withdrawn.

    Does anyone know how to keep the return transport?

    Thank you
    Chantal

    Here is my select code
    < name cfquery "allWealth' datasource = #TheDataSrc # dbtype = #TheDataType = # >
    Select *.
    of avwh_bio_wealth
    where aprconf_pidm = ' #ThePidm #
    and aprsubj_subj_code = 'WHLT.
    < / cfquery >

    Here is my code to display
    < cfoutput query = "allWealth" >
    < b >
    < td align = "Left" > < class p = "text" > #aprconf_comment # < /p > < table >
    < /tr >
    < / cfoutput >

    For future references.

    In fact, looking for others, I found this function
    ParagraphFormat() worked a little better for me
    because the text remained inside the window, not as

     
    .

    I guess that ParagraphFormat() creates "soft returns.

    Thank you all,.
    Chantal

  • Select a specific empty data type variable in a view

    Hello

    I'm creating a view

    SELECT id, seq, null createdate-> need for it to be of data type, null-> need qty is data from table1 number type


    -where table1 has only id & seq and I don't want to create these new 2 fields in the table

    is there a way?

    pls advise

    SELECT id, seq, null createdate--> need is the data type, no Qty

    select id , seq , cast(null as date) createdate, cast(null as number) qty ...
    
  • Problem with the CLOB data type.

    Greetings,

    I am facing a problem with the CLOB data type. I know that the CLOB data type is 4 GB (I use Oracle 9i). But in the Pl Sql procedure, I can only store 34305 size for a CLOB variable character data.

    This is the test script that I am trying to run.

    DECLARE
    -Local variables here*.
    I have INTEGER;
    C_1 CLOB.
    BEGIN
    FOR Rec IN (SELECT
    *
    ACCORDING TO THE TABLE)
    LOOP
    C_1: = c_1 | Rec.Clo_1;
    END LOOP;
    EXCEPTION
    WHILE OTHERS THEN
    Dbms_Output.put_line (SQLERRM);
    END;


    Here variable C_1 range value 34305 good character regardless of type CLOB. Now the above script fails if query my buckle - huge number of return values. It is throwing the exception "error during transfer of files ORA-06502: PL/SQL: digital error or value."

    He would be grateful if someone can help me on this.

    Thank you.

    You are probably better off using DBMS_LOB.append, instead of the concatenation of varchar2 (|).

    And... take off your when-other Manager exceptions, please...

  • Types of cube data

    I'm in the middle of implementing a 10 g environment, using AWM, which I expected Import Express in olap data.

    I have a couple of cubes that have different types of boolean data, shortinteger, brief, and text.

    Now, I'm pretty cool creation AWM and cube, and I've read a bit of documentation.

    When I go to create a new cube, I noticed that I had only three digital options for the data type. either NUMBER DECIMAL and INTEGER

    So far for blocks of text: I unselect all dimensions for the rarity and use no compression, all by selecting not additive in the rules tab for all the dimesnsions. When I go to create the measure I can select text.

    I just want to know how to make short data cubes and shortinteger of type boolean? Also, is it read all documentation relating to data types?

    Hello

    It is not possible to define a cube in AWM 10 g using a boolean data type, short or shortinteger - these are the old native Express datatypes and although they still exist in the OLAP engine, the GUI is not available.

    You need to use INTEGER to boolean (1 or 0) and shortinteger and DECIMALS for short - in each case need you more storage space to store the database, but the compression algorithm should allow you to use a lot less overall storage.

    In your case, I would not recommend that you use NUMBER this will reserve enough space for numbers with 38 significant digits that would be excessive for your needs (DECIMAL's 15 p.c.).

    I think that the only documentation on this subject is in AWM help

    In 11g OLAP, you can specify scale and precision for the type of data NUMBER giving you as much control as you want.

    I hope this helps.

    Stuart

Maybe you are looking for

  • WMP11 Sync - articles removed from the device

    I'm having a problem with Windows Media Player 11 attempt to synchronize files on my MP3... after that I have sync a song I want, Windows Media Player deletes 25 other songs that I've previously synchronized before synchronizing this song... and thes

  • Upgrade Vista to Windows 7 with upgrade... activation needs

    I got a slightly used work computer with Vista 32-bit on it. I tried upgrading to Windows 7 Home Premium with an updated disc that I bought a few years at Microsoft.  Everything went well. It is installed properly. I downloaded ALL the updates to get

  • Smartphone blackBerry, deleting read-only files

    Hello, I have pictures in the pictures folder of the camera, which are read-only. How do I remove them?

  • Please help build a sql query

    HelloPlease help build a sql queryMy Table Test2015 has given belowHeader_id Line_id Ordered_item        723887290 199925 MAIN1199925 723887291 MAIN2199926 723887292 SH-POS-NO-BR POS-INS199926 723887293 MAIN2199927 723887294 IC-ENV-NON-BR-ENV-PXY1999

  • Ghost of a Thinkpad Edge 520

    We recently purchased some of thinkpad edge laptops. We had planned on a configuration of the laptop and confgiured and taking a ghost of the disc to clone the rest of the machines. However, the laptop hangs at the thinkpad bios screen. I saw some th