Multiple Facts in single subject area

Hi everyone,
Is there an optimal way to get multiple facts into a single subject area? The only way I've managed to get multiple facts into a single subject area is to go the route of creating hierarchies for all dimensions, setting up all the content levels for both the fact and dimension tables and finally creating aggregated measures for all the fact tables. However, when you setup these different hierarchies and content levels, the queries which are generated tend to get fairly nasty and seem to be slow. Another pesky issue is that I've had to create pseudo columns for all facts, so that if a report is using one dimension from FACT A and one dimension from FACT B, then you have to include this pseudo column from both facts so that OBIEE knows which tables are involved in the query. Without including these pseudo columns in the report, the OBIEE engine gets a little confused and puts up an error.
I'd prefer to find a better way to do the multiple fact implementation without having to have the massive queries and pseudo columns, but I'm not sure what the other options out there are. Anyone know the best way to accomplish this?
-Joe

Hi Wildmight,
You are exactly right.
Here's an example of what I'm trying to accomplish. We have a TIME SHEET fact table which has things like a work date, an employee ID, a work order number and the hours which were worked. The work orders can be against one or more pieces of equipment. There is a second fact table which models the one to many relationship between work orders and equipment.
The model would look a little like this:
Join on WORK ORDER NUMBER Join on WORK ORDER NUMBER
TIME SHEET FACT <-----------------------------------------------WORK ORDER Dimension ----------------------------------------------> WORK ORDER EQUIPMENT FACT
We would like to create a report that shows the number of hours from the time sheets fact grouped by the piece of equipment from the work order equipment fact. I've been able to setup this report using the method I described in my first post, but like I said, the generated SQL is massive and seems somewhat unnecessary.
I think I'd have to say the grains of the facts are different since they providing to different pieces of information.
I haven't done too much multiple LTS experimentation. I'm working from a single data warehouse source which should be robust enough to handle any reporting requirements. Even though I know OBIEE can do some clever combining of tables using the LTS; if data sets need to be consolidated, I'm trying to keep that work in the database via ETLs in order to keep the work that OBIEE has to do down to a minimum.
-Joe

