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

Similar Messages

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

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

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

  • 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

  • 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

  • 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

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

  • Multiple 'logical joins' between a fact table and one dimension table

    It appears that one cannot create multiple ‘logical joins’ between a fact table and one dimension table in OBIEE using the Oracle BI Administration Tool. For example, considering a Business Model with a dimension table TIMES and a fact table FACT containing START_TIME and END_TIME, we would like to create separate logical joins from FACT to TIMES for the START_TIMEs and END_TIMEs? Obviously, the underlying foreign keys can be created, but as far as I can tell the Oracle BI Administration Tool doesn’t support this. The workaround would be to replicate the TIMES table, but that’s ugly.
    I seek an alternative approach.

    Try this. Create an two aliases for the TIMES dimension (Start & End) in the Physical Layer and then remove foreign key to the "Parent" Times dimension. Create the Foreign Key in the Physical Layer to the new aliases and then create the complex joins in the BMM Layer to the new aliases as well. This will allow you to present both dates within the same table in the Presentation Layer. Not the most elegant solution but it works.

  • Data source for crm table CRMD_ORDERADM_I

    hi experts,
    could you please tell me the standard data source for crm table CRMD_ORDERADM_I ?
    Thanks a lot!

    Hi,
    There would be many data sources based on this table CRMD_ORDERADM_I.
    Example.
    Opportunity Item Attributes - 0CRM_OPPT_ATTR_I
    Bids - 0BBP_TD_QUOT_1
    Depends What exactly are you looking for.
    Regards,
    Joe

  • Is it really another error about full table scans for small tables....?????

    Hi ,
    I have posted the following :
    Full Table Scans for small tables... in Oracle10g v.2
    and the first post of Mr. Chris Antognini was that :
    "I'm sorry to say that the documentation is wrong! In fact when a full table scan is executed, and the blocks are not cached, at least 2 I/O are performed. The first one to get the header block (where the extent map is stored) and the second to access the first and, for a very small table, only extent."
    Is it really wrong....????
    Thanks...
    Sim

    Fredrik,
    I do not say in any way that the documentation in this point is wrong.....
    In my first post , i have inserted a link to a thread made in another forum:
    Full Table Scans for small tables... in Oracle10g v.2
    Christian Antognini has written that the documentation is wrong....
    I'm sorry to say that the documentation is wrong!
    In fact when a full table scan is executed, and the
    blocks are not cached, at least 2 I/O are performed. The
    first one to get the header block (where the extent map
    is stored) and the second to access the first and, for a
    very small table, only extent.I'm just wondering if he has right......!!!!!!!
    Thanks..
    Sim

  • How to hide table header for empty table

    Hi,
    I wanna to hide table header for all tables which doesn't contain any data in my Adobe form. How can I do this? Helpful answers will be rewarded .

    HI Aliaksandr,
    You can use javascript to do this dynamically.
    For example, i used Adobe Designer 7.1 to add a table to a subform.
    Now, i have the object hierchy as:
    Level 1 - form1
    Level 2 - form2
    Level 3 - Table1
               -->HeaderRow
                    --> Cell1
                    --> Cell2
               -->Row1
                    --> Cell1
                    --> Cell2
    Now, i sleect the Table1 element, and write the javascript which is executed on Initialization, as
    if(this.Row1.Cell1.rawValue == "")
    this.HeaderRow.presence = "hidden" ;
    This will check that if the first row is empty, it will hide the header from the layout.
    You can use something similar for your requirement.
    Hope this helps,
    Siddhartha Jain

Maybe you are looking for

  • How to configure oracle listener profile for multiple oracle database

    Hi, I am going to install solution manager system in the same server of ERP EHP4 on Windows. Both DB are oracle. I'd like to know how to configure listener in this kind of envirnmonent. a. use two listener and different ports b. use same listener but

  • How do I set up Intel Smart Response on my hybrid drive

    I own a HP Pavilion dv6t-7000 CTO Entertainment Notebook PC. I have a 1TB hard drive with a 32 GB SSD used for caching and accelerating using Intel's Smart Response Technology and Rapid Storage Technology console. I had to send in my computer for war

  • Lumia 520 store

    i am a new owner of lumia 520 , i have problem on store connectivity. when i am download/update/installation of any apps will load error massage is we can't connect to the microsoft at the moment. Please could someone put me out of my misery and tell

  • Need a Repeater for stronger wifi connection

    Hi, I'm new to wireless issues so please bare with me. I have a MBP with snow leopard installed.  I have a boat docked at a marina that has free wifi.  If I am at the marina office, the signal strength is fine.  When I am on my boat (distance from ou

  • Starting a workflow with inbound Wf-XML

    Hi I read on help.sap.com that a workflow can be started when an inbound Wf-XML document arrives. Can anyone clarify where the XML actually arrives? Will the XML arrive at the integration layer (in our case SAP XI), and XI will have to trigger the wo