OBIEE Multiple Facts

Hello All,
I need help in designing star schema based on 2 facts. We have Something like this
Dim1 [1-n] Fact1
Dim2 [1-n] Fact1
Dim3[1-n] Fact2
Fact1[1-n] Fact2
If i create one single Logical table with 3 sources (F1 and 2 dimensions D1 and D2) and join to F2 would this design performs correct. Is there any other way to deal with this? Please advice.

Hi,
First, I would like to ask you about the relation between two facts. Is any one fact an aggregated fact? Now, that you have two facts you, I think you can think of some approaches like
1. Bringing in the two facts as is from physical layer with the dimension joins. Now, any report with columns from both the facts with generate two queries to each fact and do a full outer stitch with the result set.
2. Combine, both the facts into one fact in BMM and make it a single star. Create the dimension hierarchies and set the logical levels accordingly. I was just thinking this might be a better approach in your case because you have two facts (joined with each other). So, for one of the fact you can set the logical content to an aggregated level.
Hope this helps.
Thank you,
Dhar

Similar Messages

  • OBIEE Multiple Facts With Level Based Measures

    Gurus,
    We have a requirement which we think complex to achieve at OBIEE level. Please help if anyone knows a solid solution for this problem.
    Orders, Shipments and Revenue are the fact tables and we have common dimensions like customer, product, time and others. For each fact table there is a corresponding dimension to store the non metric columns like Order Number and Shipment Number.
    Now the requirement from the customer is
    1. Need to see the Order Information completely even though he is looking at Shipment or Revenue data. Ideally, it is not mandatory for each order to have Shipment or Revenue. This is applicable for Shipment too, if the customer is looking at revenue and shipment data he needs see all the shipments including those that doesn't have any revenue.
    2. Non Confirming dimensions should not throw errors. This could be possible by using Level based measures.
    Please help with your thoughts here. Thanks in advance.
    Siva

    Hi,
    Create left outer join from Order Number to Revenue Fact and from Shipment Number to Revenue Fact.
    Now when you create a report you will get all Orders and Shipments.
    It will impact the performance of the reports though.
    or you can try creating a union report as
    Customer Order Number Shipment Number Revenue Quantity >>>>>>>> This will give you orders which have Revenue
    Union
    Customer Order Number Shipment Number 0 >>>>>>>> This will give all orders and shipments
    Hope this helps.
    Thanks

  • OBIEE Multiple Fact Tables

    I have following situation.
    DIM A
    DIM B
    FACT A
    FACT B
    FACT A will have a record of columns which matches to the key column from FACT B.
    I created a physical joins between      DIM A -> FACT B
                                                                DIM B -> FACT B
                                                                FACT A -> FACT B
    I used DIM A, DIM B and FACT B in my logical tables and dragged required columns from FACT A to Logical source of FACT B.
    I am getting cartesian sum for the columns FACT A.  How can I restrict not to get the cartesian sum from FACT A.

    Do it like this if FactA share Dims A and B:
    DIM A --> FACT B
    DIM B --> FACT B
    DIM A --> FACT A
    DIM B --> FACT A

  • OBIEE report from multiple facts at different levels

    Currently we need to develop a report with columns from 3 different facts surrounded with conformed and non conformed dimensions at different levels.
    After setting the hierarchial levels and putting the facts into single logical table with different sources OBIEE is generating 2 different queries and does a full outer join.
    I would like to know how we can do a left outer join instead of full outer join between the 2 queries based on a common column?
    Thanks in advance.

    Hi Vinod,
    The scenario provided in the link above doesnt match to my issue.
    We need to develop a report from multiple fact tables at different levels with conformed & non conformed dimension columns.
    I have 7 dimensions D1, D2, D3, D4, D5, D6 and D7 & two fact F1 and F2 tables.
    F1 is tied to dimensions D1,D2,D3,D4,d5
    F2 is tied to dimensions D3,D4,D5, D6 and D7.
    In my report I have columns from D1, D2, D3, D4, D5, D6, D7, F1 and F2.
    So OBIEE generates 2 queries with columns from D1,D2,D3,D4,d5 & F1 measure and another query with D3,D4,D5, D6, D7 and F2 measure.
    and then does a cross fact join out of box between 2 queries.
    But I need to do a left outer join between the 2 queries on a common column instead of cross fact join. I would like to know how we can achive this.
    Thanks.

  • 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

  • Multiple Facts at the same report

    Hello gurus,
    How can I use multiple facts at the same report using OBIEE 10g?
    I followed the instructions of this website but it's not working...
    http://obibb.wordpress.com/2010/05/31/multiple-fact-reporting-on-non-conforming-dimensions/
    Physical Model:
    ASSET (DIMENSION)  ------------ ASSET (FACT) ----------------- PERSON (DIMENSION) ----------------- CAMPAIGN (FACT) ---------------- CAMPAIGN (DIMENSION)
    Business Model:
    ASSET (DIM) ---------------- FACT ------------------- CAMPAIGN (DIM)
                               (ASSET - CAMPAIGN)
                                            |
                                            |
                                            |
                                            |
                                  PERSON (DIM)
    Asset and Campaign: Non conformed Dimensions;
    Person: Conformed Dimension;
    Note that I want to use at my report some asset and campaign informations to answer questions like:
    Wich assets were created after the campaign launch? or List of asset by person and campaigns.
    Is it possible to do? I'm trying to change all kinds of column levels (Total/Detail) and it keeps sending an error like:
    "Internal error: No matching table for expr Fact_W_CAMP_HIST_F_Teste.SOURCE_WID, File server/Query/Optimizer/SmartScheduler/PhysicalRequestGenerator/Src/SQOSPSimplifyJoin.cpp, line 118."
    Thank you in advance.
    Ramon Cortez

    Hello,
    Thank you for your help.
    Now I'm getting this error: "None of the fact tables are compatible with the query request Fact.SOURCE_WID". ---> Fact.CAMPAIGN_WID
    I'm actually not sure about the behaviour of the content tab. As I understood, I must use Total for non-conformed dimensions and detail for conformed, right?
    In this case I have:
    ASSET (DIMENSION)  ------------ ASSET (FACT) ----------------- PERSON (DIMENSION) ----------------- CAMPAIGN (FACT) ---------------- CAMPAIGN (DIMENSION)
    So, at Asset (FACT) content tab I have to set detail for Asset (DIM) and Person (DIM) and total for Campaign (DIM).
    At Campaign (FACT) content tab I have to set detail for Campaign (DIM) and Person (DIM) and total for Asset (DIM).
    But at the columns, if I set detail for Campaign(DIM) as total, all the other columns will show only Campaign at content tab. Why is it happening?
    My requeriment measure is like:
    SUM(CASE WHEN Asset.Date1 BETWEEN Campaign.DateA and Campaign.DateB AND Asset.Product = Campaign.Product and Asset.Status  = 'Active' THEN 1 ELSE 0 END)
    How can I do this using person as conformed dimension?
    Thanks,
    Ramon Cortez

  • Multiple facts with shared/non shared dimensions

    Hello All,
    I have a scenario where we are using multiple facts in OBIEE. Fact1(Inventory Onhand) is joined to all shared dimensions, and Fact2( Forecasting Values) is joined to few shared dimesnions so the joins are like:
    Fact1 with Dim1, Dim2, Dim3, Dim4, Dim5, Dim6..
    Fact2 with Dim1,Dim3, Dim5
    I have given the physical joins in the physical layer, later in the logical layer I pulled the fact2 in to to the fact1(multiple LTS) and then set the aggregattion levels for the non conformed dimensions. This was working fine for me but the customer was not happy with this. He doesnt want to have different levels of data in to a single fact.
    What are the allternate possible solutions to implement this in the busines layer?
    Any ideas/inputs are highly appreciated.
    - Abhi

    Hi,
    I have done the same as explained above. But here the issue is we are getting duplicate data.
    For Ex: if i have one common dimmension attribute and two non confirmed dimension attributes with a measure. For non confirmed dimension have different value and for all these values the common dimension attribute is same. Then the common attribute will repeat for all non confirmed dimensions.so, here automatically the Corresponding measures also repeating.
    Common Attr non-Confirm Attr1 non-Cnfirm Attr2 measure
    123 abc xyz 1000
    123 bac yzx 1000
    123 pqr mno 1000
    If you observe the above exapmple the confirm dime attr is same for both non confirm dime attrs, so the measure values also repeating here. If i see the data base i have measure data only for ABC record. For Remaining two records it is 0, but here the value 1000 is showing for remaining two records as well.
    Please let me know if any one face this issue earlier.
    Regards,
    Aari

  • Avoiding WITH clause when querying Multiple Facts

    OBIEE 10.1.3.4
    We have a report which requires that we query multiple facts, which share the same Item dimension.
    When we run the report, the BI Server generates a query using the WITH clause -
    WITH SAWITH0 ( SELECT.............)
    SAWITH1( SELECT .............)
    SELECT .........
    FROM SAWITH0 FULL OUTER JOIN SAWITH1
    The above query errors out with ORA-918 Column Ambiguously Defined. I cannot find any issue in the query that has been generated.
    The query does fail from SQL Plus with the same ORA error. But each of the select statements executed properly and the complete statement executes when I replace the FULL OUTER JOIN with INNER JOIN.
    I can only assume that this is a bug in Oracle Database.
    Now at times I have seen OBIEE generate separate queries when querying multiple facts and then combine the data together in memory.
    Is there a way that I can force OBIEE to avoid using WITH clause and run separate SELECT statements ? How does the BI Server choose between using a WITH clause or running separate queries ?
    Any help would be appreciated.

    I do not have a multi-dimensional data source.
    My connection pool seems fine to me, I am not sure I need to do anything with the connection pool.
    Hi Turribeach,
    I understand that BI Server uses WITH clause for multiple facts. But I have also seen it issue separate queries against the database.
    So what I am looking to understand under what situation does it issue separate queries i.e. No WITH clause ?
    Thanks

  • Join multiple facts and dimensions for reporting issue

    Hi,
    I have a report requirements and need to use multiple fact tables and unconformed dimensions as described below
    Fact table: F1,F2,F3
    Dimensions tables: D1.....D9
    F1:(joined to) D1,D2,D3,D4
    F2::(joined to)D1,D2,D5,D6
    F3::(joined to)D1,D2,D7,D8
    D7::(joined to)D9,D8 (dimension D7 joined to two other dimensions D9 and D8
    I'm trying to use columns from almost all the fact and dimension tables but getting "Unable to navigate requested expression. Please fix the metadata consistency warnings."
    Repository is consistent and no errors and warnings.
    How can I configure the repository to develop reports using all fact tables and dimensions?
    Appreciate for your help.
    Thanks
    Jay.

    You can find the same issue in
    Logic of queries in OBIEE
    or
    Connection between 2 fact tables
    Follow the link
    http://there-n-back-again.blogspot.com/2009/04/oracle-analytics-how-to-report-over-non.html
    Put 'All' or 'Total' at levels for dim_xxx for those facts you need in your report from facta and factb
    Regards
    Nicolae

  • How can build BMM with multiple fact tables

    HI Gurus,
    I have 4 fact tables and 18 Dimension table. Dimension tables have links with multiple fact tables. i have created physical joins in Physical layer. Now my questions is how can i create Business Model with multiple fact tables.
    i mean should i create 4 fact tables as logical tables and logical keys ? Then i have to move all dimension tables in to Business model?
    i am new to OBIEE. i gone through tutorial it is showing with one fact and multi dimension table. Should i do follow same style with multi fact tables.
    Please help me. Thanks in advance for your support.

    Thanks for your response.
    I had drag all tables from the phisical layer to Business Model. then i have deleted all links and recreated complex joins with default values.
    now i have some revenue amont columns in fact tables.
    my question is should i should i create aggregation ( like Sum..) for those columns? is it must ?
    please let me know thank you very much

  • Join multiple fact tables and dimensions and use all tables in report issue

    Hi,
    I have a report requirements and need to use multiple fact tables and unconformed dimensions as described below
    Fact table: F1,F2,F3
    Dimensions tables: D1.....D9
    F1:(joined to) D1,D2,D3,D4
    F2::(joined to)D1,D2,D5,D6
    F3::(joined to)D1,D2,D7,D8
    D7::(joined to)D9,D8 (dimension D7 joined to two other dimensions D9 and D8
    I'm trying to use columns from almost all the fact and dimension tables but getting "Unable to navigate requested expression. Please fix the metadata consistency warnings."
    Repository is consistent and no errors and warnings.
    How can I configure the repository to develop reports using all fact tables and dimensions?
    Appreciate for your help.
    Thanks
    Jay.
    Edited by: Jay on Feb 9, 2012 4:14 PM

    So you want me to convert snowflake schema to star. does it solve my problem? individual star queries are working find but when I query multiple stars together getting inconsistency errors. I removed content tables dim level totals for unconformed dimensions in logical fact LTS and set level for measures at total level for unconformed dimensions. it is still in progress and need to test.
    Thanks
    Jay.

  • Multiple fact tables using one measure

    Hi Experts,
    Multiple fact tables using single measure .For example Measure name is amount . This measure is using 5 fact tables. By using this info , i have to create bmm layer document . In bmm layer documents columns are like logical table name ,column name, logical sourc name . could you please help me out to draft the document ?

    Hi ,
    My question is five fact tables are there, day level two different fact tables , period and week fact tables are there .
    Above all tables are using single measure . how to design these fact tables with measure in bmm layer ?
    Please kindly give reply .
    Thanks in advance.

  • Multiple facts with non-conforming dimensions

    Hi, I have a question re: using multiple facts in a report, where one of the facts has a non-conforming dimension.
    I have two metrics: "PAYROLL" and "UNRECONCILED DIFFS". The payroll metric is at the employee level, but the "UNRECONCILED DIFFS" is not. Here's what I've done so far:
    1. Set up a single logical fact table in the business layer
    2. Created 2 LTSs. One has "employee" level, one has "all employees" (i.e. the grand total level)
    3. Created metrics for PAYROLL and UNRECONCILED DIFFS, each pointed to the proper LTS
    4. Set the "employee" hierarchy level for "UNRECONCILED DIFFS" to the "all employees" level
    This is working...kind of. If I have three employees with a payroll amount of $1000, and there is a $500 unreconciled diff, the report shows up like:
    Employee Payroll UnrecDiff
    Emp1 $1000 $500
    Emp2 $1000 $500
    Emp3 $1000 $500
    Total          $3000    $500
    Here's what I'm wondering...instead of having the unreconciled difference repeated for each employee...is there any way it can just be $0 or (even better) NULL, but then still show up as $500 in the total line?
    Thanks!
    Scott

    Hi
    The problem you describe is similar to mine (I wrote several threads ago).
    That is, if there is a non-conformed dimension in a report then the column from the fact table which is not connected with those non-conformed dimensions containes zeros or blanks.
    Was this problem solved? I didn't quite catch one of previuos messages... If you can please repeat it more detailed.
    What I tried to do is to set Total level in the Content tab (LTS properties). In this example - I could set Total level to JOBS in the plan type dimension. But it didn't help.
    So if you know what to do then please describe it here...

  • Multiple Fact sheets issue  for Account

    Hi All,
    Need help to trigger the multiple fact sheets. SAP has given one SAP note "2104590 - Use of multiple PDF factsheets in account overview page".
    I have implemented that note  and entered Custom Class and Z smartform in the configuration .
    SM30->CRMV_PRN_CONTROL
    SM34->CRMVC_BUIL_PRT
    I am able to see the  buttons in account overview , but those are not triggering .
    Could you please help  me  in this issue.
    regards,rama

    You can use different AppleIDs for different purposes on one device. It is a matter of setting the desired ID for the fucntion (iCloud vs. itunes and Apps stores, for example), in the settings app. My wife has that configuration on her iPhone. She has her own AppleID set up for iCloud (for synching with Contacts and handling back ups, for example), but uses mine for itunes and app store access (I already have a number of apps since I have been using iOS devices foer a while, plus I have iTunes Match).
    The IDs are NOT tied to each other, however. There is no way to do that.

  • Can a measure map to multiple fact tables

    Hi Experts,
    Can A Measure in an Universe map to multiple fact tables? For example, we have sales detail table by day and store and product, and have sales summary table by day and region and (product) department. We like to create a measure to map to both detail table and summary table. When I run query includes store and product,  the query will automatically use the sales detail table; and query can automatically choose the summary table when it only includes region and department. Our database table could be in  Teradata and Oracle. Can we achieve it and how? If a measure can't achieve this (dimension awareness), what the other option we can have and how to do it?
    Thank you,
    Richard

    Hi Sion,
    After I make the tables incompatible with the dimension objects on different levels, the measure can point to the right table if my query only include Store and Product or only include Region and Department. But in some scenario, the business could ask to include both Store and Region or Item and Department in same query. The current approach doesn't work on this further request. In our database, we have store table including Region with other higher level organization information, Product table including Department with other higher level product information, and we also have separated Region table and Department table. Could we make the objects more flexible u2013 query will be against aggregation sales table if dimension objects in query are only on higher level and will against detail sales table if some of dimension objects are on high level and some on low level? 
    Many thanks,
    Richard

Maybe you are looking for

  • No help with broken screen

    I have read many articles on the internet about how wonderful and sypathetic Apple are when it comes to broken devices, and how people have had their devices replaced free of charge out of good will. Well, my son is nearly 8 years old and has owned a

  • The mobile emulator doesn't work

    I've downloaded the emulator to my machine and unzipped the folder to my desktop. When I click on fennec.exe the program starts up successfully. However, when I type a URL into the browser and browse I get a blank screen. Looking at the comand window

  • ICloud access

    Just upgraded to IOS 8 and cannot connect to iCloud to complete setup. Is the system overloaded? Trying to connect with 3 iPads and 2 iPhones, all have the same "error connecting" message.

  • Oracle Client for windows.

    Hi, I just downloaded the Oracle 10g client for Windows.I cant figure out whats the next step.I was expecting to see a .exe file and kind of an installation wizard which would guide me through the process.In the instant client that I downloaded,I see

  • Need to Apply validation to Address Line1 in Self Service HR

    Hi all, Currently user is able to enter any no. of characters in Address Line1 through Self Service HR (ie. web). We would like to resctrict user to enter not more than 20 Chars in Address Line1. Could anyone please let me know whats the best method