Problem creating hierarchy based on 2 physical dimension tables

I'm having a problem create 1 dimension logic with a hierarchy of exploration, based on two separate physical dimension tables. The errors I get when navigating in the exploring hierarchy is:
"Cannot find coverage source logical table to the columns of the logical" &
"Missing join between the logical tables.

I use OBIEE 10.1.3.4
Here are the details of what I have set up as:

Physical layer:
Table DIM_ORG with the dimension columns:
-dimension_key
-org_total_code
-org_total_description
-org_detail_code
-org_detail_description

Dimension table DIM_DEPT with columns:
-dimension_key
-dept_total_code
-dept_total_description
-dept_detail_code
-dept_detail_description

FACT_SALES table with columns of facts:
-fk_org
-fk_dept
-sum_sales

Physical joins:
FACT_SALES.fk_org = DIM_ORG_dimension_key
FACT_SALES.fl_dept = DIM_DEPT.dimension_key

Business model and the mapping of layer:
I created a logical dimension ORG_DEPT. It contains two sources of logic table (DIM_ORG & DIM_DEPT) and the following logical columns:
-All departments (mapped to dept_total_code)
-Organization (mapped to org_detail_description)
-Organisation number (mapped to org_detail_code)
-Department (mapped to dept_detail_description)
-Department Code (mapped to dept_detail_code)
The logical key of the company is based on the combination of number of organization & Department Code

The hierarchy, I need is: all departments-> organization-> Department so I created the following hierarchy for ORG_DEPT:
-Total level containing: all departments
-Organization level containing: company (defined as logical level key) number & Organisation (als defined the key level drill)
/ Department detail level containing: Department (defined as logical level key) Code and the Department (defined as key level drill).

In the LTS of the ORG_DEPT dimension, I've set levels of content for sources:
DIM_ORG: Level of organization
DIM_DEPT: Level of detail Department
The LTS non - joins inner - came against the associated physical tables.

I created a logical fact table (based on the physical fact table) SALES and joined him on the ORG_DEPT logical dimension table.
In the LTS, level of content for ORG_DEPT is part of the level of retail service. Non - joins inner were aded against related physical tables.

When I create a report in response to test the hierarchy and select only "all departments' I get the value of the returned correct size. When I try to break through to the next level, I get the following ODBC error:
"Could not find coverage source logical table for logical columns: [all of them]." "Please check more detailed level keys are correctly mapped.

When I create a report in responses and select "Every department" and "Sales", I get the correct result. When I try to break through to the next level, I get a different ODBC error:
"Lack of join between the logical tables DIM_DEPT and DIM_DEPT: there must be at least a physical link to join between the underlying physical tables.

All suggestions are welcome!

Thank you!

You have no relationship defined between the Department and org.

You can either:
a. create a table of physical dimension with a composite key of org_id & dept_id if there is a relationship defined somewhere, then to obiee model as you have already done, but in the physical layer on the composite key join
b. model your exisitng as two-dimensional and two hierarchies tables and set up a path of forest favorite between them according to your needs.

Kind regards

Robert

Tags: Business Intelligence

