OBIEE 11.1.1..6.9 Logical Column Derived from existing columns

Hello,
I've just installed the last version 11.1.1.6.9 in my test environment and I already have a problem with the RPD.
I've some logical column derived from existing columns using an expression. (so far, so good)
With Adminsitration Tool (Last Version 11.1.1.6.9), when I launch the Consistency Check Manager I have the following error (I use the SampleAppLite RPD in order to reproduce the problem)
ERRORS:
SampleApp Lite :
[nQSError: 46008] Internal error: File server\objectmodel\Src\SOSecureRpGateway.cpp, line 479.
[nQSError: 23013] An error occurred when extracting the metadata definition for the Attribute '"SampleApp Lite"."D3 Orders (Facts Attributes)"."test"'.
The logical column test on "D3 Orders (Facts Attributes)" :
CASE WHEN "SampleApp Lite"."D3 Orders (Facts Attributes)"."Order Date" > "SampleApp Lite"."D0 Time"."Calendar Date" THEN 1 ELSE 0 END
The problem appears only when I use multiple source table in column expression.
Does anyone has the same problem ? I think it's easy to reproduce (I searched on OracleSupport but I didn't find anything yet)
Benjamin

I know that there is no relation between "SampleApp Lite"."D3 Orders (Facts Attributes)"."Order Date", "SampleApp Lite"."D0 Time"."Calendar Date", it's also the same thing in my own RPD.
But as it's working with the 11.1.1.6.2 BP1 version I don't understand why it's not working with 11.1.1.6.9.
Implicit fact column is not set on my repository, but I don't have any request with only dimensional column, so if my understanding is correct I don't need to use it. Also, the problem appears during the check of the repository not in answers.
thanks anyway

