Join issue OBIEE (BMM Layer)

Hi All -
1. I have following tables:
D1 - Dimension Table
D2 - Dimension Table
D3 - Dimension Table
F1 - Fact Table
We have join between - D1 - F1, D2, F1 & D3 - F1
2. We have some more tables :
D4 - dimension Table
F2 - Fact Table
We have join between - D4 - F2
3. We have some more tables :
D5 - Dimension Table
F3 - Fact Table
We have join between - D5 - F3
Now the scenario is we need to enable joins between all these tables in the logical layer. i created dimensional hierarchies and assigned at the total level for the fact tables. but it is not working.
can anybody please lookinto this issue?
Thanks

I noticed that if you create the FK in the physical layer BEFORE moving the columns into the Business Model layer it will keep them when you bring them over, but if you create the columns in the BM layer then made the physical joins you have to go back and join in the BM layer.
Unfortunately if you'll lose anything in the Presentation or Business Model layer if you remove it from the BM and want to re-join.

Similar Messages

  • Left outer join usage in obiee BMM layer

    Hi All,
    We lately started using left outer join in our bmm layer , to meet the requirement expectation .
    problem : We have two tables  Fact A , Dim B . There is an join int_id column to join them . Problem is... in table Dim B , we have 3 millions rows of Int_id and in fact table it is loaded for only data available(1 million rows).
    Due to this we are dropping rows  in the report ..as it is only getting data where fact.int_id = dim.int_id. So we used left outer join to solve to one particular report .(we know we can do ETl to load dummy int_id and make it null , but it is huge effort ..so we did left outer join)
    These days , same kind of reports are in requirement . if i keep on doing same left outer join to meet the requirement in BMM layer ? is there any disadvantages due to this ? any performance degrade due to this ? please throw few lines on left outer join and its usage ?
    Thanks,
    Sri

    Remodel your tables that might be a partition or any other way and follow in BI as per your new model.
    Simply: Go for ETL kind of solution

  • Why do we need to Join in the BMM Layer

    Hi,
    Somebody asked me the following questions
    *"If the joins are already defined in the Physical Layer and ultimately the query will pass thru Physical Layer to the Database and will take the joins defined in the Physical Layer then why do the joins in the BMM layer". This can be a Complex join or a Foriegn Key Join*
    Under what conditions do we use Foreign Key Joins in BMM layer ?
    How do we use Stored Procedure in OBIEE?
    Any answers.
    Rgds,
    Amit
    Edited by: amitsharma73 on May 20, 2010 5:51 PM
    Edited by: amitsharma73 on May 20, 2010 5:52 PM
    Edited by: amitsharma73 on May 20, 2010 5:52 PM
    Edited by: amitsharma73 on May 20, 2010 5:53 PM

    This is most likely because the copy's licence has not been verified, and to verify it you need to log in so it can check that you account contains the license.
    It's just to prevent torrenting and piracy.

  • OBIEE BMM Layer

    In the OBIEE repository, if you create FKs in the physical layer between tables, you shouldn’t have to create them in the business model, correct? It is crazy that the FKs that exist in the physical layer don’t even show in the business model and the consistency check fails. Any ideas ?

    Hi user,
    IF u developed the repository in offline mode and which u had given the mappings in physical layer and moved the tables to bmm.After u made this as the current repository(ie online mode).At this time the logical joins will be created automatically.Once this is in online mode if u had given any mappings in physical diagram then it wont affect in the business diagram.So here u need to give the logical join in business diagram in bmm layer for those mappings created in physical diagram.

  • Need help in OBIEE BMM layer logic implementation

    Hi All,
    I have a requirement in my RPD development.
    I have two tables account and site.
    Table_Name:*Account*
    Column_Name:                    
    AccountID     Store_Name     Site Data_1_Name     Site_Data_2_Name     Site_Data_3_Name
    264364     Wegmans_ Food_Markets     GSF     Floor_Type     BSC
    999999     Walmart     Floor_Type     BSC     
    999998     Walgreens     BSC     Avg_Cust_Count     GSF
    Table_Name:*Site*                                   
    Column_Name:
    Site_ID     Store_Name     Account_ID     Account_Name     Site_Name     Site Data_1_Value     Site Data_2_Value     Site Data_3_Value
    264367     Wegmans_Food_Markets     264364     Wegmans_Food_Markets     Alberta_Drive_#82     96114     Vinyl     Kellermeyer
    264368     Wegmans_Food_Markets     264364     Wegmans_Food_Markets     Alberta_Drive_#83     96109     Poly_Vinly     ABC
    123     Walmart     999999     Walmart     Alberta_Drive#1000     Vinly     XYZ     
    1678     Walgreens     999998     Walgreens     Calgary_ Drive#9009     ABC     10000     56565
    Site Logical/ Presentation Table in OBIEE
    Site_ID     Store_Name     Account_ID     Account_Name     Site_Name GSF     Floor_Type     BSC
    264367     Wegmans_Food_Markets     264364     Wegmans_Food_Markets     Alberta_Drive_#82     96114     Vinyl     Kellermeyer
    264368     Wegmans_Food_Markets     264364     Wegmans_Food_Markets     Alberta_Drive_#83     96109     Poly Vinly     ABC
    123     Walmart     999999     Walmart     Alberta_Drive#1000          Vinly     XYZ
    1678     Walgreens     999998     Walgreens     Calgary_ Drive#9009     56565          ABC
    for account table we have the Site Data_1_Name ..Site Data_3_Name columns values which is the column name for the values in Site table(i.e the values in the columns "Site Data_1_Value..Site Data_1_Value") . this values change dynamically based on the column name(Site Data_1_Name ..Site Data_3_Name ) in Account Table . how do i map this column values in RPD level ? or do we have any logic to implement this. PLEASE HELP ME TO SOLVE THIS ...
    Thanks in advance ,
    Mohan Mano

    HI mohan the information you provided holding some sensitive data please delete some of them otherwise you might be in trouble.
    Make join between the account_ID and the SITE_ID based on the inner join columns which match in both tables will retrieved in the report. If you want to see the null values as well you can use outer join.
    Thanks,
    chak

  • Left Outer Join in BMM layer

    Hi All,
    while building the RPD we have to use the join as Left outer join for two tables , we added join condition in BMM layer like evey table we have three tabs like General,Column Maooing and Content.
    In General tab we have to sections like map to these tabls and Joins right. In the Join Scetion we add join conditions for two tables as left outer join.
    Now i need to move the first table as second table and wise versa , how i can?? move these two tables
    Thanks for your help.

    Hi User,
    You will have to remove and add the table as there is no option to reorder the tables.
    Rgds,
    Dpka

  • Count on a column In BMM Layer of Obiee

    Hi All,
    How to implement below SQL in OBIEE BMM layer
    SELECT   COUNT ( * )
                FROM  dept, emp
               WHERE       emp.origrecordid = dept.depno
                     AND emp.empname = 'xyz'
    Please help me on this

    create a metric with expression
    count(employee_id)
    the value for this metric will vary based on columns selection on Answers
    ~ http://cool-bi.com

  • How should I deal with it in the BMM Layer

    Hi all,
    I need a suggestion in a problem.
    Here is the scenario,
    In the physical layer, There are some fact to fact joins.
    ProductFact ----< PolicyFact ----< PolicyCoverFact ----< ClaimFact ----< ClaimPaymentFact ----< CorrespondenceFact
    There are some conformed dimension tables given below
    Geography is joined to ProductFact, ClaimFact
    Organisation is joined to PolicyCoverFact, CorrespondenceFact
    Currency is joined to PolicyFact, ClaimPaymentFact
    Also there are non-conformed dimensions such as,
    ProductType is joined to ProductFact
    PolicyCoverType is joined to PolicyCoverFact
    and there are many more......What I know is when there are fact to fact joins, we should make a logical table in the BMM layer and add both fact tables to the same LTS, But in this case, almost all the fact tables are joined directly.
    How should I deal with these fact to fact joins in the BMM layer? Any suggestions?
    Edited by: LavaRider on Aug 25, 2010 2:47 AM

    LavaRider wrote:
    I have to create many LTS for the fact table......
    1 LTS for ProductFact
    1 LTS for ProductFact & PolicyFact (which contain ProductFact and PolicyFact as sources)
    1 LTS for ProductFact , PolicyFact & PolicyCoverFact ........
    and so on.....
    have I understood correctly? Is that what you mean?Yes, the reason why I said to "keep" the firsts fact table in each source is to make the dimension work.
    For example, if the "product dimension" is only linked to "product fact", but not "policy fact" then you won't be able to do a report based on "product dimension" and "policy fact". Right ? To be able to do this report, OBIEE must do a join with "product fact" (this fact table become an intersection table). That's why you will add product fact in the "policy fact" source. Same for others source.
    But the name of "ProductFact & PolicyFact" source can be "policy fact". Because each row of this source is a policy fact.
    For the 3rd table, each row is a "policy cover fact". But to be able to join with "product dimension" and "policy dimension", you need to integrate "policy fact" and "product fact" tables in the logical source.
    and so on.

  • Sum Aggregation Error in Physical & BMM Layer in OBIEE 11g with Essbase 11

    Hi everyone,
    I'm using OBIEE 11g with Essbase 11 as the data source. I'm using Sample Basic database from the Essbase as my data source. If I'm using the hierarchy for the measures (so I don't flatten the measures), and when I changed the aggregation in both physical and BMM layer from Aggregate_External to Sum, I can't create a report at all from the Answers.
    Does anyone encounter the same thing? Any ideas/solution about this? Please help.
    Thanks a lot!

    Hi Deepak,
    When I picked the "Basic - measure" alone, I got this error.
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 96002] Essbase Error: Unknown Member Basic - measure used in query (HY000)
    SQL Issued: SELECT 0 s_0, "Sample Basic"."Basic"."Basic - measure" s_1 FROM "Sample Basic".
    When I picked the "Gen1,Measures" alone from the measure dimension, I got this error:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 46008] Internal error: File server\Query\Optimizer\ServiceInterfaceMgr\SIMDB\Src\SQOIMDXGeneratorGeneric.cpp, line 2610. (HY000)
    SQL Issued: SELECT 0 s_0, "Sample Basic"."Measures"."Gen1,Measures" s_1, SORTKEY("Sample Basic"."Measures"."Gen1,Measures") s_2 FROM "Sample Basic"
    But when I queried the dimensions one by one (only single dimension each), no error was shown.
    This only happens if I use Sum in the physical and BMM layer. If I use External_Aggregation, these errors do not happen. And if I flatten the measures, these errors also do not happen.

  • Issue adding a new column to OBIEE presentation layer

    Hi,
    I am pretty new to OBIEE so this may be a silly question. I am facing some problems trying to add a new column from a physical table the OBIEE presentation layer.
    Below are the steps I followed:
    Task: add a product category set to the presentation layer.
    Steps:
    1) First verified that the product category set is being populated in the W_PROD_CAT_DH table in the datawarehouse. this was done by running the following sql
    SELECT W_PROD_CAT_DH.TOP_LVL_PRODCAT_NAME
    FROM W_PROD_CAT_DH, W_INVENTORY_PRODUCT_D
    WHERE W_PROD_CAT_DH.integration_id = W_INVENTORY_PRODUCT_D.INV_PROD_CAT1
    This sql gave the right category value.
    2) created a "Alias" of the table W_PROD_CAT_DH in the OBIEE Admin tool physical layer. (done by right clicking W_PROD_CAT_DH >>New Object>> Alias)
    3) named the Alias of W_PROD_CAT_DH as "Dim_W_INV_MKT_CAT" and created a key of the alias named "integration id" on the column "integration_id"
    4) opened the pre-existing alias of W_INVENTORY_PRODUCT_D the alias was called "Dim_W_INVENTORY_PRODUCT_D" and added a key called "MKT_CAT" on the column "INV_PROD_CAT1" in this alias (Dim_W_INVENTORY_PRODUCT_D of the table W_INVENTORY_PRODUCT_D)
    5) in the alias of the "W_INVENTORY_PRODUCT_D" called "Dim_W_INVENTORY_PRODUCT_D" added a "Foreign Keys" the expression of the key is following: ("Oracle Data Warehouse"."Catalog"."dbo"."Dim_W_INV_MKT_CAT"."INTEGRATION_ID" = "Oracle Data Warehouse"."Catalog"."dbo"."Dim_W_INVENTORY_PRODUCT_D"."INV_PROD_CAT1")
    Logical layer
    6) Opened the existing logical folder called "Dim - Inventory Product" and clicked on "Sources" tab then double clicked the source "Dim_W_INVENTORY_PRODUCT_D" and added a new mapping under "Map to these tables" under "General" tab. The column that was added was the physical alias "Dim_W_INV_MKT_CAT"
    7) added a new column mapping to the same logical table source (Dim_W_Inventory_PRODUCT_D) this new mapping was a column from the alias "Dim_W_INV_MKT_CAT" (column name "TOP_LVL_PRODCAT_NAME")
    Presentation Layer
    8) dragged the newly added column (TOP_LVL_PRODCAT_NAME) from the logical layer "Dim - Inventory Product" to the presentation layer "Product" folder.
    ISSUE
    after adding everything and checking global consistency and save and checking-in my work when i login from the front end presentation services. I see the newly added column is showing under the "Product" folder. on dragging the column by itself to the Ad-Hoc analysis I can see the different values of the category. On adding a second column from the same logical folder (Dim - Inventory Product in logical layer) i still see the right product name and corresponding category. BUT when I drag any other column from any other folder (such as "Day" from "Time" or any fact values) the result does not fetch any data (message: The specified criteria didn't result in any data.)
    I am not sure if I am missing any step but I know I am mapping the new table alias to the inventory_product_d since i see right results on creating analysis of columns in those two folders. but no other folders give me any data.
    I also know that the logical folder "Dim - Inventory Product" is joined with other tables as I can see results when i do not add the newly added catagory column but other folder and other columns of "Dim - Inventory Product"
    I would really appreciate any insight to this very much. we are using OBIEE 11.1.1.6 with the Oracle 11.5.10 Adaptor (SDE_ORA11510_Adopter)
    I will try to upload some screenshots if needed but presently not sure if its something really simple.

    Hi Prassu,
    thanks for the responce. and Apologies for the delay in getting back to you.
    1) 1.First of all set the logging level to 3 in the admin tool save it.
    You can get the SQL query from here
    settings(Answers right top)-->Administration-->manage sessions-->view log
    When I try to do this I get the following message. and no log files.
    Error
         Log Could Not Be Retrieved
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <3790667783>: Syntax error [nQSError: 26012] . (HY000)

  • Please Help in Joins and content tab (BMM Layer).

    Hi all,
    I am a newbie in OBIEE. I am working on a project in our organisation for existing database schema in oracle. We are planning to use OBIEE for reporting purpose.
    Here's my problem.......
    I have Three dimensions and Two Fact tables in my schema.
    out of these one dimension is conformed Dimension.
    Product_Reporting_Line, Geography, Policy_Cover_Type are Dimensions and ClaimFact,*PolicyFact* are facts.
    Product_Reporting_Line is joined to Claim Fact and Policy_Cover_Type is joined to PolicyFact..
    Geography is joined to both Claim Fact and PolicyFact.
    Here's how it looks.....
    Product_Reporting_Line-----< Claim Fact >-------Geography--------< PolicyFact >-------Policy_Cover_Type
    I have a report in which columns from all the tables have to be taken.
    In the Fact tables F1 and F2, there are some columns for which aggregation rule is not set (varchar Data for example Claim Number from ClaimFact and Policy Number from PolicyFact).
    How should I design BMM layer. I want to know how the content tabs should be set.
    Can anybody suggest me how should I do this?
    Edited by: LavaRider on Jul 12, 2010 6:12 AM

    Hi Kart,
    I didn't do it the other way, I did it the the way you suggested me..
    I have set the content for the Policy_Fact LTS to the Total level of Product_Reporting_Line dimension.
    also I have set the* content* for the ClaimFact LTS to the total level of Policy_Cover_Type.
    When I set the level *(Level tab of logical columns properties)* of Measues to the total level then it works....
    i.e.
    I have set the levels of the logical columns of Policy Fact table to the total level of Product_Reporting_Line and also set the levels of the logical columns of Claim_Fact to the Total level of Policy_Cover_Type.
    I want to ask you Do we have to set the content in the LTS as well as in the Level (tab) of the measures?
    Thanks for giving your precious time for me, I really appreciate that

  • Circular Join in BMM Layer

    Hi,
    There are few dimension tables in my BMM Layer which is joined to every other table. I get circular joins error at this point. I tried duplicating the logical tables and avoided the circular schema. It always showed my an error.
    Please guide me.
    Thanks in Advance
    Edited by: 914981 on Feb 16, 2012 5:43 AM

    Hi,
    Eliminate all circular joins (intra-dimensional circular joins) in a logical table source in the Physical Model by creating physical table aliases.
    For example, say you have a Customer table that can be used to look up
    ship-to addresses, and using a different join, to look up bill-to addresses.
    Avoid the circular joins by aliasing the table in the Physical layer so that there is one instance for each purpose, with separate joins.
    If its the same dimension table, make an alias on the dim for each different join you want to use and model them as seperate logical tables in the BMM.
    Also refer thread for good understanding:
    Re: Obiee - physical layer
    Regards,
    MuRam

  • How to do join in BMM layer.

    Hi Guys,
    i am using Argus safety application for analytics. i need some help. here i am explaining my scenario.
    CASE_MASTER is my main fact table.
    Dim_Prefferd_Term (1)-------------(M) Map_PrefferedTerm_CaseId (M)----------------- (1) Case_master (1)-------------- (M) map_caseId_drugs (M) ---------- (1) Dim Drugs
    can anybody suggest how to do complex join in BMM Layer.
    Thanks In Adavance.
    Edited by: 811469 on Apr 20, 2011 9:02 PM

    Thanks!!
    I think I made some mistake in configration file.
    When I regeneted files by MyEclipse Reverse Engineering
    I was able to do that.

  • Arranging Hierarchy tables in BMM layer

    Hi
    I have a different structure of dimensions in the database.
    Year->Season->Quarter->Month->Week
    For every level in Hierarchy I have table i.e, Dim_Year, Dim_Season, Dim_Quarter, Dim_Month, DIm_Week
    They are joined in physical layer in as per the hierarchy thats is Dim_Year is joined to DIm_Season by Year_id, Dim_Season is joined to Dim_Qaurter by Season id and so on.
    In BMM layer I have to craete an Hierrarchy.
    How should i keep these tables
    Option1: Pull the all the tables separately
    Create comples join between all the dim tables year->Season->Quarter->Month->Week
    Create hierarchy from these tables
    Option2:
    Create a logical tables as Time
    Pull all the tables into Time table with different Logical table sources.
    Then create a hierarchy from these tables.
    This will avoid the comples join in BMM layer
    Please suggest which option will lead to less performance issue and which is ideal approach in such scenarios.
    Thanks in Advance

    Hi,
    I am new to OBIEE but still I am suggesting one option....
    Drag and drop any one of the Time table (for ex Dim_Year) from physical layer to bmm layer. create a complex join of this table with the other tables in the bmm layer. then simply drag and drop the columns from other tables (Dim_Season, Dim_Quarter, Dim_Month, DIm_Week) from the physical layer one by one on the LTS of Dim_Year.
    Hope I haven't given you a funny answer.
    Edited by: user9149257 on Mar 8, 2010 9:20 PM

  • Optimizing data grouping on BMM Layer

    Hi.
    I'm faced with the next task.
    *(1)* Business goal
    Display number of customers registered and activated by periods. The request in Answers should contain:
    *{Period, NumberOfContacts_Registered, NumberOfContacts_Activated}*
    *(2)* At Physical Layer I can provide data in two ways:
    *2.1.* In single table like {customer_id, registration_date, activation_date..}
    *2.2.* In two tables like {customer_id, registration_date..} and {customer_id, activation_date..}
    *(3)* The question is about the most effective way of organizing data on BMM Layer.
    I'm interested in whether I can organize single logical table to represent desired data in Answers. For example, logical table with columns {customer_id, registration_date, activation_date..} and then define complex join with logical table "Periods".
    For now, I had an occasion to define two logical tables - with columns like in Paragraph 2.2. But it seems to be more effective way to do this.
    Could anyone give me a piece of advise how to resolve this task more effectively (in preference, with single logical table).
    Regards,
    Alex.

    hi Jeremy,
    Use this '01-JAN-08' format in answers filter
    Let me know if you have issues
    OBIEE will replace with time stamp adds if its a timestamp/datetime data type
    Thanks,
    Saichand.v

