OBIEE: Incorrectly defined logical table source doesn't contain mapping

In OBIEE 10.1.3.2 I have a very simple thing but cannot get it to work. Hopefully someone can point out the mistake. I have the same schema on two different database that I want to compare data.
The schema is simple. Table (dimension) A has two columns: id and name. Table (Fact) B has two columns: id and value. Table B.id is a foreign key to A. I imported two database schema into the physical layer and for each database, I built the foreign key relationship between table A and B. In the logical layer, I have two logic tables, one to represent A (Dimension) and the other B (Fact) with a logical join. Each logical table has two data sources. For the dimension tables, both id and name columns have two sources. For the fact table, the id has two sources and for the value, I created two separate columns, one called value1 and the other value2 with one from one database's B table's value column and the other from another database's B table's value. They then were made available at presentation layer.
Now in the Anwser, I can build a query with id from dimension and value1 from fact; it displayed fine. Same with a query with id from dimension and value2 from fact, it displayed fine. However, if the query is id, value1 and value2, I got the following error
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 15018] Incorrectly defined logical table source (for fact table B) does not contain mapping for [B.value1 [ ] , B.value2 [ ] ]. (HY000)
Is there something I have to do additional to make both values appearing the same time.?
Thanks for your help
Ralph

Hi, Siddhartha P
I don't think I understand your information. I couldn't find connection pool at the business mapping layer. I only see it in the physical layer. Do you mean to do the mapping at the logical source table? That's only places I see any mappings and I don't see complex join there (only inner join, left outer, right outer and full outer) What mappings should I need to create between table B (fact table) of database 1 and table B (fact table) of database 2. I thought they don't have any relationship other than join through a dimension table which has columns that map to both table A (dimension table) of database 1 and 2. Then the logical fact table has 3 columns, one is id (to join to Dimension table) with two mappings (one to table B of database 1 and one to table B of database 2) and one column value1 which maps only to table B's value of database 1 and another column value2 maps to table B's value of database 2. That seems to be done correctly because I can pick column id and value1 or column id and value2 and have them displayed correctly but not all 3. I thought if it can display the two separately correctly, they should be able to display all 3. no?
I am not getting any inconsistency error.
There must be something I still don't understand. If you don't mind give me a little more direction, that would be great.
Thanks
Ralph

