Reg joinis in OBIEE

Hi
I have two dim tables
Dim A and DIm B connected to Fact table joins are there in BMM layer and physical
when i create the repor in query from columns of the both dims the joins are not formed in session query...result it is doing a cartesian product and reportin is runninig for longer time
Where could be the issue?
Thanks!
Edited by: user511637 on Dec 15, 2009 4:28 AM

Hi user511637,
I got a follow up for the first question:
-- Are all three tables (Dim A, Dim B and Fact) in the same physical database?
YesSo all the tables are on the same physical (Oracle?) database. How are they setup in your RPD? Are they also setup in the same physical database object in the RPD? If not, that will cause them to execute separately.
Have you tried to drop all the joins and re-create them like you read in the other post?
If you have all of these setup appropriately and you're still getting join issues, here's what I recommend.
1) Pick a schema to be the master schema
2) Create synonyms for all tables that are not in the same schema and make sure that schema user has select on the tables. Since all your tables are on the same DB, this can be done.
3) Import the synonym objects into a single RPD database/schema.
4) Setup the joins the way they should be
5) Retest
-Joe

Similar Messages

  • Equal Join and Outer Join in OBIEE

    Hello expert,
    I think the default join in OBIEE is Outer Join. So no matter what join conditions that I specify on the physical layer, the result that I get in the presentation layer is still outer join.
    How to specify the equal join or inner join in Business and Logical layer?

    Hello,
    Thank you for your reply. However it does not work. I got the following message:
    [nQSError: 32005] The object "Fact - Fruit" bc if type 'LOGICAL TABLE SOURCE': is missing a foreign key or a complex join in the join graph.
    The situation that I have is:
    Fact table: "Fact - Fruit"
    List of value table (look up table): "dim_list_of_values"
    I am only interested in the type in the "dim_list_of_values" table where equals to "Apple". So I only want to join the "Fact - Fruit" and "dim_list_of_values" with those records with "Apple" type.
    It sounds to me that I am unable to define a freign key.

  • Regarding joins in  OBIEE tutorial in Oracle website " COSTS " no key

    OBIEE training material in oracle website ..while . Build Sample Oracle BI Enterprise Edition Reports and Dashboards
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/bi_admin/biadmin.html#t5
    in the documenatation
    while " *** Load a Prebuilt Repository ***** "
    A prebuilt repository is provided to expedite your completion of the remaining exercises in this OBE. The provided repository is similar to the repository you built in the first part of this OBE, but with the following relevant differences:
    Physical joins are built for the the COSTS physical table in the Physical layer.
    *********** Question **************
    --> HOW do i join Costs? whether to Sales Fact table Or any of Dimension tables ( CHANNELS , CUSTOMERS , TIMES , PRODUCTS, PROMOTIONS )
    is Costs is a dimension ?

    You don't need to do something. The repository SH_PartTwo.rpd have already the join. The tutorial gives only the differences with the SH_PartOne.rpd.
    The SH_PartTwo.rpd is in the SH.zip file.
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/bi_admin/files/SH.zip
    Cheers
    NIco

  • Need help in joins in OBIEE 10G

    Hi All,
    I have 2 tables like following.
    Table 1: Team
    Id| Team Name| Resource id
    1 | xxx | 1
    2 | yyy | 1
    3 | zzz | 1
    4 | xxx | 2
    Table 2: Resource Rate
    RSRC ID| Resource Name| Rate | Month | year
    1 | John | 10 | Jan | 2012
    2 | Max | 5 | Jan | 2012
    I have joined these 2 tables with Resource ID. I have a prompt with Team Name and Resource Name and I have a OBIEE chart report (Month,Year Vs Rate), in which if do not select team name in prompt or select only one team name then the results are fine but when i select 2 team names in the prompt for example 'xxx','yyy' the results gets doubled. If I select 3 team names, the result will be rate*3. But I want the result to be same value even after I select more than one team name.
    How to archive this??? Kindly help
    Edited by: GJ on Sep 10, 2012 10:39 PM
    Edited by: GJ on Sep 10, 2012 11:53 PM

    Hi Veeravalli,
    No I cannot have team name after resource name, because the purpose is to see based on team and then on resource. Moreover their is nothing wrong with queries generated, it is working as it is expected, Since the resource is mapped to 2 teams, I am getting duplicate values.
    I am just trying to find if there is a way to return always unique values.

  • Fact to Fact join in Obiee

    Hi
    I am new in OBIEE, I have an scenario where in we need to join two fact tables and the condition is F1.date is between F2.valid from date & F2.valid To date
    I have tried using confirm dimension. Is it possible to map such scenario in OBIEE 11g
    Thanks
    Sameer

    Hi Venkat,
    I am coming from the basics of a star schema here, so hope it helps
    What is a fact?
    A fact is something that has all measures which can be aggregated (Units, Dollars, # of Orders) etc with keys to different dimensions.
    What is a dimension?
    It is the context with which we understand/record/retrieve the measures in the fact. We understand "# of Orders" for a product/By a customer etc.
    So joining a dimension and a fact helps to answer the Who/What/When kind of business questions. Ex : Who bought these products? What was the product type? When these products were sold kind of...
    Now just imagine tying up fact to another fact. With this kind of model, you can never answer any business question.
    I have never tried joining a fact with another fact in OBI (But do not think it will allow it though :) )
    Hope I am clear.
    Thank you,
    Dhar

  • How to resolve Self Joins in OBIEE

    Hi All
    Could any one help how to resolve the Self Join relations in OBIEE (ex. "SCOTT.EMP" table has "EMPNO" column which is referenced by "MGR" column in the same table.
    Request:
    Need to drill down from the Top manager to his employees and so on
    Another example can be applied for reporting the Organisation Chart

    This is a great article that shows ho to do the Alias:
    Adding an Alias table within the BI physical layer using Oracle BI Administration Tool
    http://www.mandsconsulting.com/adding-an-alias-table-within-oracle-bi-administration-tool
    Thanks
    Subra

  • How to implement SCD and outer join in OBIEE

    Hi Experts,
    1.How we can implement SCD1 and SCD2 in OBIEE.
    2. How to implement outer join..? Can we implement outer join in physical layer.?
    Regards
    Frnds

    1. Better to implement this as a part of data warehouse/ETL. If you insist there is explanation on how to work with SCD's in Administrator in some Oracle University Student Book, I think it's for Siebel Analytics version.
    2. Implement outer joins using complex joins in BMM (type option). It's possible to implement in physical layer only in obiee views (new physical table/table type - select), otherwise not, you cannot specify outer join in the physical layer using complex joins.
    Regards
    Goran
    http://108obiee.blogspot.com

  • Apply filter before Left Outer joins in OBIEE.

    Hi Experts,
    I have an user requirement where a filter need to be applied before the Left outer join applied on the OBIEE generated query.
    But obiee normally applies the filters on the resulted data after the Left outer join applied which eliminates some required data.
    Is there any way to achieve this at the RPD level.
    Thanks
    Swami

    Swam,
    your syntax for sql is not correct.
    you are doing outer join and filter I am not sure what you are trying to achieve here
    assume T1 is fact table and T2 is time dimension
    T1 left outer T2 means you are trying to pull all the records from fact irrespective of the date filter!!
    you will see all the records.
    Please manually write the Sql and we have lot of ways  to force that in to OBIEE.
    Thanks
    NK

  • Doubt regarding joins in obiee

    hi gems...
    i have a doubt regarding BI analytics join.
    When i have imported all the tables from my schema in the repository, then it got imported with all the joins defined in the database.
    then i made several business models and create some reports.
    there i got some errors, which are mainly due to self join in the tables and more than one joins between two tables.
    my question is...are these two types of joins not supported in obiee???
    and if i want more than one join condition between two tables, then what can i do???
    thanks in advance...

    Hi User,
    OBIEE doesnot support self join. To avoid such circular joins ,make use of alias tables in the physical layer.The following is a list of the main reasons to create an alias table:
    To reuse an existing table more than once in your physical layer (without having to import it several times.
    To set up multiple alias tables, each with different keys, names, or joins.
    To help you design sophisticated star or snowflake structures in the business model layer. Alias tables are critical in the process of converting ER Schemas to Dimensional Schemas
    Rgds,
    Dpka

  • Reg: Join Conditions for Tables to create a View for Generic Extraction

    Hi Experts,
    Am trying to extract the data from Solman, for this purpose am creating a Generic Extractor based on three tables. So, can anyone please help me out by providing the join conditions to create a view based upon the following three tables,
    1. CRM_ORDERM_H
    2. DNOD_NOTIF
    3. DNOD_NOTIF_S
    Anyways i require the following fields in the extractor finally:
    CRM CHANGED AT
    GUID
    SAP COMPONENT
    RELEASE
    REPORTED BY
    These are the some of the major fields that i require in the final extractior. Please help me out ASAP with the table join conditions..
    Will Assign Points for the helpfull answer...
    Thanks,
    Gattu.

    Hi,
    I don't know the table CRM_ORDERM_H however you can link DNOD_NOTIF and DNOD_NOTIF_S
    DNOD_NOTIF_S-CLIENT = DNOD_NOTIF-CLIENT
    DNOD_NOTIF_S-GUIDS = DNOD_NOTIF-GUIDS
    For the third table could you please paste here its definition like the hereunder?
    Transp. table      DNOD_NOTIF       Active                                                                   
    Short Text         Notification Header                                                                       
       Field           KeyInitData element    Data TyLengthDecimaShort Text                                      
       CLIENT        X    X   MANDT           CLNT        3     0Client                                          
       GUIDH         X    X   DNOT_GUIDH      RAW        16     0GUID Notification                               
       .INCLUDE               DNOS_NOTIF_INT  STRU        0     0Notifications (Header, Internal Fields)         
       OBJNR                  DNOT_OBJNR      CHAR       22     0Status Management Object Number                 
       STATUS                 DNOT_STATUS     CHAR        1     0Notification Status                             
       DELETED                DNOT_DELE_N     CHAR        1     0Deletion Indicator Notification                 
       PROCESSOR              DNOT_PROC       CHAR       12     0Current Processor                               
       TYPE_PROC              DNOT_TYPE_PRC   CHAR        2     0Type of Processor                               
       REPORTER               DNOT_REPORTER   CHAR       12     0Reported By                                     
       TYPE_REPO              DNOT_TYPE_REP   CHAR        2     0Type of Notification Creator                    
       CREA_TSTMP             DNOT_CREA_TSTMP DEC        15     0Entry Time Stamp                                
       CHNG_TSTMP             DNOT_CHNG_TSTMP DEC        15     0Time of Last Change                             
       START_TSTMP            DNOT_START_TSTMPDEC        15     0Initial Response Time - Time Stamp              
       END_TSTMP              DNOT_END_TSTMP  DEC        15     0Requested End of Processing - Time Stamp        
       CLO_TSTMP              DNOT_CLO_TSTMP  DEC        15     0Completion Time Stamp                           
       .INCLUDE               DNOS_NOTIF_EXT  STRU        0     0Notifications (Header, External Fields)         
       NUMB                   DNOT_NUM        CHAR       12     0Notification Number (External)                  
       REFNUM                 DNOT_REFNUM     CHAR       20     0External Reference Number                       
       TYPE_NOTIF             DNOT_TYPE_N     CHAR        6     0Message category                                
       CATEGORY               DNOT_CATEGORY   CHAR       12     0Topic, Area                                     
       SUBJECT                DNOT_SUBJECT    CHAR       60     0Re:                                             
       PRIORITY               DNOT_PRIORITY   CHAR        1     0Notification priority                           
       LANGUAGE               DNOT_LANG_N     LANG        1     0Notification Language                           
    hope this helps...
    Olivier.

  • 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.

  • Left Outer Join In OBIEE

    Hi,
    I have two Oracle tables in the physical layer: a fact table and a dimension table.
    The fact table (FACT_TBL) like this:
    CURR_MTH | PREV_MTH | CURR_GRADE | PREV_GRADE | CITY | VALUE
    Jun | May | B | A | X | 5
    Jun | May | A | A | Y | 10
    Jun | May | C | C | X | 15
    Jun | May | D | C | Y | 20
    And the dimension table (GRADE_TBL) like this:
    GRADE | GRADE_NAME
    A | A
    B | B
    C | C
    D | D
    I joined those two tables above in the physical layer using GRADE field. Then, I created a business model using those two tables. I want to create a 4x4 matrix report with PREV_GRADE as the first column and the CURR_GRADE accross to the right like this:
    CURR_MONTH PROMPT = Jun
    PREV_MONTH PROMPT = May
    CITY PROMPT = X
    PREV_GRADE | A | B | C | D |
    A | (null) | 5 | (null) | (null) |
    B | (null) | (null) | (null) | (null) |
    C | (null) | (null) | 15 | (null) |
    D | (null) | (null) | (null) | (null)|
    The problem is that I couldn't show all grade (A to D) in the PREV_GRADE column in that table. Every time I filter the CITY in the prompt to X, I always get only A and C. The B and D rows are suppressed. How do I achieve the left outer join that I wanted above? Thanks a lot for the help.

    hi,
    this can be done in BMM layer.
    select the required BMM model. Right click and select "Buisness Model Diagram" and "whole diagram" .
    now double click on the joining link and specify the type of join here. (assuming you have used "New Complex join" to join these tables).

  • Physical Joins in OBIEE 11G

    Hi All,
    I just started 11g and am finding it very hard to understand why the physical join is created from Fact to Dimension and how does this qualify as 1:N.
    Can anyone explain if I am missing something.
    Thanks in advance.

    Hi,
    A foreign key repository join is used only to define a Primary Key-Foreign Key Relationships in the Physical Layer.
    It consist of a column or a set of columns and refers to the primary key column in another table.
    When you create it in the physical diagram, you have to point first the dimension and then the fact table.
    When you import keys in a physical schema, the primary key-foreign key joins are automatically defined.
    If you want to define other relationship, you have to use a complex join.
    And,
    In the business model, OBI recommends using complex logical joins instead of foreign key logical joins.
    When Complex joins are used in the business layer then they are really acting as placeholders. They allow the OBI Server to decide on which are the best joins define in the Physical Layer to satisfy the request.
    In a Dimension, you may have multiple Logical Table sources that all join to one fact table. The OBI Server will then decide the best joins to use to meet the requirements.
    Regards,
    MuRam

  • Reg:fragmentation in OBIEE

    Hi All,
    I query, we are trying to use Aggregate tables in our design by Materialized views as option. When we want to use these MVs should these MVs not contain any operators like MINUS, UNION ALL etc?
    Does OBIEE support fragmentation??
    Any pointers would be of great help.
    Thanks in advance.
    \Cheers

    Hi
    thank you for the quick reply.
    I will rephrase my question here
    If I go for aggregate table and Materialized Views as option which contains. UNION,MINUS operators.
    Does OBIEE support Aggregates and Fragmentation on same table source?
    \Cheers

  • Joins in OBIEE

    Hi,
    If we have a table A and B having Name column in common and A table stores Name value in uppercase and B table stores name values in lower case. Then how can we join these two tables. In physical we can convert the column having name in lowercase UPPER(B.name) and join it this way right in physical layer using foreign key join: A.Name=UPPER(B.Name). Am I right?
    Thanks,
    XYZ

    yes you are right.
    for example
    i have emp table and also one more table with name as emp8
    emp8 as lower case ename.
    the sample query will be like this
    select e8.ename,e.empno from emp e,emp8 e8 where e.ename=upper(e8.ename)

Maybe you are looking for