Similar Messages

  • Subtotal in single subject area

    HI Experts,
    i have dim table where i have 5 record like below
    Dim1
    dim2
    dim3
    dim4
    dim5
    for subtotal i am going to split as
    dim1 + dim2 as subtotal 1
    then
    dim3 dim4dim5 as subtoal 2
    now i have already used all records,further if i try to split like
    dim1+dim2+dim3 as subtotal 3 i am not getting last subtotal since i have already used ,this i can do using union,but is it possible to do in single subject area and not combined subject area

    Thanks for reply,
    ok think i have record like this
    dim1 100
    dim2 200
    dim3 300
    dim4 400
    dim5 500
    for subtotal i am going to split as
    dim1 + dim2 as subtotal 1
    then
    dim3 dim4dim5 as subtoal 2
    so my result will be like
    dim1 100
    dim2 200
    subtotal1 300**
    dim3 300
    dim4 400
    dim5 500
    subtoal2 1200 *
    now i need one more subtotal3 like dim1+ dim2+dim3..so my result will be like this
    dim1 100
    dim2 200
    subtotal 1 300**
    dim3 300
    dim4 400
    dim5 500
    subtoal2 1200 *
    subtotal3 600* (dim1+dim2+dim3)
    Note*i have used combined request here,so i cannot use new calculation i belive
    i can use one more combine and do this ,but is it possible to do without additional combine request

  • How to take a non metrics column from one fact to different subject area details level?

    I have a requirement in OBIEE ,
    I have two fact tables W_AP_INV_DIST_F and W_PURCH_COST_F. In my subject area I am using all facts from W_AP_INV_DIST_F table, But I need one more column as per client's requirement. I searched the column RELEASE_NUM found it in W_PURCH_COST_F. So I have to pull RELEASE_NUM into my subject area, which is having W_AP_INV_DIST_F and couple of dimensions.
    I have tried directly pull this column FROM W_PURCH_COST_F (physical layer), and dragged it into one dimension "Dim-AP_INVOICE_Details", here already a LTS "Fact_W_AP_INV_DIST_F" available. In Presentation layer I need to use "RELEASE_NUM" in  "Invoice Details" presentation table.
    I have doubt weather it will work or not, Will it give correct data at granular level ?
    Could you please suggest me is there any way to achieve it in OBIEE level ,without any difficulty?  Or else I have to go for ETL Changes?
    Regards,
    Sonu

    I have a requirement in OBIEE ,
    I have two fact tables W_AP_INV_DIST_F and W_PURCH_COST_F. In my subject area I am using all facts from W_AP_INV_DIST_F table, But I need one more column as per client's requirement. I searched the column RELEASE_NUM found it in W_PURCH_COST_F. So I have to pull RELEASE_NUM into my subject area, which is having W_AP_INV_DIST_F and couple of dimensions.
    I have tried directly pull this column FROM W_PURCH_COST_F (physical layer), and dragged it into one dimension "Dim-AP_INVOICE_Details", here already a LTS "Fact_W_AP_INV_DIST_F" available. In Presentation layer I need to use "RELEASE_NUM" in  "Invoice Details" presentation table.
    I have doubt weather it will work or not, Will it give correct data at granular level ?
    Could you please suggest me is there any way to achieve it in OBIEE level ,without any difficulty?  Or else I have to go for ETL Changes?
    Regards,
    Sonu

  • Implicit Fact key for 2 facts in one subject area

    Hi All,
    We have 2 Facts(F1,F2) which are connected to conformed dimensions (D1,D2,D3)
    and F1 is connected to another Dimension (D4) which does not have any connection with F2.
    Also D1,D2,D3 is conformed dimension to facts F3,F4,F5
    In this scenario how do we set implicit fact column when 2 Facts(F1,F2) involved..?
    Thanks in advance.
    LonaD

    Hi,
    In this scenario, column from which fact table can be set as implicit column. Please help we wanted it for an urgent development.
    D1----->F1------>D2<-------F2
    If we select the column from table D1 then the join should be D1.Column=F1.Column and if we select the column from D2 then the join should be D2.Column=F2.Column i.e., if anything other than the D1 dimension the join should be D*.Column = F2.Column. how do we achieve this plz help!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Thanks,
    LonaD

  • Joining two fact tables for subject area

    When I tried to use two simple fact tables joined by a dimension, I am getting the “ No fact table exists at the requested level of detail” error in the answer when I try to pull the columns from Fact 1 and Fact 2 tables. I have set the content in both the fact table to lowest granularity of dimension with CUST_ID, RAT_ID, ACT_ID keys. We have one to many relationships between dimension and both the fact tables. Any feedback is highly cherished.
    Fact1: keys are: CUST_ID, RAT_ID, ACT_ID, YEAR
    Fields are CUST_ID, RAT_ID, ACT_ID, YEAR , Rev1, Transaction Date
    Fact2: keys are: CUST_ID, RAT_ID, ACT_ID, YEAR
    Fields are CUST_ID, RAT_ID, ACT_ID, YEAR , Rev2, CreationDate
    Dimension keys are CUST_ID, RAT_ID, ACT_ID
    Thanks,
    uday

    Hi LC,
    We have to add two fact tables F1 AND F2 to an existing bmm. These fact tables have history tables F11 AND F22 and we have to use partition logic for this.How you did partition ? you should be using Fragmentation logic for that any how you will add the F11/F22 tables to F1 and F2 LTS , so when you join F1 & F2 to the common dimension then it should work for the calucluated measures but dont forgot to create hierarchies and specify the content levels for the fact tables
    Thanks,
    Saichand

  • Two Facts in One Subject Area

    Hi,
    In one of the reports I need to see columns, Dim A.Col1, Dim B.Col2, Fact C.Col3 and Fact D.Col4
    Dim A.Col1 and Dim B.Col2 are joined to Fact C.Col3 but
    Dim B is not joined to Fact D as a result I don't see any values in the Fact D.Col4
    Can you please tell me how I can overcome this problem?
    Thanks

    Dim A.Col1 and Dim B.Col2 are joined to Fact C.Col3 but
    Dim B is not joined to Fact D as a result I don't see any values in the Fact D.Col4Either you need to join the Dim B with Fact D or Dim A with Fact D.
    Cheers
    Nawneet

  • How add new column in analysis from two subject area

    which is the right way to add a new column to an existing combined analysis from two subject areas?
    if I add the new column first in my two combined queries, then I saw a new column in the results column panel, but this new column is empty and I can't edit its propreties (the button edit column doesn't work). I can't even save the modified analysis due to a "bad xml" errror.
    if I try to first add a new column from the results panel and then in my combined queries, obiee says that new columns are not of the same type.
    I suppose this is because the new column in results panel has no aggregation formula, unlike new columns in queries.
    But I don't know how to change the properties of the new field in the results panel, with no subject area available.
    I have to restart from a single subject area? possible?
    In this case, there is a way to save/copy filters ecc. from the old analysis?
    If anyone can help.
    Thanks
    Luc

    When you are using union clause in analysis or combining with other subject area you suppose to have same number of columns and their datatypes with other analysis.
    for datatype issues you can use cast in column expression in each analysis. If you want to add a column only from 1 analysis just add and in other analysis use dummy column with exp 0 or ''(for char) based on the datatype.
    These you have to deal with each analysis.
    If helps pls mark

  • Add columns in the existing Customer table in a Subject Area

    Hi All,
    Well I need to add two columns from Sales table(new table i created which has customer Id) and join it to the Customer Table which has the Customer Id and several columns. The Customer table was already in the RPD which has all the customer information. Now that i have this new requirement to add few columns from the Sales table to the Customer table in one Subject Area.
    What i have done so far is that I imported the sales table into the rpd, made a join in PHYSICAL LAYER on the customer ID of the Sales table to the Customer id of the Customer table and simply dragged the sales table to the Customer LTS in the BMM layer(NO MORE JOINS IN BMM)and dragged and dropped the same into the Presentation layer. The customer table is linked to one fact table in that subject area. So i thought that dragging the sales table columns in the customer table LTS will work because customer is linked to one fact in that subject area.
    Now, In the Answers when I dragged columns from customer & sales table I see only one record that is the first customer_id record from my Sales table but i know there are many common customer_ids between those two tables but its only picking the first customer id from the sales table.
    Any help will be appreciated..
    Normally if we need to add some columns to the existing tables in one subject area what is the best approach??

    Hi Balajee,
    SAPMM06E 0111 CUSTSCR1 SAPLXM06 0111 Subscreen: PO item
    for more information check with these links
    ADDING NEW FIELDS IN me21n
    ADDING NEW FIELDS IN me21n - (Screen exit / enhancment)
    hope this will useful to you.
    Regards!

  • How to limit data for a dimension in any subject area?

    Hi folks,
    I do have a little problem, maybe you can help me:
    I have a large subject area for all my countries and product i sell there.
    now i want to have special subject areas for certain countries.
    that for i ducplucated my large subject area, went to the identity manager and there I set special Rights für the users: I chose my fact measure and put a data filter for it on the dimension country.countryname = Germany.
    I hope you can fallow me until here. ;-)
    Now I can build a query in answers and it works, within this subject area I only get data for Germany.
    BUT: when I'm on the criteria tab and try to create a filter on my countryname (from the dimension) it shows me all the countries I have.
    I think for the end users this is a litte bit confusing.
    So how do I limit the dimension in this subject area to a particular value?
    I would be very happy for help, cause then I could finish my development for today ;-)
    Kind regards,
    Sven

    Try this; @BMM Fact source properties->Content tab->WHERE clause section add the dimension country.countryname = 'Germany'.
    Also set the implicit fact on the subject area.
    Let us know how it works
    Edited by: Srini VEERAVALLI on Apr 8, 2013 7:12 AM

  • Multiple Subject Areas

    Somewhat new so please forgive me if the question is simple (if it is, please point me in the right direction). I've looked through the documentation and this forum, but have not found what I'm looking for yet.
    I am trying to get a single worksheet to pull data from multiple subject areas (two or more fact tables). I would prefer to not join fact tables together, and so I have not created the joins between the folders (fact tables) because I thought the performance would generally be horrible. (example of functionality I'm looking for: I want to combine Sales and Inventory data on one worksheet).
    I have kind of tried complex folders, but I would prefer to have the tool generate the SQL if possible because it won't just be me creating reports, and if it's possible, I'd like to avoid coding the SQL myself every time I want to join subject areas.
    I also looked at Custom Folders, but my understanding is that they are used primarily to join 1 fact table with multiple dimensional tables, but not multiple fact tables (at least that was the example in the documentation).
    My current setup is a 2 tier environment, with just Disco Admin and Disco Desktop on top of 10g. We don't have AS yet so I can't test anything that way.
    I appreciate any comments in advance.
    Nate

    You should try both Complex folders as well as custom folders and see which gives you better performance. Discoverer SQL optimizations for example apply only on Complex folders and not on simple folders.
    If you define the joins between the two tables, you can still use items from them in your Discoverer report without having to create a complex folder on them.
    And finally, you can always create a view or materialized view and use that MV in your Discoverer query.
    thanks
    Abhinav
    Oracle Business Intelligence Product Management
    BI - http://www.oracle.com/bi
    BI - http://www.oracle.com/technology/bi
    Blog - http://blogs.oracle.com/
    BI Blog - http://oraclebi.blogspot.com/

  • Multiple Subject Area - OBIEE 11g

    Hi,
    I have to do cross-subject area operations in OBIEE 11g. Here is what I have found out:
    1. There is an option to use Union/Intersect operations which creates a Union query
    2. There is an option to use 'Add/Remove Subject Area' which can be used to combine Attributes/Facts across multiple Subject Areas.
    I am looking forward more details on second point above but unfortunately there isn't an official document by Oracle on it.
    As I understand, by using 'Add/Remove Subject Area', OBIEE does not create a UNION query but it combines the attributes as if they are used through same Subject Area. So, it is not a typical join as I dont see something like Subject Area 1.Key = Subject Area 2.Key in Query log which brings me to a question:
    Is it possible to use the option to combine attributes across Subject Area based off Multiple BMM in RPD? I think the answer is NO because I don't think there is a way for OBIEE to combine results sets from different BMM.
    Thoughts?

    I am afraid but I am not able to follow your suggestion. I will try to make it very simple:
    1. We create Subject Areas in RPD
    2. Each Subject Area will be based on BMM created in RPD. Now, you can have multiple Subject Areas which are again based on BMM itself.
    3. I can also create multiple BMM within RPD.
    Something like:
    BMM A, Subject Areas - 1A and 2A
    BMM B, Subject Areas - 1B and 2B
    From above, consider you have created two BMM's - A and B and within each BMM there are two Subject Areas. 1A and 2A in BMM A and 1B and 2B in BMM B.
    Now, when I logon to Answers, when I click on New->Analysis, I would see four Subject Areas - 1A, 2A, 1B and 2B. Suppose I select 1A. Now, when I try to use Add/Remove Subject areas option, I can only see 1B (because both of them are from same BMM - A). I won't see 2A and 2B.
    So, this brings me to conclusion that you cannot combine attributes from different BMM using 'Add/Remove Subject Areas'. You can however use UNION/INTERSECT to do the operation but Add/Remove Subject Areas is limited to be used when your Subject areas are connected in the same BMM.
    Is my understanding correct?

  • Historical Reporting With Multiple Subject Areas

    Hi All,
    I am working on to decide the best way to create repository. I do have a requirement from my client that they need to see both Current and Historical Reporting via OBIEE. I am keeping Type 2 SCD. My model consists of about 30 fact tables - each of them represents a business process/event.
    Following are my options:
    1) One Subejct Area to keep current/historical reporting. Here the joins would be based on PK/FK relationships with Effective Start and Effective End dates. There is a flag in all tables to find the most updated record. Users can use the flag to find the most updated record or use Effective Start and Effective End dates to go point in time.
    2) Create two Subject Areas - Current and Historical reporting. Current one will include the flag logic to get the most updated record in RPD
    3) Create multiple Subject Areas for each Fact table and use Combining Multiple Subject Area approach to join Subject Areas. Additionally, create one Subject Area for Historical Reporting (that will have all the tables in one SA)
    I am thinking of going ahead with option 3) This will have Subject Areas for all logical facts (for Current reporting) and one Subject Area for Historical reporting.
    Is this a standard design? Any inputs?

    You should try both Complex folders as well as custom folders and see which gives you better performance. Discoverer SQL optimizations for example apply only on Complex folders and not on simple folders.
    If you define the joins between the two tables, you can still use items from them in your Discoverer report without having to create a complex folder on them.
    And finally, you can always create a view or materialized view and use that MV in your Discoverer query.
    thanks
    Abhinav
    Oracle Business Intelligence Product Management
    BI - http://www.oracle.com/bi
    BI - http://www.oracle.com/technology/bi
    Blog - http://blogs.oracle.com/
    BI Blog - http://oraclebi.blogspot.com/

  • Dashboard Prompt to filter multiple Subject Areas (in a Combined Analysis)

    I have a Combined Analysis where I am combining multiple Subject Areas. I want to add this report to a dashboard to use a dashboard prompt to filter by the Year.
    The problem I have is because the 'Year' value in each subject area has a different Column Formula ("Close Date"."Calendar Year" and "- Custom Number/Integer (Custom Object 2)".INDEXED_NUM_0)) I'm unable to have a single 'Year' prompt filter both Column Formulas.
    I have it currently working by creating two dashboard prompts - one for each subject area - that each ask for the Year to filter by.
    Is there a way to have a single prompt for Year and somehow have that filter both subject area's 'Year' value?

    I have tried a bit with no luck.
    In the Dashboard Prompt on that 'Year' filter I set the Presentation Variable to 'FILTER_YEAR'.
    I then set the filter in the report to be Equal to a Presentation Variable with the Variable Expr set to 'FILTER_YEAR'.
    When I run the report and enter the filter year it doesn't bring back any data for that report.
    Anybody have experience using the Presentation Variables?
    Thanks

  • Need Help to develop a Funnel Graph Report using Multiple Subject Areas.

    Hi Everybody,
    Did any body developed Funnel based graph report in Answers..
    Scenario: I need to develop a report which is based on 4 Facts(4 Subject Areas) Report is sectioned with 4 block one blovk with one Fact Metrics like this four blocks.
    If any idea on such scenario it will be huge benefit for me.
    Thanks in advance.
    Thanks,
    Govardhana

    Yes, i can see datatype and number of columns is same in both queries.
    i have challanges to copy message but Error message seems to general. Error says (near to FROM) and I checked there are three FROM in query and all seems to be ok
    Query is something like as below
    select SA1.col1 saw_0,
    SA1.col2 saw_1,
    SA2.col1 saw_2,
    SA2.col2 saw_3,
    FROM
    (select col1 saw_0, col2 saw_1 from "subject area1") SA1
    FULL OUTER JOIN
    (select col1 saw_0, col2 saw_1 from "subject area2") SA2
    ON SA1.col1 = SA2.col1
    I can't see any issue in the query...please comment.

  • Report from multiple subject areas

    Hi,
    I need to create a report from multiple subject areas. I am not sure whether it;s possible in OBIEE answers.
    Is there any other tool from OBIEE suite where I can design it?
    Thanks

    Yes, i can see datatype and number of columns is same in both queries.
    i have challanges to copy message but Error message seems to general. Error says (near to FROM) and I checked there are three FROM in query and all seems to be ok
    Query is something like as below
    select SA1.col1 saw_0,
    SA1.col2 saw_1,
    SA2.col1 saw_2,
    SA2.col2 saw_3,
    FROM
    (select col1 saw_0, col2 saw_1 from "subject area1") SA1
    FULL OUTER JOIN
    (select col1 saw_0, col2 saw_1 from "subject area2") SA2
    ON SA1.col1 = SA2.col1
    I can't see any issue in the query...please comment.

Maybe you are looking for