Similar Messages

  • Code:10058. Incorrectly defined logical table source

    Hi experts
    I need to create Business model for which i have two fact tables in physical layer and both are connected to each other and one time dimension which is shared by both fact tables in physical layer and one dimension which is connected to fact2 that contain hierarchy. i want to create one fact table in BMM layer which should contain measures from both fact table......
    How to achieve this, any help on this..
    thanks & regards
    Edited by: ObieeUser on 06-May-2010 02:58
    Edited by: ObieeUser on 06-May-2010 03:00

    hi
    Go through this forum thread
    OBIEE: Incorrectly defined logical table source doesn't contain mapping
    try this steps
    Goto Business Model and Mapping Layer. There Fact table is present expend that fact table. You will find Sources option expend that sources option. In that option you will find sone table name that is present in Physical layer.Get the property of first table and there you can see in General tab in downward ADD option is there. click on ADD option new window is open and there three part is . right down contains some table select table from that table which we are joining and then click on select option. Now that table will added. you can change join type also. By default it is inner join. now refresh you page.
    i hope this will help you
    thanks & regards

  • [nQSError: 15018] Incorrectly defined logical table source

    Hi,
    I have two fact tables and a type dimension.
    business model / physical
    fact1 /fact1
    fact2 /fact2
    type /type
    now I have them joined up on the physical layer with foreign keys AND on the business model layer.
    Nevertheless I still get this error whenever I mix and match the columns.
    [nQSError: 10058] A general error has occurred. (for fact table WABFact) does not contain mapping for [Dates.FLIGHTDATE [ ] ]. (HY000)

    Hi,
    The error "Incorrectly defined logical table source (for fact table XXX) does not contain mapping for YYY" means that the BI Server cannot reach from table XXX to table YYY. It can happen because of two reasons: The first one is that there are no relationships defined in the logical or the physical layers (or maybe both). Note that the connections can be indirect. The second one is that the relationships doesn't makes sense. For example, going from a fact table to a dimension table through many-to-many table cannot happen. You'll see this error many times as a beginner and it can be quite frustrating at first. You need to understand that the BI Server can only understand simple and classic star schemas. More complex ERDs need to be split by using alias tables.
    Thanks to-Miki
    Regards
    MuRam

  • Incorrectly defined logical table source  error

    Hey ,I am very new to obiee and getting an error
    A general error has occurred. [nQSError: 15018] Incorrectly defined logical table source (for fact table Fact - D) does not contain mapping for [case when Dim - Account. Account Number in ([ 11500, 11501, 11502, 11503, 11504] ) then 'ABC'
    Can you tell me how to resolve this issue and what things should I look for

    In that case you are not the one to handle the issue.
    No point to respond to this post
    Check this
    ANNOUNCEMENT:Forums Etiquette/Reward Points
    ~ http://cool-bi.com

  • NQSError 15018 Incorrectly defined logical table source  error

    Hi,
    I am getting the following error when I am building one of my reports.
    I have 3 dimensions - Time, customer and Product and two facts F1 and F2. Both F1 and F2 are joined to all three dimensions
    The part I dont understand is that when I built a report with columns from all 3 dimensions and 2 facts it worked fine. But as soon as I added a new column from the customer dimension I am getting the below error. When I remove this specific column the report works fine.
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 15018] Incorrectly defined logical table source (for fact table F1) does not contain mapping for [Time.Mth_name, Time.Year]. (HY000)
    Please help me figure out the issue.

    Hello All,
    I am also getting the same error.
    I have one dim table d1 and 2 fact tables f1 and f2.
    f1 contains 5 columns and f2 contains 2 columns. I created a logical table source between f1 and f2. Column mapping is done between f1.agency_no and f2.agency_no.
    Columns in f1 : agency_no, agency_name,source, proj#, proj_phase
    Columns in f2: agency_no, manager
    Columns in d1: agency_no, agency_shortname, agency_name
    Now, when i select f1.agency_no and f2.agency_no in the report. It is working fine, because the column mapping is defined between these 2 columns.
    When i drag f2.manager into the report (report contains f1.agency_no, f2.agency_no, f2.manager) i am getting the following error.
    [nQSError: 15018] Incorrectly defined logical table source (for fact table f2) does not contain mapping for [f1.agency_no]. (HY000)
    Please help me out with this issue.
    Thanks in advance.

  • NQSError: 10058 Incorrectly defined logical table source

    Hi All,
    i am trying to join two facts using a dimension. If i run report having one column from dimension & one from fact it works. But when i run a report having 1 column from first fact & 2nd column from second fact i get the below error.
    I am sure this has something to do with the content tab under sources in BMM later.
    But can anyone me what exactly i need to do.
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 15018] Incorrectly defined logical table source (for fact table DWH_PA_MBR_PA_TMP_NEW) does not contain mapping for [DWH_PA_MBR_PA_TMPT_NEW.PERIOD_CODE]. (HY000)
    SQL Issued: SELECT DWH_PA_MBR_PA_TMPT_NEW.PERIOD_CODE saw_0, DWH_PA_MBR_PA_TMP_NEW.CURRENCY_ID saw_1 FROM DWH ORDER BY saw_0, saw_1
    Thanks,
    Pankaj

    yes i have the following
    Facts
    1) DWH_PA_MBR_PA_TMP_NEW
    2) DWH_PA_MBR_PA_TMPT_NEW
    Dim
    1) PA_PERIODS_ALL
    Join 1) PA_PERIODS_ALL.PERIOD_NAME = DWH_PA_MBR_PA_TMPT_NEW.PERIOD_NAME
    Join 2) PA_PERIODS_ALL.PERIOD_NAME = DWH_PA_MBR_PA_TMP_NEW.PERIOD_NAME
    When i run report with columns from Fact 1 & Fact 2 i get the error.
    else if i run report with column from Fact 1 & Dim it works fine.
    Note: here Period Name is the key.
    I guess we need to define the LTS, colmn mappings.
    Thanks,
    Pankaj

  • Incorrectly defined Logical table source

    Hi all,
    I have two facts(F1& F2) and two  confirmed dimensions(D1,D2) for the facts F1 and F2.
    F1
    F2:LTS1,LTS2
    D1
    D2
    When I query columns from D1,D2,F1,F2 LTS1 result is coming
    But, when I query from D1,D2,F1,F2 LTS2 it is throwing incorrectly defined logical table sources.
    Please help me in understanding this error

    Here's what the OP wrote:
    Hi all,
    I have two facts(F1& F2) and two  confirmed dimensions(D1,D2) for the facts F1 and F2.
    Granted, people seem to insist on saying "confirmed" instead of "conformed" (ref. http://www.kimballgroup.com/data-warehouse-business-intelligence-resources/kimball-techniques/dimensional-modeling-techn…) but he's clearly asking for a perfectly normal and standard situation of two facts with two conformed dimensions.

  • Incorrectly defined logical table source (for fact table X

    Hi!
    Imagine the following Physical Diagram:
    - Dim A
    - Dim B
    - Fact A
    - Fact B
    Joins:
    - Dim A is parent of Dim B
    - Fact B has a FK to Dim B
    - Fact A has a FK to Dim A
    Business Layer:
    - Logical Table Dim A
    - Logical Table Dim B
    - Logical Table Fact A
    - Logical Table Fact B
    Joins:
    - same joins (not FK Joins) that Physical Layer
    When we build a report that only has one column of Dim A and one column of Dim B (A is parent of B), the following error appears:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 15018] Incorrectly defined logical table source (for fact table "Fact A") does not contain mapping for [Dim A.col1, Dim B.col1]. (HY000)
    What is wrong?
    Help!
    Thanks.

    Hi,
    The joins of dimensions go via a fact table. In your case there is no common fact table.
    You can solve this by drag/drop a field from the physical table Dim B on the displayed logical table source of the logical table Dim A.
    Now the BI Server knows that Dim A and B have a physical relationship.
    Regards

  • Incorrectly defined logical table source in rpd

    Hi
    I'm very new to rpd building and started with the below model
    F1 >----D1------<F2
    Fact 1 is joined to Dim 1 and the same Dim 1 is joined to Fact 2. With this model in physical & BMM Layer I built rpd and deployed.
    In answers I picked 1 column from each of these three tables and getting the below error.
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 15018] Incorrectly defined logical table source (for fact table FACT_SALES) does not contain mapping for [DIM_LOCATION.LOC_NAME]. (HY000)
    Seems, I'm missing some basic rule in building rpd, any help will be great.

    Hi,
    Just check the mapping between the fact_sales and Dimension table.
    the error explaining about the mapping error only.
    Just check the datatype compability too.
    Regards
    VG

  • Incorrectly defined logical table source (for fact table Facts) does not

    Hi,
    I have two Dimensions A and B. A is joined to B by a foreign Key.
    The report works if I pull B. Column1, A.Column2.
    The report is throwing an error if i try to change the order of the columns like this. A.Column2, B. Column1.
    error : Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    File: odbcstatementimpl.cpp, Line: 186
    State: S1000. Code: 10058. [NQODBC] [SQL_STATE: S1000] [nQSError: 10058] A general error has occurred. [nQSError: 15018] Incorrectly defined logical table source (for fact table Facts) does not contain mapping for B.Column1
    I am not sure where it is going wrong.
    Thanks
    jagadeesh
    Edited by: Jagadeesh Kasu on Jun 16, 2009 4:22 PM

    did you make joins in LTS or on the physical table.
    try to make join in LTS if they are not there.

  • RE:[nQSError: 15018] Incorrectly defined logical table sourc

    Hi Experts,
    Actually we have a report by using X subject area and there are two users(Y,Z) accessing the report but for one user(Y) the report is looking fine for other user(Z) it is showing the below error
    but for both users having same permission on the X subject area.
    *[nQSError: 15018] Incorrectly defined logical table source (for fact table ABC) does not contain mapping for .ROW_ID)*
    here in the report does not contain any column from the ABC fact table .
    weather this is an security issues or any technical issue because one user is getting the report and other user is not getting the report.
    Can any one guide me regarding the above issue...
    Regards,

    Since you have formatted the error message its not clear ROW_ID is from which table.
    Here I'll give few hints to cross check.
    1 There should be no key on fact tables in the Business Model.
    2 Use Complex joins, not Foreign Key joins, in the Business Model.
    3 All dimensions should have hierarchies defined
    4 Content tab settings
    Edited by: Srini VEERAVALLI on Mar 26, 2013 10:03 AM
    It would be nice if you update your old post before you post new one, that helps you to get responses
    Edited by: Srini VEERAVALLI on Apr 18, 2013 6:32 AM
    Whats the solution or fix?
    Edited by: Srini VEERAVALLI on Apr 18, 2013 6:55 AM

  • Repos - logical table source does not contain mapping

    Hi,
    I have a repository question?
    I do not have a fact table in my physical layer. Do I have to have one? I thought the fact table got created in the BM.
    I do have a date table in the physical layer, but it isn't joined to any other table.
    I added the PK from the date_dimention to my logical fact table.
    when I open the properities of my logical date table it is mapped to the physical date table.
    Now in answers, I can query the date_dimension without error.
    But, when I query the fact table using the date key, I get this error.
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 15018] Incorrectly defined logical table source (for fact table CRTK_FACTS) does not contain mapping for [CRTK_FACTS.MASTER_AI_ID, CRTK_FACTS.INT_DOC_ID, CRTK_FACTS.DATE_KEY]. (HY000)
    SQL Issued: SELECT CRTK_FACTS.MASTER_AI_ID saw_0, CRTK_FACTS.INT_DOC_ID saw_1, CRTK_FACTS.DATE_KEY saw_2 FROM CRTK ORDER BY saw_0, saw_1, saw_2
    Anyone have any suggestions on what I am missing?
    thanks,
    Kathy

    I don't have a fact table in the physical layer. Do you mean join between the date table and other dimension tables?
    or do I have to build the fact table in the physical layer?
    I have not built any hierarchies yet, working on it.

  • Incorrectly defined logical table sources

    Hi
    I have a scenario similar to the following
    I have 2 fact tables and one conformed dimension
    Fact1 has columns
    1.Custid
    2.valueid
    Customerdim has columns
    1.Custid
    2.Customername
    Fact2 has columns
    1.custid
    2.valuename
    i created joins in the physical layer has
    customerdim-------->Fact1(one to many)
    Customerdim------->Fact2(one to many)
    i created complex in business model layer also same as above
    and in answers i selected the following columns for the report
    Fact1.valueid,customerdim.custid,fact2.valuename.
    i got a incorretly defined logical tablesource error.there is no corresponding mapping in fact2
    pls help
    regards
    mervin

    Hi Mervin,
    The reason why you get this error is because the bmm layer is not built on a simple star schema.
    Assuming OBIEE expects its bmm layer to be in a pure dimensional model, you MUST have a star schema in which all associated fields must exists in available fact tables, thus the concept of multiple sources mapped to a single logical table arise.
    In your case you have:
    dimension
    fact1 ..........fact2 it does not view all the relationships exist in fact table. assume the diagram without dots.
    to accomplish this try squeezing fact into any of the logical dimension table and join them within this logical dimension.
    create a logical fact table by connecting it to dimension table through a complex join.
    note: the model changes if the complexity involved in the model changes.
    thanks
    -nag
    http://www.obinotes.com
    Edited by: bifacts on Sep 29, 2010 10:55 AM
    Edited by: bifacts on Sep 29, 2010 10:56 AM
    Edited by: bifacts on Sep 29, 2010 10:56 AM
    Edited by: bifacts on Sep 29, 2010 10:57 AM

  • Cube Logical table source doesn't show all cube members

    hi,
    Please help me solve this issue.
    I have a logical dimension table whcih has a source from 10 different LTS each of them is a cube and have different number of members in it
    Cube 1 has 1 member say A.
    Cube 2 has 1 member say A.
    Cube 10 has 3 members say A,B,C.
    When I bring the column of the logical dimension table into Answers, I see the output from only Cube 1 i.e. A and does not bring in from the other cubes 10 which has members A, B,C.
    Same is vindicated from the MDX query.
    Is there a soln for this.
    Regards,
    Bhavik

    Alright Bhavik, the belwo soln works fine with Oracle DB and you can try this with Essbase source:
    You need to set Fragmentation Content here...
    1) Create a dummy logical column in the logical table and map this to all LTS with some static values for each say 'A', 'B' etc
    2) Now in Fragmentation Content for each LTS set that column filter with the value given in mapping like "LTS"."CATEGORY" = 'A'
    3) Check the checkbox for this source shud be combined with other sources.
    Now when you will run ur report based on this it will pick from all LTS. Currently, its only picking and pointing to ur first LTS. What we will do is to force BI server to have data from all sources.
    Hope this is useful

  • Incorrect defined log. table source- 2 differen fact tables but same source

    Hi Guys,
    I have been struggling with this error for a while and searching this forum led me to a few posts but people seem to have a different setup such
    as with Dimension tables or joining multiple facts).
    My issue is that I can not even select two column from one and the same fact table.
    [[screen print of issue]|www.metallon.org/test/Incorrect_source.jpg]
    Thanks,
    metalray
    note: Total is just a calulated/derived logical colum such as A+3

    Total is calculated and the calculation takes values from a DIFFERENT fact tables BUT those fact tables have the same PHYSICAL source.
    so yes, there is no link between the facts but they are the same physical source anyway.....hm

Maybe you are looking for