Column selection from 2 subject area

Whenever i m selecting column from two subject area then for a perticular column i m getting two values ........ i want only one value which is coming from one subject area as i m having no values for the same in the other subject area......How can i do tht

When you are using union clause in analysis or combining with other subject area you suppose to have same number of columns and their datatypes with other analysis.
for datatype issues you can use cast in column expression in each analysis. If you want to add a column only from 1 analysis just add and in other analysis use dummy column with exp 0 or ''(for char) based on the datatype.
These you have to deal with each analysis.
If helps pls mark

Similar Messages

  • Error in Dropping columns from Subject Area to selected Columns section

    While Dropping columns from Subject Area to selected Columns section in Analytics nothing is happening.There is no error in the RPD.I am using OBIEE 11g and windows7.I am also getting page error like below:
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
    Timestamp: Tue, 4 Sep 2012 08:31:07 UTC
    Message: 'kmsgPickerUIJSCantAddColumns' is undefined
    Line: 1
    Char: 1781
    Code: 0
    URI: http://localhost:7001/analytics/res/b_mozilla/picker.js
    Message: 'kmsgPickerUIJSCantAddColumns' is undefined
    Line: 1
    Char: 1781
    Code: 0
    URI: http://localhost:7001/analytics/res/b_mozilla/picker.js
    Can you guys please help?

    That error usually means it is still mapped, maybe it is used in another interface if you say the mapping has definitely been removed.
    You can expand the datastore > Used In > "As a Target" or "As a Source" or "In a Package" - that should tell you if it being used anywhere else.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • System-Wide Column Formats by Subject Area

    Can we define System-Wide Column Formats by subject area in OBIEE 11g? If so, how?

    Hi, this post is for 10g, bu I don't think much have changed (except the file location: \MWHOME\instances\instance1\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\catalog\YOUR_CATALOG\root\system\metadata)
    http://oraclebi.blog.com/tip-of-the-day-data-format-file-in-obiee/
    I didn't test it myself.

  • Can we hide the tables and columns from subject areas in the front end

    Hi,
    Is there any way to hide the tables and columns from the subject area in front end.I need to create a report with some tables which the user does not want to see.So after creating the reprot can I hide those tables and columns in the front end

    Hi,
    Your question is not that clear to me...do you want to hide the entire table/column that dont want to show up in the front end then you could do in Presneation Layer in the RPD by going Permissions in the property of that object.
    But if you want to hide the column in the report that can be visible in the subject Area: go to column properties -> Column fomat...thereis Hide option.
    Can you please elaborate your question...what exactly you are looking for...
    --SK                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to create a dynamic RTF report which creates dynamic columns based on dynamic column selection from a table?

    Hi All,
    Suppose I have table, whose structure changes frequently on daily basis.
    For eg. desc my_table gives you following column name on Day 1
    SQL > desc my_table;
    Output
    Name
    Age
    Phone
    On Day 2, two more columns are added, viz, Address and Salary.
    SQL > desc my_table;
    Output
    Name
    Age
    Phone
    Address
    Salary
    Now I want to create an Dynnamic RTF report which would fetch data from ALL columns from my_table on daily basis. For that I have defined a concurrent program with XML as output type and have attached a data template/data definition to it which takes in XML as input and gives final output of conc program in EXCEL layout. I am able to do this for constant number of columns, but dont know how to do it when the number of columns to be displayed changes dynamically.
    For Day 1 my XML file should be like this.
    <?xml version="1.0" encoding="UTF-8"?>
    <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0">
    <dataQuery>
    <sqlStatement name="Q2">
    <![CDATA[
    SELECT Name
    ,Age
    ,Phone
    FROM my_table
    ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_my_table" source="Q2">
      <element name="Name" value="Name" />
      <element name="Age" value="Age" />
      <element name="Phone" value="Phone" />
    </group>
    </dataStructure>
    </dataTemplate>
    And my Day 1, EXCEL output from RTF template should be like this.
    Name     Age     Phone
    Swapnill     23     12345
    For Day 2 my XML file should be like this. With 2 new columns selected in SELECT clause.
    <?xml version="1.0" encoding="UTF-8"?>
    <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0">
    <dataQuery>
    <sqlStatement name="Q2">
    <![CDATA[
    SELECT Name
    ,Age
    ,Phone
    ,Address
    ,Salary
    FROM my_table
    ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_my_table" source="Q2">
      <element name="Name" value="Name" />
      <element name="Age" value="Age" />
      <element name="Phone" value="Phone" />
      <element name="Address" value="Address" />
      <element name="Salary" value="Salary" />
    </group>
    </dataStructure>
    </dataTemplate>
    And my Day 2, EXCEL output from RTF template should be like this.
    Name     Age     Phone     Address     Salary
    Swapnill     23     12345         Madrid     100000
    Now, I dont know below things.
    Make the XML dynamic as in on Day 1 there must be 3 columns in the SELECT statement and on Day 2, 5 columns. I want to create one dynamic XML which should not be required to be changed if new columns are added in my_table. I dont know how to create this query and also create their corresponding elements below.
    Make the RTF template dyanamic as in Day1 there must 3 columns in EXCEL output and on Day 2, 5 columns. I want to create a Dynamic RTF template which would show all the columns selected in Dynamic XML.I dont know how the RTF will create new XML tags and how it will know where to place it in the report. Means, I can create RTF template on Day 1, by loading XML data for 3 columns and placing 3 XML tags in template. But how will it create and place tags for new columns on Day 2?
    Hope, you got my requirement, its a challenging one. Please let me know how I can implement the required solution using RTF dynamically without any manual intervention.
    Regards,
    Swapnil K.
    Message was edited by: SwapnilK

    Hi All,
    I am able to fulfil above requirement. Now I am stuck at below point. Need your help!
    Is there any way to UPDATE the XML file attached to a Data Definition (XML Publisher > Data Definition) using a standard package or procedure call or may be an API from backend? I am creating an XML dynamically and I want to attach it to its Data Definition programmatically using SQL.
    Please let me know if there is any oracle functionality to do this.
    If not, please let me know the standard directories on application/database server where the XML files attached to Data Definitions are stored.
    For eg, /$APPL_TOP/ar/1.0/sql or something.
    Regards,
    Swapnil K.

  • Changing date format for some of the date columns in a subject area

    Hi,
    I have a requirement to change the date format for some of the date columns to dd-mon-yyy for only a particular subject area. Is there a feature available in the RPD which can help me do this?
    In Answers - Column Properties for a Particular column of a report, we can save the style and formatting as system wide default for the particular column or the data type, but that applies across subject areas.
    I tried with the config files too , but that too applies to all suject areas.
    Thanks in Advance,
    Gaurav

    Why don't you create 2 logical column derived from same date physical col and then change the format for one logical column and use it in Subject Area ?

  • Firefox not showing multiple subject areas for OBIEE source

    Creating a new data set using the Oracle BI EE source. The dropdown list of subject areas won't drop down in Firefox, so I can't select any subject area other than the first one. It works properly in IE.
    Anybody else noticed this?
    OBIEE 11.1.1.6.9 with Firefox 18.0.2 or 21.0.

    You should try both Complex folders as well as custom folders and see which gives you better performance. Discoverer SQL optimizations for example apply only on Complex folders and not on simple folders.
    If you define the joins between the two tables, you can still use items from them in your Discoverer report without having to create a complex folder on them.
    And finally, you can always create a view or materialized view and use that MV in your Discoverer query.
    thanks
    Abhinav
    Oracle Business Intelligence Product Management
    BI - http://www.oracle.com/bi
    BI - http://www.oracle.com/technology/bi
    Blog - http://blogs.oracle.com/
    BI Blog - http://oraclebi.blogspot.com/

  • Subject area in RPD  got deleted

    Hi,
    A subject area in Business layer of RPD got deleted and i have all my joins and logical keys defined. I have a backup of the rpd taken a week back. Can i import the deleted subject area alone from the backup rpd and restore in business layer of the latest rpd?
    This rpd is in OBIEE 10
    Kindly help me in this regard.
    Thanks in advance.
    Bhuvan R
    Edited by: user13642056 on Jul 22, 2012 11:43 PM

    Hi User,
    If your old rpd has all the changes in place for the deleted subject area try this,
    ->Take a backup of the current rpd
    ->Goto File-> Import from rpd and select old rpd
    ->In the pop up window, select the subject area to be imported
    ->If you have any init blocks associated with the model, import them and complete the merge process
    This should import the deleted subject area.
    Regards,
    Dpka

  • Sharing Subject Areas

    Are we able to share data from different subject areas in answers?
    thanks,
    Kathy
    Edited by: user622098 on Mar 9, 2012 9:03 AM

    Yes you can do that ....it is by using mutliple subject areas....what version admin you using, in 11g first select a subject area  to analysis then on the top you see small symbol left to refresh button of database to add another SA to your analysis....if you query the fileds which are connected in physical layer ,then no performance issue...if not you might a delay in the query.

  • Resetting a variable deletes cache in all subject areas.

    I have a static variable as maxdatadate which I use in only one BM LTS to filter data. (There are about 30 BMs in the repository) When I reset this variable to a new date, I lose cache related to all the BMs. Has anyone experienced the same? Version is 7.8.4. Is this corrected in newer versions?
    Thank You

    No need to available it , you just need to use it using expression where ever it is possible.
    Check this http://docs.oracle.com/cd/E23549_01/bi.1111/e10540/variables.htm
    To keep it Physically as you need you may need to create a new logical column Time Logical table in BMM and then use expression as repository variable and put that column in all subject areas
    ~ http://cool-bi.com

  • Select from table containing clob

    If i try to select from table containing clob column in SQL PLus it gives error.
    Tab1 contains 3 clob columns and 1 blob column
    select * from tab 1;
    SP2-0678: Column or attribute type can not be displayed by SQL*Plus
    The same statement works in SQL Developer and I am able to see the result.
    Actually i am writing the queries and they will be used by Java developers in their JSP page.
    So what happens here? Can Java use these select statements or will it throw error like SQL Plus?

    BLOB column content can't be displayed in SQL*Plus:
    SQL> create table t_blob (b blob);
    Table created.
    SQL> edit
    Wrote file afiedt.buf
      1* insert into t_blob values('01')
    SQL> /
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select * from t_blob;
    SP2-0678: Column or attribute type can not be displayed by SQL*PlusBlob and clob columns content can be processed using DBMS_LOB
    package procedures and functions or using client's language (like Java)
    methods. See JDBC specification.
    Rgds.

  • How to disable the add/remove subject area function?

    In OBIEE 11G, when creating analysis we can select multiple subject areas that share a common business model. But now I want to close this function.
    Anyone has suggestions?
    Thanks.

    I don't think so we can do this.
    Thanks,

  • Nested Subject Areas

    Is there a way to setup nested subject areas in the presentation layer of the RPD? I would like to see the end user go to OBIEE, select New > Analysis> and select a subject area, Like Finance, MFG and then select the Process 1, 2 or 3. I would like some Categorization.
    For example:
    Finance
    |_> Process 1
    ----> Dim Item
    ----> Dim Date
    ----> Dim Supplier
    ----> Fact Sales
    |_> Process 2
    ----> Dim Item
    ----> Dim Date
    ----> Dim Supplier
    ----> Fact Sales
    |_> Process 3
    ----> Dim Item
    ----> Dim Date
    ----> Dim Supplier
    ----> Fact Sales
    Any ideas?
    Thank you.
    Jonathan
    Edited by: DONAIS on Sep 28, 2012 9:50 AM

    I dont think this can be done. The only option is to go with Naming convension like
    Finance Process 1
    Finance Process 2
    etc
    Pls mark if helps

  • Variable must be available in all Subject areas

    Hi Friends,
    I have a requirement like i need to have repository variable in all subject areas in time dimension.
    To know last refresh date of OBIEE
    For this i have created dynamic variable with the last refresh date.
    1) This variable will fetch the last refresh date in dynamic variable.
    Can you pls help me how can i apply this variable in all subject areas in time dimension
    Regards,
    Kumar

    No need to available it , you just need to use it using expression where ever it is possible.
    Check this http://docs.oracle.com/cd/E23549_01/bi.1111/e10540/variables.htm
    To keep it Physically as you need you may need to create a new logical column Time Logical table in BMM and then use expression as repository variable and put that column in all subject areas
    ~ http://cool-bi.com

  • How add new column in analysis from two subject area

    which is the right way to add a new column to an existing combined analysis from two subject areas?
    if I add the new column first in my two combined queries, then I saw a new column in the results column panel, but this new column is empty and I can't edit its propreties (the button edit column doesn't work). I can't even save the modified analysis due to a "bad xml" errror.
    if I try to first add a new column from the results panel and then in my combined queries, obiee says that new columns are not of the same type.
    I suppose this is because the new column in results panel has no aggregation formula, unlike new columns in queries.
    But I don't know how to change the properties of the new field in the results panel, with no subject area available.
    I have to restart from a single subject area? possible?
    In this case, there is a way to save/copy filters ecc. from the old analysis?
    If anyone can help.
    Thanks
    Luc

    When you are using union clause in analysis or combining with other subject area you suppose to have same number of columns and their datatypes with other analysis.
    for datatype issues you can use cast in column expression in each analysis. If you want to add a column only from 1 analysis just add and in other analysis use dummy column with exp 0 or ''(for char) based on the datatype.
    These you have to deal with each analysis.
    If helps pls mark

Maybe you are looking for