Maybe you are looking for

  • What are the correct privileges for Wheel in address book.app 5.0.3?

    I think I messed with the privileges for Wheel in Address Book.app 5.0.3. Can anyone tell me if it should be set to Read only or to Read & Write? Scared to close the info window until I have sorted this out!

  • Error importing AWM XML Schema in OWB repository

    Hi, as you suggest me I downloaded the OWB expert "AW XML Import Expert" on this page: http://www.oracle.com/technology/products/warehouse/htdocs/OWBexchange.html?cat=ALP&submit=search I correctly installed it on OWB, I created a module linking to th

  • Java command not working - path problem ?

    Im not really new to Java, but rather new to Linux :=) Ive got NetBeans setup and working great on Redhat 7.2 and I can run Java apps from within the IDE...but not from a command line. I get "bash: java: command not found" This tells me something is

  • Freezes in PE 9

    I recently upgraded  to an HP PC with i7 chip, 8 GB RAM, 1TB data drive and 640 System drive.  In PE 9, I find that if I trim 6 to 8 clips or do some other number of operations, I often get a freeze.  Similar thing happens in Photoshop if I edit pict

  • Remove message from queue for rule based subscriber

    Hi , I created a rule based subscription for one xx_Queue when i am dequeing trying dequeue.conditions like REMOVE it's saying i can mention either dequeue condition or rule based .So if i didn't give REMOVE condition i am able to dequeue but next ti