Similar Questions

  • Approach for the removal of the physical dimension table

    Hello

    We have a situation to decommission a physical dimension table (table 1) and we will have new values.

    The table is a source for a consistent size with 2 facts in the business model.

    Can you please let me know steps to transform the existing for the future model and changes to these model reports.

    However, I do not have the documentation of data lineage of these reports, how do I know the reports that would be affected by this change in the repository?

    Receive your answer.

    Thank you

    Shravan

    Hello

    In tools > utilities you have a tool called 'Replace logical column or Table Source Table', use this tool to keep your business model and simply replace the existing physical sources with a new one.

    Once you're done to make sure your physical objects are not used more (right click > queries about objects) and then just delete.

    Always run the overall consistency checks after each important step to ensure that your SPR is always very good.

    This can be a way to do it, another way may be to add new items to the existing MDB and then gradually remove the old or even add a new dimension of MDB and map to the same objects of presentation layer.

    Ultimately it is to you to know if the new source for your dimension will correspond to each column, so you can just replace the physical source to the columns in the Sun or it will take further work (such as a snowflake and things like that).

  • Bookmarks created automatically based on the word 2013 Table of contents.

    Bookmarks created automatically based on the word 2013 Table of contents.  In the earlier version of Word, the Style of the Table of contents built into bookmarks when PDFing.

    I thought about it.  There is a new check box, you must activate in 2013 of Word when exporting to PDF format that allows to convert the elements of bookmarks when PDFing.

  • Oracle 11 SPR: create 2 logical Tables based on 1 physical Table

    Hello

    I have a dimension table date in the physical layer. Since I need to create 2 dimension tables date in the MDB layer. One for the date of the order, and the other is for the shipping date. There is a ship_date_key and an order_date_key in my fact table that I try to use my foreign key.  Seems I can create a table of logic date arrived at the ship or a logical table of date joint command, but not both.

    Very new to the OBI administration tool.  Any help would be greatly appreciated.

    If you don't create an alias of the Date dimension in the physical layer, then you can get the data that one or the other Date of delivery or date order Details.

    The Date dimension data are retrieved based on the join is to tell which button it was joined to the fact.

    To resolve the ambiguity above, you must create two separate alias tables in the physical layer, so you will have two logical tables in MDB layer

    Create Dim_Ship_Date and Dim_Order_Date of the Date dimension.

    And now you can join the fact with these two aliases on different tones. This practice is usually followed.

    If deemed useful response

    -----

    Srikanth

  • Problem with a lot of facts and dimension conform

    Hello gurus:

    I'll have 2 consistent dimensions and 3 facts.
    Now the problem is that whenever I try to wear all three made, I get an error display of consistency.

    I need to make a report that has at least one column of all of them.
    Please guide me.

    Thank you.

    ~ Vinay

    Vinay,

    You can resolve this problem by creating dimensional hierarchies and fix levels of content appropriate to the fact tables. Follow this

    1 create hierarchies for both of your consistent dimension, if you don't have all of the levels, create the hierarchy with at least two levels, total and retail.
    2. open the properties of the logical source of each fact table and define the level of content at retail for the two dimensions.

    It will work. Make sure that you select only measures the fact with confirmed dimensions tables (aggregated).

    Madan

  • How to create a calculated column in another dimension

    Hi all

    I use OBIEE 11.9 on oracle 12 c.

    I have the following two dimensions in Bussiness model,

    I want to create FEMALES TOTAL logical column in dimension F1 student Graduation which is based on the column between the sexes in the student D1 dimension. The gender column has two possible values 'F', have '. the column TOTAL WOMEN should have sex for F.

    How I do that?

    Thank you.

    Kind regards.

    Add the dimension as a join table in the LTS made-> general tab, and then in the formula in the column, use a case statement to evaluate the dimensional condition and return the column done or 0.

    KEY: Size is not an LTS on its own by the way (as your picture shows)

    Oracle BI applications example:

    For staff than for those who is marked as active employees.

    Then the column DISTRIBUTION is: CASE WHEN 'Oracle Data Warehouse'. "'"' Catalogue'."" """dbo"."" "" "Dim_W_EMPLOYMENT_D '." " W_ASG_ACTIVE_INACTIVE_CODE' = 'A' AND ' Oracle Data Warehouse. "'"' Catalogue'."" """dbo"."" "" "Dim_W_EMPLOYMENT_D '." " W_WORKER_TYPE_CODE' = 'Worker EMPLOYEE' THEN ' Oracle Data Warehouse. "'"' Catalogue'."" """dbo"."" "" "Fact_W_WRKFC_EVT_MONTH_F_Snapshot '." " END OF MEMBERSHIP"0 OTHERWISE

  • Security hierarchy based in OBIEE

    Hello

    I have a simple request, but will have a hard time trying to figure it out.

    I have a dimension store with the following levels: store - city - country

    I have a single measure in the fact table: sale

    I want to be able to allow users a specific group access sales grouped by country, but not being able to go into the details by city or store.

    Other users would be able to see the sales by country and city and no stores.

    A third group of users would be abe to see sales of all three surveys.

    How can I achieve this in the security model for RPD?

    Thank you

    Joao Moreira

    Hi João,.

    It is possible. check these items. Looks like useful for this.

    Security at the level of the handful of hierarchy OBIEE - function IndexCol | GerardNico.com (BI, OBIEE, data warehouse and OWB)

    A different look at the hierarchy based security in OBIEE | Carpediemconsulting blog

    Thank you
    AJ

  • Problem with populating a table of facts, of dimension tables

    My goal is there are 5 dimensional tables created

    Student-> primary key s_id, upn(unique pupil no), name
    Rank-> key primary g_id, grade, exam_level, values
    Object-> key primary sb_id, subjectid, subname
    School-> key primary sc_id, schoolno, school_name
    year-> y_id primary key, year (like 2008)

    S_ID g_id sb_id, sc_id, y_id are sequences
    select * from student;
    S_ID UPN FNAME COMMONNAME GENDER DOB
    ==============================
    9062 1027 MELISSA ANNE       f  13-OCT-81
    
    ...
    
    9000 rows selected
    select * from grade;
          G_ID GRADE      E_LEVEL         VALUE
    ---------- ---------- ---------- ----------
            73 A          a                 120
            74 B          a                 100
            75 C          a                  80
            76 D          a                  60
            77 E          a                  40
            78 F          a                  20
            79 U          a                   0
            80 X          a                   0
    ...
    18 rows selected
    It's basically the dimensional point of view

    According to the given specifications, now need to create a table of facts like facts_table that contains all the primary keys of tables IMG as foreign keys in it.

    The problem is when I say, I'll look at an example of smaller that the reality of dimension tables 5 let say there are 2 student dim tables, rank with s_id, g_id as the p key.
    create materialized view facts_table(s_id,g_id)
    as
    select  s.s_id,g.g_id
    from   (select distinct s_id from student)s
    ,         (select distinct g_id from grade)g
    The result is a massive duplication as there is no join between two tables. But basically there is no common things between the two tables to join, how to solve?

    Think of it as when I do for 5 tables the amount of duplication being involved, why there is not enough tablespace.

    I was hoping that if there is no other way then don't create a fact table with just a column at the start
    create materialized view facts_table(s_id)
    as
    select s_id
    from student;
    then
    alter materialized view facts_table add column g_id number;
    Then fill this column g_id fetching all the grade table g_id values using some sort of loop, although we shouldn't use pl/sql, I don't know if it works?

    All of the suggestions.

    TROPPER,

    Your information, I have tried this test see if it works for you

    DROP TABLE fact_1 CASCADE CONSTRAINTS;
    
    CREATE TABLE fact_1 (
       s_id NUMBER NOT NULL,
       sc_id NUMBER NOT NULL,
       g_id NUMBER NOT NULL
    )
    LOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING;
    
    ALTER TABLE student_1
     DROP PRIMARY KEY CASCADE;
    DROP TABLE student_1 CASCADE CONSTRAINTS;
    
    CREATE TABLE student_1 (
       s_id NUMBER NOT NULL,
       student_id NUMBER,
       studentname VARCHAR2 (40 BYTE)
    )
    LOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING;
    
    ALTER TABLE school
     DROP PRIMARY KEY CASCADE;
    DROP TABLE school CASCADE CONSTRAINTS;
    
    CREATE TABLE school (
       sc_id NUMBER NOT NULL,
       school VARCHAR2 (40 BYTE),
       schoolname VARCHAR2 (100 BYTE)
    )
    LOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING;
    
    ALTER TABLE grade
     DROP PRIMARY KEY CASCADE;
    DROP TABLE grade CASCADE CONSTRAINTS;
    
    CREATE TABLE grade (
       g_id NUMBER NOT NULL,
       e_level VARCHAR2 (40 BYTE)
    )
    LOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING;
    
    CREATE UNIQUE INDEX fact_1_u01
       ON fact_1 (s_id)
       LOGGING
       NOPARALLEL;
    
    CREATE UNIQUE INDEX fact_1_u02
       ON fact_1 (sc_id)
       LOGGING
       NOPARALLEL;
    
    CREATE UNIQUE INDEX fact_1_u03
       ON fact_1 (g_id)
       LOGGING
       NOPARALLEL;
    
    CREATE UNIQUE INDEX grade_pk
       ON grade (g_id)
       LOGGING
       NOPARALLEL;
    
    CREATE UNIQUE INDEX school_pk
       ON school (sc_id)
       LOGGING
       NOPARALLEL;
    
    CREATE UNIQUE INDEX student_1_pk
       ON student_1 (s_id)
       LOGGING
       NOPARALLEL;
    
    ALTER TABLE fact_1 ADD (
      CONSTRAINT fact_1_u01
     UNIQUE (s_id),
      CONSTRAINT fact_1_u02
     UNIQUE (sc_id),
      CONSTRAINT fact_1_u03
     UNIQUE (g_id));
    ALTER TABLE student_1 ADD (
      CONSTRAINT student_1_pk
     PRIMARY KEY
     (s_id));
    ALTER TABLE school ADD (
      CONSTRAINT school_pk
     PRIMARY KEY
     (sc_id));
    ALTER TABLE grade ADD (
      CONSTRAINT grade_pk
     PRIMARY KEY
     (g_id));
    ALTER TABLE fact_1 ADD (
      CONSTRAINT fact_1_r01
     FOREIGN KEY (s_id)
     REFERENCES student_1 (s_id),
      CONSTRAINT fact_1_r02
     FOREIGN KEY (sc_id)
     REFERENCES school (sc_id),
      CONSTRAINT fact_1_r03
     FOREIGN KEY (g_id)
     REFERENCES grade (g_id));
    ALTER TABLE fact_1 ADD (
      CONSTRAINT fact_1_r02
     FOREIGN KEY (sc_id)
     REFERENCES school (sc_id),
      CONSTRAINT fact_1_r03
     FOREIGN KEY (g_id)
     REFERENCES grade (g_id),
      CONSTRAINT fact_1_r01
     FOREIGN KEY (s_id)
     REFERENCES student_1 (s_id));
    
     -- This should be the sequence you will loading data
    
    INSERT INTO student_1
    VALUES (3, 1, 'Tropper A');
    
    INSERT INTO school
    VALUES (3, 'new school', 'new school name');
    
    INSERT INTO grade
    VALUES (4, 'a');
    
    INSERT INTO fact_1
    VALUES (3, 4, 4);
    
    commitl
    

    Concerning

  • Two Hierarchys of Dimension based on a single logical table

    Is it possible to have two dimesion hierarchys based on a single logical table? Suppose we have the following case:

    Accounts table
    Code
    Name
    Category
    Subcategory
    Level 1
    Level 2
    Level 3

    I would like to have a dimension Total > category > subcategory > Code and a Total > level 1 > level 2 > level 3 > Code, so I can navigate on both tracks. Is this possible?

    Thanx

    Yes, the trick is to have the same key on the level low in your hierarchy.

    concerning
    John
    http://obiee101.blogspot.com/

  • 12.4.3.1 update volume problems created?

    12.4.3.1 update volume problems created?

    Hello

    I had no problem with the Volume in the latest version of iTunes. Can you give more details about the problem you are having?

    Jim

  • Problem creating ad hoc network-error: Windows could not set up the network.

    Original title: problem creating ad hoc network

    Hello dear,

    When I tried to set up an adhoc network and after entering the name and password of the network. Following up error message pop (Windows could not set up the network).

    I use windows 7.

    P.S. before I used to create the ad hoc network with no problems. But now no more.

    Kind regards

    Ana Paula Yousef

    Hello

     
    Did you change in the computer before this problem?
     
    I suggest to go through these steps and check.
     
     
    Method 2:
    Error message when you try to connect to an ad-hoc connection in Windows Vista or Windows 7: "Windows cannot connect to " http://support.microsoft.com/kb/946481 ".
     
    You can also check:
     
  • There was a problem creating the destination folder. If please check the permission of folder or choose a different folder.   What that means, tried to name several different folders, but still the same error message. Would be grateful for the help!

    There was a problem creating the destination folder. If please check the permission of folder or choose a different folder.   What that means, tried to name several different folders, but still the same error message. Would be grateful for the help!

    This means that the folder you want to create is blocked because of file permissions. The drive or folder you are trying to create the destination folder is set to read-only, and your username does not have write permissions.

  • How to create VO based on EO manually

    Dear

    I created entity through the Assistant object and have been created by mistake not view object, now that I wanted to create view based ON EO but could not find the option, could you pls help.

    Thank you.

    Hello

    The last step in the wizard when creating OS, you will see a checkbox to create VO EO-based. Once selected, it will provide the default name of VO based on EO.

    In addition, you can manually create based EO VO by choosing the first option when creating VO i, e. 'Access Updateable thorugh entity objects'. And in the next step, select your previously created OA.

    Kind regards

    Zahid

  • Create lines based on the difference in date

    Hello

    I would like to create lines based on the difference between the start and end dates (per year).

    for example

    ID1  Start_time                                             End_time                                                      ID2
    07/01/2003 1, 12.00.00.000000000 2005-01-07 12.00.00.000000000 123

    07/01/1999 1, 12.00.00.000000000 07/01/2003 12.00.00.000000000 345

    I need:

    ID1  Start_time                                             End_time                                                      ID2
    07/01/2004 1, 12.00.00.000000000 2005-01-07 12.00.00.000000000 123

    07/01/2003 1 12.00.00.000000000 07/01/2004 12.00.00.000000000 123

    1 01/07/2002 12.00.00.000000000 07/01/2003 12.00.00.000000000 345

    07/01/2001 1, 12.00.00.000000000 01/07/2002 12.00.00.000000000 345

    07/01/2000 1, 12.00.00.000000000 01/07/2001 12.00.00.000000000 345

    07/01/1999 1, 12.00.00.000000000 07/01/2000 12.00.00.000000000 345

    Thank you

    Hello

    Here's one way:

    SELECT ID1

    , ADD_MONTHS (start_time, 12 * (LEVEL - 1)) AS start_time value

    , ADD_MONTHS (start_time, 12 * LEVEL) AS end_time

    id2

    FROM table_x

    CONNECT BY LEVEL<= months_between="" (end_time,="" start_time)="">

    AND PRIOR id2 = id2

    AND PRIOR SYS_GUID () IS NOT NULL

    ;

    I'm assuming that id2 is unique.

    Would what results you if end_time wasn't exactly N years after start_time?

  • Problem creating the destination for Lightroom 6 folder

    Just upgraded to Lightroon 6. Now I have a problem creating the destination folder. Already checked the folder permissions. Even tried a new folder nothing helps. A lot of space on the computer.

    Don't know who to turn to next. Is this a problem of individual computer?

    You must use a computer with permissions of administrator account

    Also, do a right click on the installer and select RUN AS ADMINISTRATOR from the popup option window to see if that helps

Maybe you are looking for