OBIEE Data Modelling queries

Hi,
I am trying to create a data model for the OBIEE reporting from a source database.
I have a fact table that looks like the below
Fact-Key Customer_id Facility_id market_value_amt Coll_key Guar_key Derivative_key
========================================================
1 10 100 10000 30 NULL NULL
2 20 100 10000 NULL 100 NULL
3 30 100 10000 NULL NULL 200
In the above fact table for a given fact key i can find the correspondign customer details by using the customer_id by joining it with the customer dimesnion table
I can get the facility details by using the facility_id and joinign it with the facility dimension table.
But the coll_key,guar_key derivative_key are all from different tables.
Any one row in teh fact table will have only oen of the keys coll key or guar_key or derivative key populated.
When a row has a coll key value populated i will use the key to join with the coll_attr tabl to get collateral related values.
If the guar_key table is populated i will use that key and joion with the guar_attr table to get guaranter related details.
The problem with this model is tommorrow if there is another type that is added say equity, then to get th attribute details i will need another column added to the
fact table called equity_key and i will use this key and join with say the equity_attr table to get the values.
Is there any other way to design the data model for these kind of data.

By looking at the data and fact table i can say that you need to have one key in the fact instead of different keys for different types.
Fact
Fact-Key Customer_id Facility_id market_value_amt Type_key(example)
1 10 100 10000 300
2 20 100 10000 100
3 30 100 10000 200
All the tables can join using the same key and you wont need to add another column for equity.
Hope this helps