Similar Messages

  • Range partition by a virtual column derived from XMLTYPE

    I want to create table and partition it by interval partion (range partition) on a virtual column which is derived from XMLTYPE i get ora-14513 error.
    create table dicom_archive_virtual
    id integer not null primary key,
    parent_id integer, -- where this image is created from
    dcm_filename varchar2(60), -- DICOM image file name from import
    description varchar2(100), -- description of the image
    dicom orddicom, -- DICOM data
    image ordimage, -- DICOM data in JPEG format
    thumb ordimage, -- DICOM data in JPEG thumbnail
    metadata xmltype, -- user customized metadata
    isAnonymous integer, -- accessible flag for the research role.
    study_date date as
    (to_date(substr(extractValue(metadata,'//DATE/text()'),1,10),'yyyy-mm-dd')) virtual)
    PARTITION BY RANGE (study_date)
    INTERVAL(NUMTOYMINTERVAL(1, 'MONTH'))
    ( PARTITION p_2005 VALUES LESS THAN (TO_DATE('1-1-2006', 'DD-MM-YYYY')),
    PARTITION p_2006 VALUES LESS THAN (TO_DATE('1-1-2007', 'DD-MM-YYYY')),
    PARTITION p_2007 VALUES LESS THAN (TO_DATE('1-1-2008', 'DD-MM-YYYY'))
    Study_date is a virtual colum which is derived from the column metadata which is of type XMLTYPE,so when i partition on this virtual column i get the follwoing error
    SQL Error: ORA-14513: partitioning column may not be of object datatype
    So i want to know whether this is not possible or there is any other alternative to achieve this.

    I want to create table and partition it by interval partion (range partition) on a virtual column which is derived from XMLTYPE Congratulations on trying to fit as many cutting edge techniques into a single line as possible.
    So i want to know whether this is not possible ...The error message is pretty unequivocal.
    ...or there is any other alternative to achieve this.What you could try is materializing the virtual column, i.e. adding an actual date column which you populate with that code in the insert and update triggers. Inelegant but then complexity often is.
    Cheers, APC
    blog : http://radiofreetooting.blogspot.com

  • Add a New Column Before An Existing Column in 10g.

    Hi all,
    I Want to add column in a table ,before an existing column in Oracle 10G database.
    table A:
    id number,
    name varchar,
    job varchar,
    status char.
    i want to add a column before "JOB".
    I.E) USING AFTER OR BEFORE IN ALTER TABLE SYNTAX.

    887268 wrote:
    Hi all,
    I Want to add column in a table ,before an existing column in Oracle 10G database.
    table A:
    id number,
    name varchar,
    job varchar,
    status char.
    i want to add a column before "JOB".
    I.E) USING AFTER OR BEFORE IN ALTER TABLE SYNTAX.There's no such option, and to be honest there's no real need to do it as Oracle doesn't care what order the columns are in, and you can select out the columns in your queries in whatever order you want. You could use the DBMS_REDEFINITION package (http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/d_redefi.htm) but unless you're really struggling then that's perhaps a little bit over the top. The simplest way if you really feel you need to do it is to create a new table based on the existing one with your new column in it and selecting the data into it at the same time...
    create newtable as
    select id, name, cast(null as varchar2(10)) as newcolumn, job, status from tableA;and then drop the original table and rename the new one...
    drop table tableA;
    rename newtable to tableA;of course you would need to recreate any constraints, indexes, triggers etc., and it could be problematic if you have foreign keys etc. but you have to weigh up what you are wanting to do and why you really need to put a new column in the middle of other columns rather than just putting it on the end.

  • Populate data to column frm existing column

    Hi,
    I need to have 3 more columns and populate data from existing column rows.
    For example
    I want to have new columns based on int_bckt_1, char-bckt-2 and char_bckt_3
    int_bckt_1= raw score
    char_bckt_2= Pref
    int_bckt_2= Scaled score
    Raw score, pref and sacled score columns are new.
    The data is populated based on these columns int_bckt_1, char_bckt_2,int_bckt_2
    The rule is - i need to populate the data based on sub test id and char-bckt_2. we need to consider sub test id=200
    for english
    sub test id=200 and char_back_2 =T and subject is english then i need to populate data for all subtestid 500 and subject =english
    similar for Perf and Raw score
    For Math
    sub test id=200 and char_back_2 =T and subject is Math then i need to populate data for all subtestid 500 and subject =Math
    i want to do samething for char_bckt_2 =TR too.
    I herewith attached my excel sheet for more clear
    Raw score, Pref, Scaled score these column is not there in the table i need to have and populate data based on rule
    Could you please help me.
    Thanks
    Ram

    Another interpretation:
    OK, 3 new columns, so they're all null and you want to populate them and your last reply is your desired output.
    If that's correct you can use CASE:
    SQL> select * from t;
    STUD INT_BCKT_1 CHAR_BCK INT_BCKT_2 CHAR_BC SUBJECT  SUBTESTID      SCALE      A_RAW PR
    John         38 T               226 NI      English        200
    John         16 T               218 WF      Math           200
    John         82 reading         167 poetry  English        500
    John         82 Language        166 formal  English        500
    John         83 number          170 compu   Math           500
    John         83 geometry        172 spatial Math           500
    6 rows selected.
    SQL>  
    SQL> update t
      2  set scale = case when subject = 'English'
      3                   then (select int_bckt_2 from t where subject = 'English' and subtestid = 200)
      4                   when subject = 'Math'
      5                   then (select int_bckt_2 from t where subject = 'Math' and subtestid = 200)
      6              end
      7  ,   a_raw = case when subject = 'English'
      8                   then (select int_bckt_1 from t where subject = 'English' and subtestid = 200)
      9                   when subject = 'Math'
    10                   then (select int_bckt_1 from t where subject = 'Math' and subtestid = 200)
    11              end
    12  ,   pref = case when subject = 'English'
    13                   then (select char_bckt_3 from t where subject = 'English' and subtestid = 200)
    14                   when subject = 'Math'
    15                   then (select char_bckt_3 from t where subject = 'Math' and subtestid = 200)
    16              end;
    6 rows updated.
    SQL>
    SQL>
    SQL> select * from t;
    STUD INT_BCKT_1 CHAR_BCK INT_BCKT_2 CHAR_BC SUBJECT  SUBTESTID      SCALE      A_RAW PR
    John         38 T               226 NI      English        200        226         38 NI
    John         16 T               218 WF      Math           200        218         16 WF
    John         82 reading         167 poetry  English        500        226         38 NI
    John         82 Language        166 formal  English        500        226         38 NI
    John         83 number          170 compu   Math           500        218         16 WF
    John         83 geometry        172 spatial Math           500        218         16 WF
    6 rows selected.

  • Query to add a column in between existing cols of a table?

    HI All,
    I have two questions.
    1. Query to add a column in between existing cols of a table? (not at the end. This is view of an order of output fields in a report)
    2. How do I swap the contents of two columns in a table. Suppose in a table tab there are 2 cols , col1,col2 populated with some data.
    I need a query(probably) to swap the col1 and col2 values . NOT AS A RESULT SET, BUT IT NEEDS TO GET CHANGED IN THE TABLE.
    Please help !

    > 1. Query to add a column in between existing cols of
    a table? (not at the end. This is view of an order of
    output fields in a report)
    Not really sensible ito DBMS - it does not care how you want to view the data. The sequence and formats of columns are what you/the application need to specify in the SQL's projection clause.
    Also keep in mind to achieve this, the DBMS will need to rewrite the entire table to fit this new column in-between existing columns. This is not the best of ideas.
    The projection of rows is dealt with SQL statements - not with the physical storage implementation.
    > 2. How do I swap the contents of two columns in a
    table. Suppose in a table tab there are 2 cols ,
    col1,col2 populated with some data.
    I need a query(probably) to swap the col1 and col2
    values . NOT AS A RESULT SET, BUT IT NEEDS TO GET
    CHANGED IN THE TABLE.
    This seems to work:
    SQL> create table foo_tab( c1 varchar2(10), c2 varchar2(10) );
    Table created.
    SQL> insert into foo_tab select TO_CHAR(rownum), TO_CHAR(object_id) from user_objects where rownum < 11;
    10 rows created.
    SQL> commit;
    Commit complete.
    SQL> select * from foo_tab;
    C1 C2
    1 55816
    2 55817
    3 55818
    4 55721
    5 105357
    6 105358
    7 105359
    8 105360
    9 105361
    10 60222
    10 rows selected.
    SQL> update foo_tab set c1=c2, c2=c1;
    10 rows updated.
    SQL> select * from foo_tab;
    C1 C2
    55816 1
    55817 2
    55818 3
    55721 4
    105357 5
    105358 6
    105359 7
    105360 8
    105361 9
    60222 10
    10 rows selected.
    SQL>

  • OBIEE 11g - Navigation from Hierarchy Column

    Hi Experts,
    I have created one Organization Hierarchy (Country --> Region --> State --> City) in the Logical Layer of the rpd and pull that hierarchy with the dimension in the Presentation Layer. In the new analysis I have created dashboard prompt with the Organization hierarchy and created a report showing Total Headcount column and Organization Hierarchy column (using selection steps feature in OBIEE 11g).
    Now when I select Region from the dashboard prompt, in the report it is showing me total headcount according to my region selected in the prompt, but when I tried to navigate from the Total Headcount to see the list of employees in that particular region, I am not able to see the list of employees belonging that particular region rather it is showing me the list of total employees at the Country level.
    PS - In the navigation report I am prompting Country, Region, State and City from the Organization dimension, but I am not able to prompt Country, Region, State and City from the hierarchy column which is there in the Organization dimension.
    Please Help.

    Hi,
    You need to create the drill down report also using selection steps. I tried the drill down was working fine.
    Thanks

  • The requested column does not exist in this table

    Hi All,
    I am getting the following error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 59014] The requested column does not exist in this table. (HY000)
    SQL Issued: SELECT "Customers - Dim".CITY FROM MVDEMO ORDER BY 1
    When I tried viewing data online I am able to view the data in the physical Layer. Also I tried connecting thru ODBC Client and issued the same SQL (above) and it returns the data.
    I am using Oralce BIEE 10.1.3.2.1 version.
    Please let me know if any faced this kinda issue and how to resolve this.
    Thank you.

    Check your column mapping in the BMM layer in your Customers - Dim logical table. Does the CITY column point to a physical table column?

  • Displaying 2 columns in a single column using HTML section of reports.

    Hi Team,
    I have a requirement in which we need to display 2 columns in the same column of OBIEE report. At present we have 2 columns as 2 different columns.
    For example if i have a column A which is used as @A in html section i need the new column to have @A + @B where B is another column in database.
    Can i concatenate 2 columns in a single column ?
    Thanks,
    Ritesh

    first select column 1 and column 2 in criteria.
    go to reaults are add narrater view.
    in narrater view type.
    @1@2[br/]
    set number of rows
    this should work in narrator.
    Edited by: user10615659 on May 20, 2013 4:30 PM

  • How to add columns to an existing dimension on the fly?

    Hey,
    1) I already have a cube which is attached to three dimensions. Now if I wanted to add a few columns in the dimensions once they have been deployed, I find it difficult as the changes in the logical model and the physical table is not synchronized. Can some one please let me know, if adding columns to existing dimensions is possible?
    2) I also had one more doubt. I have a fact table which has columns by the name parameter name and parameter value. Now once it is loaded I want to make certain calculations using a few parameters values and store them in the same fact table in the form of a new parameter name and the derived parameter value. How can I go about doing this part in OWB.
    Thanks

    1. Yes you can add existing columns to a dimension, there are a couple of approaches; either add the columns to tje underlying table and then change the dimension to manual binding and add attributes to represent the columns. Or edit the dimension and regenerate the implementation table.
    2. Could these not be just additional measures that you calculate in the cube load?
    Cheers
    David

  • EBS Columns/Tables for DWH Columns/tables.

    Hi Friends,
    We are working on OBIA HR- Analytics. I want to trace out EBS Columns/Tables to some of our DWH columns. Pl find the below examples in my little investigation.
    Headcount (DWH Column) : DWH Table: W_WRKFC_BAL_A
    EMPLOYEE_NUMBER ( EBS column) : EBS Source Table: PER_ALL_PEOPLE_F
    Mapping: SDE_ORA_EmployeeDimension
    Mapplet: mplt_BC_ORA_EmployeeDimension
    Now, i m trying to trace out the same stuff for the below DWH table/columns:
    W_WRKFC_EVT_A --> W_WRKFC_EVT_F     
    TERMINATION_CNT --> TERM_EVENT_IND
    Pl. let me what are the EBS tables/columns for W_WRKFC_EVT_F (table) / TERM_EVENT_IND (column)
    But, i m thinking that, TERMINATION_CNT / TERM_EVENT_IND is not a direct column from EBS. SOme logic is going on this column using diff. columns. But, not sure.. :)
    Pl guide me how to resolve this issue..
    Thanks in Advance.
    Raghu Nagadasari

    Hi,
    I got some EBS Queries from below links and i think, i m near to my requirement :) I will let u guys know once i get the complete query..
    https://www.google.co.in/search?q=ebs+query+to+find+out+Employee+Termination+Count&newwindow=1&ei=yZOsUdf6EYW3rAfu1YGwBg&start=10&sa=N&biw=1024&bih=595
    http://appsquery.blogspot.in/2010/08/query-to-get-active-employees-and.html
    http://appsquery.blogspot.in/2010/08/query-find-employee-count.html
    Raghu Nagadasari

  • Ok, im new to numbers but i cant work this one out. In column A is an average of hours worked. I have 4 columns. A and B have different values. Column C is an average of hours worked. When column C is less then 8 i need column D to equal column a

    Ok, im new to numbers but i cant work this one out. I have 4 columns. A and B have different values. Column C is an average of hours worked. When column C is less then 8 i need column D to equal column A. When column C is equal or greater then 8 i need column D to equal the sum of A and B.

    Hi Lucas,
    Try this:
    Formula in D2 (and Fill Down) =IF(C2<8, A2,A2+B2)
    The IF function follows the logic of if, then, else.
    IF(this is true, then do this, else do that)
    If it is raining, then stay at home, else hold a picnic .
    Regards,
    Ian.

  • List all of the existing column and there column format and data format?

    Hello Gurus,
    I am new to OBIEE and i have a requirement to verify the column format and data format for all of the existing column while generating a analysis report. Is there any way i can list down all of the columns which are exposed and list there column format and data format?
    For checking the individual column properties i know there is an option called 'Column Properties' but want to know all in once go.
    Kindly help me and thanks in advance.
    Thanks

    I don't think you have anything in answers to get that, Go to Repository and Utilities -> Generate Metadata Dictionary that will give columns and datatype.
    Award points if it helps
    ~Srix

  • Add Column to an existing CSV using powershell

    Hi Everyone,
    I am horribly stuck in building a logic of how can i add a column with certain details in an existing CSV using powershell. I tried many things one of the code is posted below.
    The situation is , I have a Folder path ' D:\Exclusion\Final1' it contains a list of CSV's that looks like below:
    preprocessed1.csv
    CI,Environment
    vm-Serv1,Test
    preprocessed2.csv
    CI,Environment
    vm-bkp1,Prod
    and so on with same structure..
    Then I have another CSV that Contains certain list of Patches and Title
    looks like:
    Master_Exclusion.csv
    Title, Patch
    xyz, KB23109
    abc, KB432344
    yyy, KB321221
    What I am Trying to do is to Copy the Column 'Patch' from here and copy them to all the CSVs present at ' D:\Exclusion\Final1'
    and  the output would look like :
    preprocessed1.csv
    CI ,Environment , Patch
    vm-Serv1, Test     ,KB23109
                                KB432344
                                KB321221
    CI,Environment,Patch
    vm-bkp1,Prod,  ,KB23109
                            KB432344
                            KB321221
    $filepathex=Get-ChildItem D:\Exclusion\Final1
    foreach($fileex in $filepathex)
    $exclusion=Import-Csv D:\Exclusion\Master_Exclusion.csv
    $list=Import-Csv D:\Exclusion\Final1\$fileex
    $list |
    Select-Object *,@{Name='Patch';Expression={$exclusion.Patch}}} |
    Export-Csv D:\Exclusion\Split2\$fileex -Append -NoTypeInformation
    Thanks in Advance for any help or suggestions.

    I am extremely sorry for the confusions , actually I am trying to just add a new column named "Patch" to a a list of existing CSV's . the patch column is present in another CSV i need to append it to the list of CSV's
    Like
    existing csv:
    CI,Environment
    vm-serv,Test
    and another CSV is 
    Master_Exclusion.csv
    Title,Patch
    xyz,kb084932
    yrx,KB893748
    trw,kb949298
    The output would be :
    output.csv
    CI,Environment ,Patch
    vm-serv,Test,kb084932
                         KB893748               
                          kb949298

  • Get column values from list of values programmatically

    hi all
    how i get column values from list of values programmatically in the
    returnPopupDataListener method

    If this answers your question , please close this thread by marking it as answered.
    Thanks

  • How can I Move data from one column to another in my access table?

    I have two columns, one that stores current month’s data and one that stores last month’s data. Every month data from column 2 (this month’s data) needs to be moved to column 1 that holds last month’s data. I then null out column 2 so I can accumulates this month’s data.
    I understand how to drop a column or add a column, how do I transfer data from one column to another.
    Here is my trial code:
    <cfquery name="qQueryChangeColumnName" datasource="#dsn#">
      ALTER TABLE leaderboard
      UPDATE leaderboard SET  points2 = points3
    </cfquery>
    Unfortunately, I get the following error:
    Error Executing Database Query.
    [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in ALTER TABLE statement.
    How can I transfer my data with the alter table method?

    I looked up the Access SQL reference (which is probably a
    good place to start when having issues with Access SQL), and
    it suggests you probably need a WHERE clause in there.
    I agree the documentation is a good place to start. But you should not need a WHERE clause here.
    Too few parameters. Expected 1.
    If you run the SQL directly in Access, what are the results? At the very least, it should provide a more informative error message..

Maybe you are looking for

  • I wnat to add new fieldtext in the alv list output plz tell me

    hi, i whant add new fieldtext in the list output, plz tell me where can i modify it. CORRECTIONS DATE       CORRECTION NOTE    AUTHOR DESCRIPTION 09.03.2001 L9CK045451 0388404 XSC    Wrong list output for multiple Os 05.06.2001 AL0K023393 0410219 Lud

  • "Check Box" in ADF Form is not Working in JDev11.1.1.2

    11gR1 : I created an ADF Form in a JSF Page and I deleted one column and draged the same column again as an "ADF selectBooleanCheckbox " and in Edit Boolean Binding Dialog : I entered the value selected as 'True' and unselected value as 'False' and w

  • How to assign/unassign a finance document in sales order

    Dear experts, At billing tab at line item in sales order, a finance document (a letter of credit in this case) can be assigned. I would like to know 1. how to assign and unassign it 2. is it possible to "deactivate a letter of credit" meaning that th

  • A Good Reference for Aperture, Versions, File Names, Changing & Moving

    I was wondering if there is a consensus on a good reference for understanding how Aperture handles files? Versions and file names. How do you change them in Aperture? What happens if you change them in Finder? Do I need versions? (can't I just us fil

  • Language Setting for - Hyperion Smart View for Office

    Hi, Here's a scenario I need to find an answer to. 1. We have Essbase system 9 installed on a machine named: USESSSRVR and here the ESSLANG environment variable is set to "English_UnitedStates.US-ASCII@Binary". 2. We build two Unicode cubes, one for