Single table in Business model

Hello,
Is it possible to have only one table in the business model.
If I try to add just one table into my business model, I receive the following error during consistency check. I could find no help in documentation.
BUSINESS MODEL test:
[nQSError: 15001] Could not load navigation space for subject area test.
[15013] Logical table, test.empname, does not join to any other logical table
Any ideas?
Thanks in advance

Practically one table does not work in BI, because it expects star schema which consists of at least two tables. So the solution is here.
Put the same table again in business mode and make a complex join between both of them. Use only Fact table for presentation. that solves the problem.

Similar Messages

  • Probelm Addind new Table in Physical Layer, Create Dim in Business Model ..

    I have completed a task for a dash board, that is running sucessfully.
    Now I added a new table in "physical layer", (file->import->from database), table added successfully
    Now, I droped this table in "business model", but when I want to create its dimension, there is no any option (when I right click on this table)
    there are two cases
    case 1:
    I did not added modified fact table (with foreign key of new table) in "physical layer" and not in "business model and mapping"
    case 2:
    I added new table and modified "fact table (with foreign key of new table)" in "physical layer" and "business model and mapping"
    but in both cases there is no "create dimension" button to create dimension
    Please let me know the how to solve this problem, kindly define it in steps
    thanks

    Hi thr,
    Create Dimensions is only available if the selected logical table is a dimension table (defined by 1:N logical joins) and no dimension has been associated with this table.
    In you case, once you have imported the table successfully in physical layer, then join your table to fact table. Drag n drop in BMM under a new logical table and then join it to BMM Logical fact using complex join. Now, if you right click, you see the last option as 'Create Dimension'
    Hope you find it useful..

  • How to add a stand alone table from Physical layer to Business Model

    Hi,
    I have tables from 2 different database sources in my Physical Layer.
    My Business model currently uses only tables from one database. from my second database in teh physical layer I need only one table and that will be a stand alone table, to my Presentation layer.
    1. Does it have to go through my Business layer or can it be directly added to the Presentation layer. What are the steps?
    2. Can I restrict the permissions on that stand alone table only to the administrator?
    Thank you.

    1)create a view with single column using the sql (select 1 from dual) in physical layer and join it with the table using complex join in physical layer (1=1).
    Move that to BMM, set the column as key in both physical and bmm layer.
    2) You can restrict the access for the table presentation layer
    Double click the presentation layer table -> Permission -> there you can restrict the access by user or group
    Thanks,
    Vino

  • Create a business model when we have only one source table

    Hi,
    How to create a business model when we have only one source table in Physical layer
    Regards
    Swathi

    This is very much possible and feasible. Its called as Single Table model. Good example is SA System Subject Area where we just have a single physical source. No need to create Alias in Physical. Simply use the same table twice in BMM with one Logical Table as Dummy Fact..Like say Count of Users (aggregated). Then apply normal Complex join in BMM and present in presentation layer.
    http://gerardnico.com/wiki/dat/obiee/single_table_model
    http://gerardnico.com/wiki/dat/obiee/sasystem

  • OBIEE 10g repository - Business model - logical table to physical table, column mapping is empty

    Hi, I am really new to OBIEE 10g.
    I already set up a SQL Server 2005 database in Physical and import a view vw_Dim_retail_branch.
    The view has 3 columns: branch_id, branch_code, branch_desc.
    Now I want to set up the Business model to map this physical table (view).
    I created a new Business model
    Added new logical table Dim_retail_branch
    In the sources, added the vw_Dim_retail_branch as source table.
    But in the Logical table source window,  column mapping tab, it's blank. I thought it should be able to identify all the columns from vw_Dim_retail_branch, but not. The show mapped columns is ticked.
    What should I do here? Manually type each column?

    HI,
    Just you can drag and drop the columns from physical layer to BMM layer.
    Select the 3 columns and drag and drop it to the created logical column in BMM layer.
    for more reference : http:\\mkashu.blogspot.com
    Regards,
    VG

  • Business Model with 2 fact tables

    Hi there
    I am trying to get a simple business model working , 2 fact tables, 1 dimension, similar to this example :
    http://www.rittmanmead.com/2008/08/resolving-fan-traps-and-circular-joins-using-obiee/
    However I keep getting this: [nQSError: 14025] No fact table exists at the requested level of detail:
    the tables are:
    Incident (dimension)
    PK Sequence
    Incident Detail (fact table 1)
    PK Sequence
    FK Problem #
    Order (fact table 2)
    PK Sequence
    FK HDNum
    I cant figure out why this doesnt work like the rittman mead example? do they need to have the same column name?
    Thanks
    Tim

    It says the model doesnt contains a fact table.Fact table will have foreignkeys and Measure columns.That link shows the circular joins between tables.There fact table is not there.
    See this link for fact and dimensions
    http://www.geekinterview.com/question_details/66773

  • OBIEE 10G - Repository Business Model adding Fact Table

    Hi there,
    I've tried to search in the forum for problems similar to this one but didn't find any thread that answered my doubts.
    I'll try to explain this well (without images it's complicated). Let's assume we have a schema with the following tables:
    Dim_1, Dim_2 , Dim_3, Dim_4, Dim_5, Fact_1, Fact_2
    Fact_1 is connected to Dim_1, Dim_2 and Dim_3
    Fact_2 is connected to Dim_2, Dim_3, Dim_4 and Dim_5
    And on the business model of the repository we already have a model with the following tables:
    Dim_1, Dim_2, Dim_3 and Fact_1. This was the state of the repository the last time we saved it.
    Now i want to add to the business model the table Fact_2 and the Dims that connect with Fact_2. What should i do here?
    If i drag from the physical layer only the tables (Dim_4, Dim_5 and Fact_2 since Dim_1 and Dim_2 already exist in the business model) when i check on the business model diagram the Fact_2 table and direct joins i will only see joins to Dim_4 and Dim_5 and not the joins to the two other dimesion tables (Dim_1 and Dim_2). I don't know if OBIEE will still act like these joins are made or if i will have problems when i work on presentation services.
    If i drag from the physical layer the tables (Dim_2, Dim_3, Dim_4, Dim_5 and Fact_2) i will see all joins but i will have on the business model repeated tables, something like this:
    Dim_1, Dim_2, Dim_2#1, Dim_3, Dim_3#1, Dim_4, Dim_5, Fact_1 and Fact_2
    So what's the solution here? Do i have to redo everything i want to add something and this situation occurs? Doesn't sound smart and there has to be a better solution. I know i can redo the direct joins manually but is that the best solution i can look for in this situation?
    I hope i was clear :)
    Thanks

    Hi,
    Follow these steps,
    1.Drag Dim_4, Dim_5 and Fact_2 to BMM
    2.Select (Press Ctrl to select multiple objects)in BMM: Dim 1 to 5, Fact_1 and Fact_2
    3.Right click ->Business Model diagram->Selected objects only
    4.Give the necessary joins,
    Dim 4,&5 joins to Fact1(as 1,2,3 are already joined)
    Dim 2,3,4,5 joins to Fact2
    5.Check consistency.
    Rgds,
    Dpka

  • Purging cache for each Business Model / Fact Table Source

    Morning all,
    I try to understand how can i schedule purging obiee cache.
    . OBIEE is used with Essbase database
    . one database for Australia, one for France and one for USA
    I want to purge cache for each region after daily loading process (scheduled at different time) but Call SAPurgeAllCache() seems too radical
    Can you explain me steps to use to purge Business Model cache ?
    Currently I have to connect to Administration => Manage Cache => Clear Cache by Business Model and is not automatic !!
    Thanks for your help

    hi Saichand,
    I am not sure that could work with essbase physical mapping.
    OBIEE documentation doesn't translate this information for Essbase database :
    .DBNames
    .CatalogName
    .Schema
    .table
    create table UET (
    UpdateType Integer not null,
    UpdateTime date DEFAULT SYSDATE not null,
    DBName char(40) null,
    CatalogName varchar(40) null,
    SchemaName varchar(40) null,
    TableName varchar(40) not null,
    Other varchar(80) DEFAULT NULL
    In step 4 :
    I can't add ETL code because loading process works on essbase side and not in dataware environnement...
    Thanks

  • Adding a single table without a logical join to another table (OBIEE 10g)

    Sometimes I want to just display a single table without a logical join to another table in the repository. However, everytime I move it to the Business Model and Mapping layer and perform a Global Consistency Check, it tells me that it needs a logical join and I am forced to create another table to join to it. Thus creating a dimension-fact relationship. There are times I don't need this relationship and just want to display some data. Is there anyway to get around this?
    Thanks in advance!

    Yes,You have to create a join.You cannot take single table to BMM layer.You can create an alias of the table.Join this alias and base table through any common column and take both tables to BMM and desired table to presentation layer.
    Another way is to create a view in physcial layer.Write a select statement like
    Select primary_key from Table
    Where primary_key is primary key of base table.Join this view ith base table and repeat the steps defined for Alias.
    Regards,
    Sandeep

  • How to combine large number of key-value pair tables into a single table?

    I have 250+ key-value pair tables with the following characteristics
    1) keys are unique within a table but may or may not be unique across tables
    2) each table has about 2 million rows
    What is the best way to create a single table with all the unique key-values from all these tables? The following two queries work till about 150+ tables
    with
      t1 as ( select 1 as key, 'a1' as val from dual union all
              select 2 as key, 'a1' as val from dual union all
              select 3 as key, 'a2' as val from dual )
    , t2 as ( select 2 as key, 'b1' as val from dual union all
              select 3 as key, 'b2' as val from dual union all
              select 4 as key, 'b3' as val from dual )
    , t3 as ( select 1 as key, 'c1' as val from dual union all
              select 3 as key, 'c1' as val from dual union all
              select 5 as key, 'c2' as val from dual )
    select coalesce(t1.key, t2.key, t3.key) as key
    ,      max(t1.val) as val1
    ,      max(t2.val) as val2
    ,      max(t3.val) as val3
    from t1
    full join t2 on ( t1.key = t2.key )
    full join t3 on ( t2.key = t3.key )
    group by coalesce(t1.key, t2.key, t3.key)
    with
      master as ( select rownum as key from dual connect by level <= 5 )
    , t1 as ( select 1 as key, 'a1' as val from dual union all
              select 2 as key, 'a1' as val from dual union all
              select 3 as key, 'a2' as val from dual )
    , t2 as ( select 2 as key, 'b1' as val from dual union all
              select 3 as key, 'b2' as val from dual union all
              select 4 as key, 'b3' as val from dual )
    , t3 as ( select 1 as key, 'c1' as val from dual union all
              select 3 as key, 'c1' as val from dual union all
              select 5 as key, 'c2' as val from dual )
    select m.key as key
    ,      t1.val as val1
    ,      t2.val as val2
    ,      t3.val as val3
    from master m
    left join t1 on ( t1.key = m.key )
    left join t2 on ( t2.key = m.key )
    left join t3 on ( t3.key = m.key )
    /

    A couple of questions, then a possible solution.
    Why on earth do you have 250+ key-value pair tables?
    Why on earth do you want to consolodate them into one table with one row per key?
    You could do a pivot of all of the tables, without joining. something like:
    with
      t1 as ( select 1 as key, 'a1' as val from dual union all
              select 2 as key, 'a1' as val from dual union all
              select 3 as key, 'a2' as val from dual )
    , t2 as ( select 2 as key, 'b1' as val from dual union all
              select 3 as key, 'b2' as val from dual union all
              select 4 as key, 'b3' as val from dual )
    , t3 as ( select 1 as key, 'c1' as val from dual union all
              select 3 as key, 'c1' as val from dual union all
              select 5 as key, 'c2' as val from dual )
    select key, max(t1val), max(t2val), max(t3val)
    FROM (select key, val t1val, null t2val, null t3val
          from t1
          union all
          select key, null, val, null
          from t2
          union all
          select key, null, null, val
          from t3)
    group by keyIf you can do this in a single query, unioning all 250+ tables, then you do not need to worry about chaining or migration. It might be necessary to do it in a couple of passes, depending on the resources available on your server. If so, I would be inclined to create the table first, with a larger than normal percent free, then do the first set as a straight insert, and the remaining pass or passes as a merge.
    Another alternative might be to use the approach above, but limit the range of keys in each pass. So pass one would have a predicate like where key between 1 and 10 in each branch of the union, pass 2 would have key between 11 and 20 etc. That way everything would be straight inserts.
    Having said all that, I go back to my second question above, why on earth do you want/need to do this? What is the business requirement you are trying to solve. There might be a much better way to meet the requirement.
    John

  • How to copy one Analysis/Report in Business Model A to Business Model B?

    I have created a Business Model, Presentation layer in my RPD. I have many subsequent reports/analysis for that BM. Now, i have created a second BM/Presentation layer, in the same RPD, which uses a new set of identical tables (columns and table names, etc... all the same, but different data). So, without re-created each report in Analysis, i just want to copy some of those reports/analysis so they will use my 2nd BM instead of the first. Can this be done, and how?
    Edited by: user12602240 on Mar 31, 2012 11:50 AM

    I'm retracting my comments for now -- this may be due to a column ALIAS which isn't present.
    I will re-post after I investigate that a bit.
    --- Original ---
    Kalyan,
    Not sure if you had any difficulties in this method. When i try it, i get the following error below. I've checked my names - the names "Periods" and "PERIOD_ID" are identical in both my subject areas. They refer back to aliased tables which ultimately point back to the same physical table. It's unclear to me why i am getting the unresolved column error, but i'm still trying to sort that out.
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
    Location: saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool, saw.threadpool, saw.threads
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27005] Unresolved column: "Periods"."PERIOD_ID". (HY000)
    SQL Issued: {call NQSGetQueryColumnInfo('SELECT "Periods"."PERIOD_ID" FROM "BM11_Current"')}
    SQL Issued: SELECT "Periods"."PERIOD_ID" FROM "BM11_Current"
    Edited by: user12602240 on Apr 10, 2012 5:21 PM

  • Single Table Inheritance with BDB and JPA

    I am using Java based BDB (4.0) and using @Entity, @PrimaryKey, etc. tags to define my model. I am using @SecondaryKey to define relationships, e.g.
    @Entity
    public class User {
    @PrimaryKey(sequence = "ids_seq")
    private int id;
    @SecondaryKey(relate = Relationship.MANY_TO_ONE, relatedEntity = Department.class, onRelatedEntityDelete = DeleteAction.CASCADE)
    private Integer albumID;
    @Entity
    public class Department {
    @PrimaryKey(sequence = "ids_seq")
    private int id;
    @SecondaryKey(relate = Relationship.ONE_TO_MANY, relatedEntity = User.class)
    private Set<Integer> userIDs;
    Now, I want to extend User and apply Single Table Inheritance, e.g.
    @Entity
    public class Employee extends User {
    Can someone suggest how to do it with BDB. Thanks.

    You may want to take a look at the "Entity Subclasses and Superclasses" section in the javadoc:
    http://www.oracle.com/technology/documentation/berkeley-db/je/java/com/sleepycat/persist/model/Entity.html
    Does this help?
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • MVC Problem with getter method of table attribute in model class

    Hi,
    I am on 620 SP34. I am writing a bsp application with mvc. One of the model classes has an attribute of type table. I use this attribute in a htmlb-tableview and '//MODEL/ZMY_TAB' for data binding. If I try to activate a getter method for this attribute, the application dumps with exception <i>BSP exception: Structure component with name "ZMY_TAB" does not exist</i>. I find the SAP source, that raising this exception (see below). The source code looks like: <i>"I don't support getter methods for tables in attribute path"</i>! The setter method works fine, so I am at a loss. Has anyone of you wrote a getter method for an table attribute in bsp-mvc? Have I to consider anything special?
    Thanks,
    Carsten
    Main Program CL_BSP_MODEL==================CP
    Source code of CL_BSP_MODEL==================CM00Z
    METHOD IF_BSP_MODEL_BINDING~GET_ATTRIBUTE_DATA_REF
           * check if attribute exists for binding!                                   
             if exists_attribute( l_name ) is initial.                                
               return.                                                                
             endif.                                                                               
    * setter or getter defined? Not supported for DATA REF requests            
             if get_getter( attribute_name = l_name ) is not initial.                 
               raise exception type cx_bsp_inv_component                              
                 exporting name = l_name.                                             
             endif.                                                   

    You have two options:
    1. Make your attributes public. It should work fine.
    2. If you need to process the attribute values before it is used, you can make the attribute private but will need three methods
    GET_T_ZMY_TAB that returns the table
    SET_T_ZMY_TAB that sets the values
    GET_M_T_ZMY_TAB that returns DDIC information about the attribute. The same holds good for structures(Change to GET_S_ and GET_M_S_ ) and simple attributes(Change to GET_ and GET_M_).
    The set and get methods are kind of documented at http://help.sap.com/saphelp_nw04/helpdata/en/fb/fbb84c20df274aa52a0b0833769057/content.htm but there is no mention of the GET_M_ methods. I could not find one single document on the Model part MVC.
    Once I added the GET_M_XYZ methods to my attributes, my BSPs started to work fine.
    Cheers
    Sreekanth

  • Business Model and Mapping layer

    I am trying to create a logical dimension table by dragging the corresponding table from the physical layer. However, in the business model layer it shows up with a yellow icon indicating it is a logical fact table. Please help me how I create a logical dimension table in the business model layer. Not sure what I am doing wrong here.
    Thanks.

    Hello Saichand,
    No I did not. Do I have to create joins even when I am dragging this object from the physical layer? Let me read and learn how to create the joins. I will get back if I will have more questions.
    But, thanks for the quick response. As you can see this is the first time I am trying to modify the business model layer.
    Thanks.

  • Link Join Concept In Physical and Business Model Layer

    Hi,
    As we know that we could make join relationship in physical layer and also business model layer in obiee 10g. This is what makes me confuse.
    First of all, I tried to follow the tutorial in the oracle learning library center with schema SH as an example.
    In the beginning, it is stated that we must make join relationship first in physical layer for all imported tables which are consist of dimension tables and fact tables.
    Then, in the business model layer, the tutorial said that we must also make join relationship for the logical dimension table and logical fact table.
    So, what's the purpose actually we must make join relationship in business model layer ?
    All objects in business model layer are actually mapped from physical layer. So automatically the relationship in business model layer should be available automatically as they are mapped from physical layer.
    Maybe for you guys who know the concept well about this difference of relationship, could tell me so I could get the idea of what it is actually about.
    Thanks

    Physical layer does represent datamodel joins as is in almost all cases.
    Federated queries are a best example why joins are implemented in both (Physical & BMM layer) places.
    Business model mapping layer is modelled according to your business requirements.
    This is where your model MUST be a simple star schema, also where you model your hierarchies based on logical tables in bmm layer, & do appropriate aggregate navigation.
    Hope the view points presented will put you in right direction.
    mark answers promptly.
    -bifacts
    http://www.obinotes.com
    J
    Edited by: bifacts on Dec 16, 2010 9:19 PM

Maybe you are looking for

  • Which is better quality for watching a pre downloaded movie airplay or HMDI?

    I have the new Retnia. I have an apple tv and high quality HDMI cable. If I want watch a 900P movie from my laptop to my up to 1080p tv which would be more reliable/better quality? BTW the movie is predownloaded so it WOULD NOT be streamming. Thanks!

  • Problem Getting Output Dot on ICON

    Attached is a VI that reads the light sensors on our Robot and converts the values to a state that should be easy to use in Case blocks. Obviously, we don't know what we are doing because none of us can get the 'State' output to actually be an output

  • ITunes 5 poor performance in mini player view

    When I switch the iTunes 5 interface to the "mini player" view (green plus button), iTunes consumes ~65% CPU time continuously. This isn't the case when iTunes is minimzed, and when the entire interface is visible it only takes ~15% CPU time continuo

  • Trying to upgrade from OS9.1 to OS10.0 on B+W G#-greyed out disc

    I'm trying to get OS10 to install on a Blue and White G3 but the disc (a cd) won't recognize. Trying to restart from the disc drive generates a disc error2 message. Holding down the c key on reboot doens't work. Accessing from start-up menu and the d

  • Importing images: not in "recognized format".

    Hi, I encountered a problem last night, but thankfully found a solution.  I've decided to share it here.  (There are a number of threads in the Apple forums discussing the same problem, but they were all archived, so I couldn't add my solution to any