Similar Messages

  • Unable to join 3 fact tables in obiee data model.

    Hi,
    I am unable to join the 3 fact tables in obiee rpd. If I join with 2 fact tables I got the data in repors, Once I add the one more fact table and join with related dimensions, I am getting nodata error. I am following all joins keys as per datamodel, I am able to see the data in database. anyone pls give me the solution. Thanks in advance.
    Edited by: 1007582 on May 23, 2013 2:17 AM

    Can you please give some more detail as in what you have model in RPD;
    For example, if There are 3 Fact table F1, F2, F3 and two Dimesion Confirmed_D1, Non_Conf_D2. Confirmed_D1 is joined to all three fact tables and Non_Conf_D2 is joined to F2.
    Now to implement this model we have to set the logical content level in BMM layer for Non_Conf_D2 in F1 & F2 to Total*. After this only we can report on Confirmed_D1, Non_Conf_D2, F1, F2, F3 whithout any error.
    Sometime join with multiple table can also result in No Data, since the join conditions filters out the result data.
    Please mark helpful or correct.
    Regards,
    Kashinath

  • OBIEE EXECUTE PHYSICAL sql as Data Model Query

    The following SQL was generated using OBIEE. I'd like to use it as the SQL query for my data model. It works fine it I hard code all of the values into the where clase. However when I attempt to pass parameter values (:ACCOUNTING_PERIOD & :FISCAL_YEAR) into the below SQL statement, I get an error and the report will not generate. The error is the typical "The report can't be rendered. Check with your administrator". Any ideas on how I can pass parameter values into this SQL?
    EXECUTE PHYSICAL CONNECTION POOL SDEVDW SELECT A.BUSINESS_UNIT,A.PROJECT_ID,A.PROJECT_STATUS,A.EFFDT FROM SPSDW.PS_PROJECT_STATUS A WHERE A.EFFDT = (SELECT MAX(B.EFFDT) FROM SPSDW.PS_PROJECT_STATUS B WHERE B.BUSINESS_UNIT = A.BUSINESS_UNIT AND B.PROJECT_ID = A.PROJECT_ID AND B.PROJECT_STATUS<>'C' AND B.EFFDT <= (SELECT PPERIOD_END_DT FROM SPSDW.PS_D_DET_PERIOD WHERE PPERIOD_CD = 6 AND PYEAR_NUM = 2008 AND DT_PATTERN_CD = '01' AND SRC_SYS_ID = 'FSCM')
    ) ORDER BY 1,2,3

    I turned on debug and bounded OC4J. After I ran the report, I did not see any link.
    The error that returns is:
    "The report cannot be rendered because of an error, please contact the administrator."
    Where will the link be located. Is there are log file that I can review. We are using BI Publisher enterprise (10.1.3.3.0).

  • Getting Error when creating Data Model off OBIEE Analysis

    Hi,
    Our BI Publisher is integrated with OBIEE. I am developing BI Publisher report from existing obiee analysis. I am getting error when selecting existing analysis for data Set. Following error gets appear when pressing ok after selecting BI analysis
    oracle.xdo.XDOException: oracle.xdo.XDOException: oracle.xml.parser.v2.XMLParseException: '=' missing in attribute.
    I have done some debugging and it seems error is appearing due to presence of dimensional hierarchy in the analysis. If I remove dimensional hierarchy column from the analysis, this error goes away and I am able to save data model and gather sample XML.
    Any idea how to handle dimensional hierarchy column in BI Publisher data set?
    Thanks & Regards

    Hi,
    I got this response from Oracle
    “Sorry, this is not supported. If the BIEE Analysis has hierarchy columns then BIP cannot use it as a datasource.”

  • Can SQL Developer Data Modeler work with OBIEE?

    Can SQL Developer Data Modeler work with OBIEE? Can we export the data model from the Data Modeler and import it into OBIEE? Or export the OBIEE metadata to the Data Modeler for Data Model defining?

    no
    Philip

  • Upload Data Model in OBIEE 11g

    Hi All,
    I working on OBIEE 11.1.1.5 .
    I have one data model file abc.xdmz, i want to upload this file in BI publisher.
    But When I select data madel from new, then we have only upload options 1) .xml file and 2) schema.
    I am not able to get how to upload data model in bi publisher.
    please guide me
    Thanks and Regards
    Prashant

    Prashant,
    Hi i know this is old post, however i am experiencing the exact issue.
    Did you ever resolve this? If so, can you please let me know
    thank you

  • How to maintain order of execution of the Queries in Data Model

    Hi,
    I have 5 queries in the Data Model
    Query_1 will fetch some values based on the selection criteria and inserts values in a table(say Table_1) using a formula column
    The other queries will fetch data from DB using the records in Table_1
    The problem now i am facing is Query_2|Query_3|Query_4|Query_5 is being executed before Query_1
    How can we maintain the order of execution
    Any help will be appreciated
    thanks
    siva

    No there is no join between Q_1 and other queries
    all the queries are individually hanging in the data model
    moreover we cannot have a Master-Detail kinda relasionship in this case
    please give me some suggestions

  • How the queries gets processed in data model of report

    In a report for e.g there are four queries in data model.
    In the first query there is a group there we are calculating the value of a formula column c_currency.
    In c_currency for set of values we are calculating :p_curr.
    :p_curr is a global variable i.e user parameter.
    So :p_curr is getting used in format trigger of next group in second query.
    So the first query will execute for suppose 15 set of values.
    So :p_curr wil not retain the values for all that 15 sets of values or it will each time overwrite the value?
    or whether the first query will execute for first set of value pass to next query then execute for 2nd set.or will it execute all set and will pass :p_curr to next query?

    This has nothing to do with the number of tables in your query. Search for the error message in the Reports help and you find this:
    Cause:     You are attempting to default a layout that, if created using current settings, would be too large to fit within the defined height and width of a report page.
    Action:     Go back to the Report Wizard and reduce the values of default settings (e.g., shorten some field widths). Alternatively, you can increase the size of a report page using the Report property palette. Then redefault your layout. Continue making adjustments as necessary.

  • Want to build OBIEE compatible data model.

    Hi Experts,
    I want to design a data model which i use with OBIEE. Mainly my reports contain different metrics compared over time. Can any one give me some suggestions or web references that help me in building a strong data model. Sorry if this is a big topic to discuss........any web references you know will help me a lot.
    Thanks,
    DK

    Thanks Stijn,
    but there are several books written by Kimball...........which one of the below you prefer??
    The Data Warehouse Toolkit: The Complete Guide to Dimensional Modeling
    http://www.amazon.com/Data-Warehouse-Toolkit-Complete-Dimensional/dp/0471200247/ref=sr_1_1?ie=UTF8&s=books&qid=1279297864&sr=8-1
    The Data Warehouse Lifecycle Toolkit
    http://www.amazon.com/Data-Warehouse-Lifecycle-Toolkit/dp/0470149779/ref=sr_1_9?ie=UTF8&s=books&qid=1279297864&sr=8-9
    or some other book??
    Thanks once again for the reply,
    DK

  • Can I pass parameters from a dashboard via a dashboard prompt and presentation variable to publisher report based on a data model with select statements in OBIEE 11g ?

    I have a publisher 11g (v 11.1.1.7)  report with a single parameter. The report is based on a data model not a subject area.  I created a dashboard put a dashboard prompt and link to the report in separate section on the same page.  The dashboard prompt sets a presentation variable named the same as the parameter in the report. 
    The problem was when I created the dashboard prompt, it forced me to select a subject area which I did (though did not want to) and then I created both a column and variable prompts. But clicking on the
    report link completely ignored the value that I thought would be passed in the presentation variable to the report.
    Side note :  My report uses a pdf template for its layout where I have mapped the columns names from my data model to the form fields on the pdf form.  I noticed that if I create a publisher report based on a subject area, then I do not have the choice to choose a PDF as a template type for my layout.  (I only see BI Publisher Template as a choice). 
    I see some documentation online that suggest it could be done in 10g.
    Thanks
    M. Jamal

    Ok,
    I just tried that and it still doesn't pass anything to the prompt.
    I changed the prompt to an edit field and I made the following weblink but when i click the link from an account it doesn't put anything in the prompt and all data for all accounts is shown.
    This is the URL maybe I messed something up...
    https://secure-ausomx###.crmondemand.com/OnDemand/user/Dashboard?OMTHD=ShowDashboard&OMTGT=ReportIFrame&SelDashboardFrm.Dashboard Type=%2fshared%2fCompany_########_Shared_Folder%2f_portal%2f360+Report&Option=rfd&Action=Navigate&P0=1&P1=eq&P2=Account."Account Name"&P3=%%%Name%%%
    thanks

  • OBIEE Best Practice Data Model/Repository Design for Objectives/Targets

    Hello World!
    We are faced with a design question that has become somewhat difficult and we need some help. We want to be able to compare side-by-side actual measures with their corresponding objectives/targets. Sounds simple. But, our objectives are static (not able to be aggregated) with multi-dimensionality and multi-levels. We need some best practice tips on how to design our data model and repository properly so that we can see the objective/target for a measure regardless of the dimensions that are used in the criteria and regardless of the level.
    Here is some more details:
    Example of existing objective table.
    Dimension1
    Dimension2
    Dimension3
    Obj1
    Obj2
    Quarter
    NULL
    NULL
    NULL
    .99
    1.8
    1Q13
    DIM1VAL1
    NULL
    NULL
    .99
    2.4
    1Q13
    DIM1VAL1
    DIM2VAL1
    NULL
    .98
    2.41
    1Q13
    DIM1VAL1
    DIM2VAL1
    DIM3VAL1
    .97
    2.3
    1Q13
    DIM1VAL1
    NULL
    DIM3VAL1
    .96
    1.9
    1Q13
    NULL
    DIM2VAL1
    NULL
    .97
    2.2
    1Q13
    NULL
    DIM2VAL1
    DIM3VAL1
    .95
    2.0
    1Q13
    NULL
    NULL
    DIM3VAL1
    .94
    3.1
    1Q13
    - Right now we have quarterly objectives set using 3 different dimensions. So, if an author were to add one or more (or zero) dimensions to their criteria for a given measure they could get back a different objective. They could add Dimension1 and get 99%. They could add Dimension1 and Dimension2 and get 98%. They could add all three dimensions and get 97%. They could add zero dimensions (highest grain) and get 99%. Using our existing structure if we were to add a new dimension to the mix the possible combinations would grow dramatically. (Not flexible)
    - We would like our final solution to be flexible enough so that we could view objectives with altogether different dimensions and possibly get different objectives.
    - We currently have 3 fact tables with 3+ conformed dimension tables and a few unique dimension tables.
    Could anyone share a similar situation where you have implemented a data model structure with the proper repository joins to handle showing side-by-side objectives/targets where the objectives were static and could be displayed at differing levels with flexible dimensions as described?
    Any help would be greatly appreciated.

    hi..yes this suggestion is nice...first configure the sensors(activity or variable) ..then configure the sensor action as a JMS Topic which will in turn insert the data into a DB..Or when u configure the sensor action as a DB..then the data goes to Oracle Reports schema..if there is any chance of altering the DB..i mean if there is any chance by changing config files so that the data doesnt go to that Reports schema and goes to a custom schema created by any User....i dont know if it can b done...my problem is wen i m configuring the jms Topic for sensor actions..i see blank data coming..for sm reason or the other the data is not getting posted ...i have used a esb ..a routing service based on the schema which i am monitoring...can any1 help?

  • 11g bi publisher data model generic columns names for obiee data source?

    I'm just trying to figure out if this is a bug, expected behavior or installation problem. When I select an Oracle BI Analysis to add to the data model diagram the column names are not copied over. Instead they are all renamed as Column0-ColumnNN.
    Thanks
    Edited by: user13087422 on Apr 7, 2011 9:49 AM

    I'm facing this same issue. Can you solve that? What's the problem with it?
    Regards,
    Ariel

  • How to combine sql queries of two different data models of a single RDF

    Hi All,
    Greetings.
    I am on a task to get  the sql query of a seeded report(Accounting Rules Report) with RDF named RAXARL.rdf
    The RDF consists of 3 data models which consist of a sql query each and they are running fine individually.But I want all those three to be combined in a single SQL Query so that I can use it running  a report in apex.
    Can anyone help me do this? I am able to find a solution for this.
    Thanks in advance,
    Bhaskar.

    Hi Bhaskar,
    To get the SQL behind the report, run it with the Enable Trace option enabled (disable it after you get it).
    Octavio

  • Oracle OLAP as OBIEE Data Source

    I've got a couple of questions regarding the use of Oracle OLAP (Analytic Workspace/Cube) as an OBIEE data source.
    First: As a general rule when creating a dimension, we create a total roll-up for the dimension i.e. "Total Product", "Total Geog", "Total Customer" etc... Generally, I don't create a total roll-up for time dimensions. When importing metadata from OLAP to OBIEE, OBIEE creates a "Total" level for all dimensions. Now, I understand why OBIEE does that; to support queries that might exclude one or more dimensions. My question is: what is the best method/procedure to deal with the extra "Total" level?
    Second: I would appreciate it if someone could explain this error for me: [nQSError: 59137] Filter level YEAR is below the projected level Total on dimension CMP_TIME while an externally aggregated measure is present. (HY000). I understand the words, but have no clue what OBIEE is trying to tell me. This error pops up constantly and I see no rhyme or reason that would cause it. the specific case above occurred when I clicked on the sort icon for a measure included in a report.
    Thanks,

    Mark,
    Thanks for the reply. However, I'm not sure I made myself clear. I have created a "Product" dimension in AWM (Analytic Workspace Manager) in the following structure: Product -> Product Line -> Total Product. Withing the context this hierarchy, "Total Product" is the "Grand Total" Level. When this data is imported into OBIEE using "Oracle OLAP" as a data source, the Product hierarchy is created in the Physical Layer as an "Oracle OLAP Dimension". In the BMM Layer, the hierarchy is structured as: Product -> Product Line -> Total Product -> Total. There are now two "Total" Levels. Naturally only one, the OBIEE generated Total, is defined as "Grand Total". The only child of the Total level is Total Product. I have two hierarchy levels that are the same. So, do we need both? should we keep both? Should a dimension defined within AWM for use in OBIEE NOT include a total level? It's not really a problem, it just doesn't seem to make any sense to have TWO total levels within a hierarchy.
    On the second issue, I wish I could provide some detail, but I'm really not sure how I'd do that. That's why I asked for the meaning of the error. What is OBIEE telling me that I'm doing wrong. All I really did was import the metadata, drag it to the BMM Layer, deleted some of the hierarchy level keys, renamed some columns and dragged the stuff over to the Presentation Layer. So, it's pretty much drag-and-drop.
    Another example of the error: We have a Category Dimension (Sub Category -> Category -> Category Group -> Model -> All Categories -> Total) and I want to see the top 10 values of a measure by Category by Model. In an Analysis, adding the Model column works fine, just not the best visualization. Move the Model column to "Sections" and all works; move the Model column to Pivot Table Prompts and it errors. Obviously, I'm asking OBIEE to do something it doesn't want to do, so I'm looking for the root cause of the error.
    Thanks,

  • Issue while creating Data Model in BI Publisher and logging into xmlpserver

    Hi All,
    We are facing an issue in OBIEE 11.1.1.5.
    If we are logging with Non Admin Id (other than weblogic) and select New Data Model, a blank screen is coming. Where as, if we use Admin Id, we are getting screen as usual for creating data model. There were some blogs mentioning to change Priviledges for  SOAP access, but that approach is also not working.
    Further, we are also not able to open xmlpserver with Non Admin Id.
    Any help or pointers would be great.
    Regards,

    how about pasting the content of your data template here, so that forum members can see what could be the problem.

Maybe you are looking for

  • How do I effectively join the Macs to the AD?

    Hi. First, I must qualify that I am NOT a network individual. Some of the research I've done, I've managed to follow, but I don't have the technical know-how to fully understand it all. I desparately need help, please. I work in a medium-sized enviro

  • My Iphone 3 8gb isn't recognised by my PC or Itunes

    I have been given an Iphone 3 by my friend who no longer used it has they had upgraded to an Iphone 4 I am having a problem that when I plug it into the USB of my PC it isn't recognised by both the PC and Itunes On the Iphone screen all I get is No S

  • Locked folder error when trying to start up iTunes

    A friend of mine has a relatively new Toshiba laptop with Vista on it (32 bit). She was able to use iTunes with no problems for a while, until she installed Microsoft Office 2007 on it. Afterwards,the program refuses to open, stating that either the

  • Why is pages 5.0 crashing?

    After updating my ios to Maverick and downloading the newest version of pages 5.0 and keynote 6.0 they are both crashing when I try to open them? What should I do

  • Case sensitive problem in oracle9i

    Hello every body I need ur help in this case in my database I need to ignore case sensitive in varchar2 ie. if I have value in varchar = Accounting I need to compare this value which exist in column if equal to 'accounting' value with out using lower